]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
enable UnusedImports rule; fix violations
authorGlenn Adams <gadams@apache.org>
Fri, 2 Mar 2012 22:19:46 +0000 (22:19 +0000)
committerGlenn Adams <gadams@apache.org>
Fri, 2 Mar 2012 22:19:46 +0000 (22:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296496 13f79535-47bb-0310-9956-ffa450edef68

67 files changed:
checkstyle-5.5.xml
src/codegen/unicode/java/org/apache/fop/complexscripts/bidi/GenerateBidiClass.java
src/java/org/apache/fop/afp/AFPGraphics2D.java
src/java/org/apache/fop/afp/modca/AbstractAFPObject.java
src/java/org/apache/fop/afp/modca/ImageObject.java
src/java/org/apache/fop/afp/modca/PresentationTextData.java
src/java/org/apache/fop/afp/ptoca/PtocaProducer.java
src/java/org/apache/fop/afp/util/DefaultFOPResourceAccessor.java
src/java/org/apache/fop/apps/FOUserAgent.java
src/java/org/apache/fop/area/AreaTreeObject.java
src/java/org/apache/fop/area/MainReference.java
src/java/org/apache/fop/area/inline/FilledArea.java
src/java/org/apache/fop/complexscripts/bidi/InlineRun.java
src/java/org/apache/fop/complexscripts/fonts/GlyphClassTable.java
src/java/org/apache/fop/complexscripts/fonts/GlyphDefinitionTable.java
src/java/org/apache/fop/complexscripts/fonts/GlyphPositioningSubtable.java
src/java/org/apache/fop/complexscripts/fonts/GlyphSubstitutionTable.java
src/java/org/apache/fop/complexscripts/fonts/GlyphTable.java
src/java/org/apache/fop/complexscripts/scripts/DevanagariScriptProcessor.java
src/java/org/apache/fop/complexscripts/scripts/GujaratiScriptProcessor.java
src/java/org/apache/fop/complexscripts/scripts/GurmukhiScriptProcessor.java
src/java/org/apache/fop/complexscripts/util/GlyphSequence.java
src/java/org/apache/fop/fo/FOTreeBuilder.java
src/java/org/apache/fop/fo/flow/BidiOverride.java
src/java/org/apache/fop/fo/flow/InlineContainer.java
src/java/org/apache/fop/fo/pagination/RegionBody.java
src/java/org/apache/fop/fonts/FontReader.java
src/java/org/apache/fop/fonts/apps/TTFReader.java
src/java/org/apache/fop/fonts/truetype/TTFSubSetFile.java
src/java/org/apache/fop/layoutmgr/BalancingColumnBreakingAlgorithm.java
src/java/org/apache/fop/layoutmgr/BreakElement.java
src/java/org/apache/fop/layoutmgr/KnuthPenalty.java
src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
src/java/org/apache/fop/layoutmgr/inline/AbstractPageNumberCitationLayoutManager.java
src/java/org/apache/fop/layoutmgr/list/ListItemContentLayoutManager.java
src/java/org/apache/fop/layoutmgr/table/RowPainter.java
src/java/org/apache/fop/pdf/PDFColor.java
src/java/org/apache/fop/pdf/PDFStructElem.java
src/java/org/apache/fop/render/AbstractRenderer.java
src/java/org/apache/fop/render/ImageHandler.java
src/java/org/apache/fop/render/afp/AFPDocumentHandler.java
src/java/org/apache/fop/render/afp/extensions/AFPIncludeFormMap.java
src/java/org/apache/fop/render/afp/extensions/AFPIncludeFormMapElement.java
src/java/org/apache/fop/render/afp/extensions/AFPPageOverlay.java
src/java/org/apache/fop/render/bitmap/AbstractBitmapDocumentHandler.java
src/java/org/apache/fop/render/bitmap/BitmapRendererConfigurator.java
src/java/org/apache/fop/render/bitmap/PNGDocumentHandler.java
src/java/org/apache/fop/render/bitmap/TIFFDocumentHandler.java
src/java/org/apache/fop/render/intermediate/AbstractIFDocumentHandler.java
src/java/org/apache/fop/render/intermediate/IFRenderer.java
src/java/org/apache/fop/render/intermediate/IFUtil.java
src/java/org/apache/fop/render/java2d/Base14FontCollection.java
src/java/org/apache/fop/render/java2d/CustomFontMetricsMapper.java
src/java/org/apache/fop/render/java2d/InstalledFontCollection.java
src/java/org/apache/fop/render/java2d/Java2DPainter.java
src/java/org/apache/fop/render/java2d/Java2DUtil.java
src/java/org/apache/fop/render/java2d/SystemFontMetricsMapper.java
src/java/org/apache/fop/render/pcl/PCLDocumentHandler.java
src/java/org/apache/fop/render/pcl/PCLPainter.java
src/java/org/apache/fop/render/pcl/PCLRendererConfigurator.java
src/java/org/apache/fop/render/ps/PSDocumentHandler.java
src/java/org/apache/fop/svg/PDFAElementBridge.java
src/java/org/apache/fop/traits/MinOptMax.java
src/java/org/apache/fop/traits/TraitEnum.java
src/java/org/apache/fop/util/ColorExt.java
src/sandbox/org/apache/fop/render/svg/SVGDocumentHandler.java
src/sandbox/org/apache/fop/render/svg/SVGPrintDocumentHandler.java

index 0e361ba8b23c73ea4ddc1468d0c5891ac4bdae21..fd934eff3515c42ba3fa454c9fce4c98ea052aa4 100644 (file)
     <!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... -->
 
     <!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... -->
-    <!-- <module name="UnusedImports"/> produces 80 new errors -->
+    <module name="UnusedImports"/>
     <!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... -->
 
     <!-- ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... -->
index 6b1222011ca305b2087ae09c107959dc45508c9d..c38b39c68d98a4eea2240f563010e2654a17f6f8 100644 (file)
@@ -20,7 +20,6 @@
 package org.apache.fop.complexscripts.bidi;
 
 import java.io.BufferedReader;
-import java.io.FileReader;
 import java.io.FileWriter;
 import java.io.InputStreamReader;
 import java.io.PrintWriter;
index d0f1b41b0101bcb973e414b4dd46904e9d6b3ba7..41be7916010338a7bdc88eaae80da54c4a2ccab6 100644 (file)
@@ -26,7 +26,6 @@ import java.awt.Dimension;
 import java.awt.Font;
 import java.awt.FontMetrics;
 import java.awt.Graphics;
-import java.awt.Graphics2D;
 import java.awt.GraphicsConfiguration;
 import java.awt.Image;
 import java.awt.Paint;
index 1dd14b1249b01a4a24f8b5edf557fec23281db2d..2c612092edec5922834c580431dbe255643b5fac 100644 (file)
@@ -20,7 +20,6 @@
 package org.apache.fop.afp.modca;
 
 import java.io.IOException;
-import java.io.InputStream;
 import java.io.OutputStream;
 import java.util.Collection;
 import java.util.Iterator;
index 2f075ce33b150f66eb456b6b06e921d5efc10f1f..c6cfa38084620c930420bd8ce1ad05d497a4351f 100644 (file)
@@ -29,7 +29,6 @@ import org.apache.xmlgraphics.util.MimeConstants;
 import org.apache.fop.afp.AFPDataObjectInfo;
 import org.apache.fop.afp.AFPImageObjectInfo;
 import org.apache.fop.afp.Factory;
-import org.apache.fop.afp.ioca.IDEStructureParameter;
 import org.apache.fop.afp.ioca.ImageSegment;
 
 /**
index 2b56caf1a53988e23acc9da8e4ffd4e67746a258..9b1c2eeda50f71db8ebe6d57fe4a1344fd819b6d 100644 (file)
@@ -24,7 +24,6 @@ import java.io.OutputStream;
 
 import org.apache.commons.io.output.ByteArrayOutputStream;
 
-import org.apache.fop.afp.ptoca.PtocaBuilder;
 import org.apache.fop.afp.ptoca.PtocaConstants;
 import org.apache.fop.afp.util.BinaryUtils;
 
index 504c496582e8fa3b4c53f461e1170e67b95c17fc..9b6d97deca54f2c125ebd6d002e3aaa8e15eff73 100644 (file)
@@ -21,8 +21,6 @@ package org.apache.fop.afp.ptoca;
 
 import java.io.IOException;
 
-import org.apache.fop.afp.modca.PresentationTextObject;
-
 /**
  * Producer interface that is passed to a {@link PresentationTextObject} to produce PTOCA control
  * sequences using a {@link PtocaBuilder}.
index 053db01afb08a0445842cb56f125a8ec0d188c33..f379546e2e94a57dc6c2650450170c182e9d07f1 100644 (file)
@@ -31,8 +31,6 @@ import javax.xml.transform.stream.StreamSource;
 import org.apache.commons.io.IOUtils;
 
 import org.apache.fop.apps.FOUserAgent;
-import org.apache.fop.apps.FopFactory;
-import org.apache.fop.fonts.FontManager;
 
 /**
  * Default implementation of the {@link ResourceAccessor} interface for use inside FOP.
index c13a624cf96685545d45b800e6eac5944f0b35cf..665c1abf812544577ca6a19b84052b58a4111771 100644 (file)
@@ -48,7 +48,6 @@ import org.apache.fop.events.EventListener;
 import org.apache.fop.events.FOPEventListenerProxy;
 import org.apache.fop.events.LoggingEventListener;
 import org.apache.fop.fo.FOEventHandler;
-import org.apache.fop.fonts.FontManager;
 import org.apache.fop.render.Renderer;
 import org.apache.fop.render.RendererFactory;
 import org.apache.fop.render.XMLHandlerRegistry;
index dbbfc5744ceba1372f43c55c12bd4baa1d4ee53c..ebd88b887ac84bf995923adc3032c279e6ec1c5f 100644 (file)
@@ -20,7 +20,6 @@
 package org.apache.fop.area;
 
 import java.util.Collections;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 
index 44f4cc8c8d76e64593e15f7388424711bfc73502..154e9523cc096221a023ec2ea71d428e156b0275 100644 (file)
@@ -22,7 +22,6 @@ package org.apache.fop.area;
 import org.apache.fop.traits.WritingModeTraitsGetter;
 
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.List;
 
 /**
index dfb3af58bdd85765a163c5060f8962332017a3a1..786b0265d7d1a18ba83533711b3e115b378ad4af 100644 (file)
@@ -20,9 +20,7 @@
 package org.apache.fop.area.inline;
 
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.List;
-import java.util.ListIterator;
 
 /**
  * Filled area.
index 6ea62494a6e8b6fb44ce6c8cae57e8f9bfa891a7..7897770f8229012b43a094732760f7c8311fa10d 100644 (file)
@@ -31,10 +31,8 @@ import org.apache.fop.area.inline.InlineViewport;
 import org.apache.fop.area.inline.Leader;
 import org.apache.fop.area.inline.Space;
 import org.apache.fop.area.inline.SpaceArea;
-import org.apache.fop.area.inline.TextArea;
 import org.apache.fop.area.inline.UnresolvedPageNumber;
 import org.apache.fop.area.inline.WordArea;
-import org.apache.fop.traits.Direction;
 import org.apache.fop.util.CharUtilities;
 
 // CSOFF: EmptyForIteratorPadCheck
index 60ba6f86440d126659bc4653b2478a18e6f78f63..02498af259cdc7a10dd95ecb7ca2003946dc943b 100644 (file)
@@ -19,7 +19,6 @@
 
 package org.apache.fop.complexscripts.fonts;
 
-import java.util.Arrays;
 import java.util.List;
 import java.util.Iterator;
 
index d5cd046153336fcb8531abcd40535668d74c7dd7..62a502eb0383c10ef74f22efbdb500f08638a51d 100644 (file)
 
 package org.apache.fop.complexscripts.fonts;
 
-import java.nio.CharBuffer;
-
-import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;
-import java.util.Map;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
index 4325a3547dd4a77d0cfaeeb02ad5518645c993e7..cb87faff46c2c3830f9c3815e4dcf1f7164c4a03 100644 (file)
@@ -19,8 +19,6 @@
 
 package org.apache.fop.complexscripts.fonts;
 
-import java.util.List;
-
 import org.apache.fop.complexscripts.util.GlyphSequence;
 import org.apache.fop.complexscripts.util.ScriptContextTester;
 
index b6db2fb476fd105cffd8796636ac891f45beb9d9..e17c8012c44fd37a30ef87647f7d16fda9853870 100644 (file)
@@ -19,8 +19,6 @@
 
 package org.apache.fop.complexscripts.fonts;
 
-import java.nio.CharBuffer;
-
 import java.util.ArrayList;
 import java.util.Iterator;
 import java.util.List;
index 427973359882118f7d733d393c6c6ade611db9e0..1667e26f1a1e1d187b7eb88b82f191d1d4815220 100644 (file)
@@ -21,7 +21,6 @@ package org.apache.fop.complexscripts.fonts;
 
 import java.util.Arrays;
 import java.util.ArrayList;
-import java.util.Collection;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.LinkedList;
index 58bfae734b32fe401268fe2b677b461502a76a93..624c5b153987e3fbaed4662dec12d8c791d418c1 100644 (file)
@@ -23,7 +23,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
 import org.apache.fop.complexscripts.util.GlyphSequence;
-import org.apache.fop.complexscripts.util.ScriptContextTester;
 
 // CSOFF: AvoidNestedBlocksCheck
 // CSOFF: NoWhitespaceAfterCheck
index 7d1af5366598eed65885bd225b5357e3e8a36b8a..fd68d4b7ca57add9aa5be2bfcf9d0a099e54d424 100644 (file)
@@ -23,7 +23,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
 import org.apache.fop.complexscripts.util.GlyphSequence;
-import org.apache.fop.complexscripts.util.ScriptContextTester;
 
 // CSOFF: AvoidNestedBlocksCheck
 // CSOFF: NoWhitespaceAfterCheck
index f5be626a02970b361ba7dd9c90bede9cab540f30..efe8791b912f22b326e840cdcb21b484876f74cf 100644 (file)
@@ -24,7 +24,6 @@ import org.apache.commons.logging.LogFactory;
 
 import org.apache.fop.complexscripts.fonts.GlyphDefinitionTable;
 import org.apache.fop.complexscripts.util.GlyphSequence;
-import org.apache.fop.complexscripts.util.ScriptContextTester;
 
 // CSOFF: AvoidNestedBlocksCheck
 // CSOFF: NoWhitespaceAfterCheck
index e4316d596f46de3155331f3995e8e3d52efa8ca6..47b158491f6ed3badc19bfdf6126fba80fbe5db3 100644 (file)
@@ -26,8 +26,6 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.fop.util.CharUtilities;
-
 // CSOFF: InnerAssignmentCheck
 // CSOFF: LineLengthCheck
 // CSOFF: WhitespaceAfterCheck
index 938efb8f970c4f1535590d654c980d58d11052f7..e312a8038d71661c1168eb1585507aa5a78de6d4 100644 (file)
@@ -37,7 +37,6 @@ import org.apache.fop.accessibility.fo.FO2StructureTreeConverter;
 import org.apache.fop.apps.FOPException;
 import org.apache.fop.apps.FOUserAgent;
 import org.apache.fop.apps.FormattingResults;
-import org.apache.fop.area.AreaTreeHandler;
 import org.apache.fop.fo.ElementMapping.Maker;
 import org.apache.fop.fo.extensions.ExtensionElementMapping;
 import org.apache.fop.fo.pagination.Root;
index d38df90c7516873d4503c9026fe85326aeeea098..0c14688b7945c7e4ca06ca6fcb9c8f52299e80df 100644 (file)
@@ -22,18 +22,12 @@ package org.apache.fop.fo.flow;
 import java.util.Iterator;
 import java.util.Stack;
 
-import org.xml.sax.Locator;
-
 import org.apache.fop.apps.FOPException;
 import org.apache.fop.complexscripts.bidi.DelimitedTextRange;
-import org.apache.fop.datatypes.Length;
 import org.apache.fop.fo.Constants;
 import org.apache.fop.fo.FONode;
-import org.apache.fop.fo.FObjMixed;
 import org.apache.fop.fo.PropertyList;
-import org.apache.fop.fo.ValidationException;
 import org.apache.fop.fo.properties.Property;
-import org.apache.fop.fo.properties.SpaceProperty;
 import org.apache.fop.util.CharUtilities;
 
 /**
index a52801c3fce6b47c77dd33dbe8597483227a617b..b79d66bb094388324fa5cb033c231a74bf1ae6de 100644 (file)
@@ -36,7 +36,6 @@ import org.apache.fop.fo.properties.SpaceProperty;
 import org.apache.fop.traits.Direction;
 import org.apache.fop.traits.WritingMode;
 import org.apache.fop.traits.WritingModeTraits;
-import org.apache.fop.traits.WritingModeTraitsGetter;
 
 /**
  * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_inline-container">
index 9eb38c2604a34022110c5ae905830795d418eb5b..1fa260ff5caa3213413615059feb5deed843a393 100644 (file)
@@ -32,7 +32,6 @@ import org.apache.fop.fo.Constants;
 import org.apache.fop.fo.FONode;
 import org.apache.fop.fo.PropertyList;
 import org.apache.fop.fo.properties.CommonMarginBlock;
-import org.apache.fop.traits.WritingMode;
 
 /**
  * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_region-body">
index 0f0348fc13101487ff75f7abd539fe922ba5c891..9d75ad74f8047680d0e799133a8250e507f4c6e7 100644 (file)
@@ -34,7 +34,6 @@ import org.xml.sax.Attributes;
 import org.xml.sax.InputSource;
 import org.xml.sax.Locator;
 import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
 import org.xml.sax.XMLReader;
 import org.xml.sax.helpers.DefaultHandler;
 
index 9a12e888cdb488851122256ae14e4892f4468eb3..7159a60b72ce9f599a0ac1ccccd54ac33d597d50 100644 (file)
@@ -21,7 +21,6 @@ package org.apache.fop.fonts.apps;
 
 import java.io.IOException;
 import java.util.Iterator;
-import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
index e081734be42d4551407d0fe9ee9ec8be015c35e4..d400c0bfd073bec691d306c8d317ae4a9383716e 100644 (file)
@@ -22,7 +22,6 @@ package org.apache.fop.fonts.truetype;
 import java.io.IOException;
 import java.util.Iterator;
 import java.util.Map;
-import java.util.Set;
 
 
 /**
index 0eae6fa9ce2bc651c7ecefa56647c2b390ebd6cd..2bcdb612717f5c8d674dc1a1f4bedea116dfa0bd 100644 (file)
@@ -22,7 +22,6 @@ package org.apache.fop.layoutmgr;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
-import org.apache.fop.fo.Constants;
 import org.apache.fop.traits.MinOptMax;
 
 /**
index 7208a585f61be7edc46c3f772513372b0316183a..1c89c20094492f7910f52d3012390b4cf9dae039 100644 (file)
@@ -21,8 +21,6 @@ package org.apache.fop.layoutmgr;
 
 import java.util.List;
 
-import org.apache.fop.fo.Constants;
-
 /**
  * This class represents an unresolved break possibility.
  */
index 22a74485ee20a802511ed10570299f40673e3067..2d4e1f2bed585098b7736091dda8637843dafd6d 100644 (file)
@@ -19,8 +19,6 @@
 
 package org.apache.fop.layoutmgr;
 
-import org.apache.fop.fo.Constants;
-
 /**
  * An instance of this class represents information about a feasible
  * breaking point; it does not represent any piece of content.
index 4b66383004dc4b887dc0ad1bbfab3bfacd048d15..3d45812d834815ad56225c368d47ba9b4d3d6082 100644 (file)
@@ -20,7 +20,6 @@
 package org.apache.fop.layoutmgr;
 
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.LinkedList;
 import java.util.List;
 import java.util.ListIterator;
index aba137115e514354bb3c80172460e700cec8a7a1..b9110de9e6d1686e2f5d656be9610d6013a63c05 100644 (file)
 
 package org.apache.fop.layoutmgr.inline;
 
-import org.apache.fop.area.PageViewport;
 import org.apache.fop.area.Resolvable;
 import org.apache.fop.area.Trait;
 import org.apache.fop.area.inline.InlineArea;
 import org.apache.fop.area.inline.TextArea;
-import org.apache.fop.area.inline.UnresolvedPageNumber;
 import org.apache.fop.fo.flow.AbstractPageNumberCitation;
 import org.apache.fop.fonts.Font;
 import org.apache.fop.fonts.FontInfo;
index 72e4e227ab5a0db779322ed32df425162d2f484e..291def4c3c790a4209be243e107599e3e43ff3f6 100644 (file)
@@ -20,7 +20,6 @@
 package org.apache.fop.layoutmgr.list;
 
 import java.util.LinkedList;
-import java.util.List;
 
 import org.apache.fop.area.Area;
 import org.apache.fop.area.Block;
index b3cb0658268ed3cdfc02e46797e0756f30d4f7a0..f6c831b3f71b493072c882f2dfee9948d7eaabc7 100644 (file)
@@ -46,7 +46,6 @@ import org.apache.fop.layoutmgr.KnuthPossPosIter;
 import org.apache.fop.layoutmgr.LayoutContext;
 import org.apache.fop.layoutmgr.SpaceResolver;
 import org.apache.fop.layoutmgr.TraitSetter;
-import org.apache.fop.traits.BorderProps;
 
 class RowPainter {
     private static Log log = LogFactory.getLog(RowPainter.class);
index 781012cfa87b46ab05d6a838f112219e6b182b10..8eea7e390c13e51f7f0d3c1768520fb74af08649 100644 (file)
@@ -19,7 +19,6 @@
 
 package org.apache.fop.pdf;
 
-import java.awt.Color;
 import java.awt.color.ColorSpace;
 import java.util.ArrayList;
 import java.util.List;
index 160d553846fd140326c60e3f29fa1b52c235e98a..e35a860d97322a82272eb23d3b24207736cd5bba 100644 (file)
@@ -21,7 +21,6 @@ package org.apache.fop.pdf;
 
 import java.io.IOException;
 import java.io.OutputStream;
-import java.io.Writer;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Locale;
index 639f8590ba4d0d981fd979654e0d4d8363011238..a2d74bd8dd3c6e880220c1b7dd535f1d9a01744c 100644 (file)
@@ -25,7 +25,6 @@ import java.awt.geom.AffineTransform;
 import java.awt.geom.Rectangle2D;
 import java.io.IOException;
 import java.io.OutputStream;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Locale;
 import java.util.Set;
index 0078e37bd6d0e3801378139e5207e48b668905c3..fe6952de1a5f068a5fd5bce9a348697aa2136b47 100644 (file)
@@ -23,7 +23,6 @@ import java.awt.Rectangle;
 import java.io.IOException;
 
 import org.apache.xmlgraphics.image.loader.Image;
-import org.apache.xmlgraphics.image.loader.impl.ImageXMLDOM;
 
 /**
  * This interface is a service provider interface for image handlers.
index 29f68955564fc93a3164f291d0ef2744b709f941..cddcc7b8492552a83dc9beef1f0ac53a45bd492e 100644 (file)
@@ -53,7 +53,6 @@ import org.apache.fop.render.afp.extensions.AFPPageSegmentElement;
 import org.apache.fop.render.afp.extensions.AFPPageSetup;
 import org.apache.fop.render.afp.extensions.ExtensionPlacement;
 import org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler;
-import org.apache.fop.render.intermediate.IFDocumentHandler;
 import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator;
 import org.apache.fop.render.intermediate.IFException;
 import org.apache.fop.render.intermediate.IFPainter;
index 06c7cbc9dfcc484c5973d4e1cbcf788541904bdf..842456f6958fb2e3a979fac10b1eeb48c66bdabc 100644 (file)
@@ -25,8 +25,6 @@ import org.xml.sax.ContentHandler;
 import org.xml.sax.SAXException;
 import org.xml.sax.helpers.AttributesImpl;
 
-import org.apache.fop.fo.extensions.ExtensionAttachment;
-
 /**
  * This extension allows to include an AFP form map resource. It is implemented as an extension
  * attachment ({@link ExtensionAttachment}).
index 719d8c7655dad5e8dc961fc16582493377c40e2a..37f818f6459688fcdaff5797f7c060ab066ae91f 100644 (file)
@@ -30,7 +30,6 @@ import org.apache.fop.fo.Constants;
 import org.apache.fop.fo.FONode;
 import org.apache.fop.fo.PropertyList;
 import org.apache.fop.fo.extensions.ExtensionAttachment;
-import org.apache.fop.fo.extensions.ExtensionObj;
 
 /**
  * This class extends the {@link ExtensionObj} class. It represents the "include-form-map"
index a82fe3457b399018d14c46f37c3ebc928168e45f..0900d40b4dd38d4c74925ad6f07e376601e36450 100644 (file)
@@ -23,8 +23,6 @@ import org.xml.sax.ContentHandler;
 import org.xml.sax.SAXException;
 import org.xml.sax.helpers.AttributesImpl;
 
-import org.apache.fop.fo.extensions.ExtensionAttachment;
-
 /**
  * This extension allows to include an AFP Page Overlay resource. It is implemented as an extension
  * attachment ({@link ExtensionAttachment}).
index 0577a737af7a3ff2f444930a09e4177b0f4e6978..c98c05a8e557767589afa2ba0fc588f638636e4b 100644 (file)
@@ -40,7 +40,6 @@ import org.apache.fop.apps.FopFactoryConfigurator;
 import org.apache.fop.fonts.FontInfo;
 import org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler;
 import org.apache.fop.render.intermediate.IFContext;
-import org.apache.fop.render.intermediate.IFDocumentHandler;
 import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator;
 import org.apache.fop.render.intermediate.IFException;
 import org.apache.fop.render.intermediate.IFPainter;
index 296d4628a104e10aa0ca57b80b0e88914f977a54..2ca0a172bb0673d9fbad9b1a7d81bcf7fde9d3c3 100644 (file)
@@ -19,7 +19,6 @@
 
 package org.apache.fop.render.bitmap;
 
-import java.awt.Graphics2D;
 import java.awt.image.BufferedImage;
 import java.util.List;
 
index 77a024436c8828291e079d94d29d991c3aff8408..05c44a1a65b1acd7955ba422ba7de6caba8d30ec 100644 (file)
@@ -20,7 +20,6 @@
 package org.apache.fop.render.bitmap;
 
 import org.apache.fop.apps.MimeConstants;
-import org.apache.fop.render.intermediate.IFDocumentHandler;
 import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator;
 
 /**
index a212d0e9e6ef7d5fea228339e29ce99287ae0c82..4b7fa3c2d7c9ca2259f5573849075c93fb6968d0 100644 (file)
@@ -20,7 +20,6 @@
 package org.apache.fop.render.bitmap;
 
 import org.apache.fop.apps.MimeConstants;
-import org.apache.fop.render.intermediate.IFDocumentHandler;
 import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator;
 
 /**
index ad4e6ad0e1e5403ef603de66a3f22248f36265d8..2b90e4a7b6771e14fa188753da3d6e2ffe1a44e2 100644 (file)
@@ -21,9 +21,6 @@ package org.apache.fop.render.intermediate;
 
 import java.util.Locale;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
 import org.apache.fop.accessibility.DummyStructureTreeEventHandler;
 import org.apache.fop.accessibility.StructureTreeEventHandler;
 import org.apache.fop.apps.FOUserAgent;
index 64633bfabaec5cfc3529607017fb4e2d06587c0d..5940fb6613e50af3aad57ac563538ce4296a79d6 100644 (file)
@@ -61,7 +61,6 @@ import org.apache.fop.area.BlockViewport;
 import org.apache.fop.area.BookmarkData;
 import org.apache.fop.area.CTM;
 import org.apache.fop.area.DestinationData;
-import org.apache.fop.area.LineArea;
 import org.apache.fop.area.OffDocumentExtensionAttachment;
 import org.apache.fop.area.OffDocumentItem;
 import org.apache.fop.area.PageSequence;
index fa1e877801736ca936d00367fb8dfd2cf5d4afb6..a384461acbea8bcdebf2409220e36795a1b4bf67 100644 (file)
@@ -23,7 +23,6 @@ import java.awt.Rectangle;
 import java.awt.geom.AffineTransform;
 
 import org.apache.fop.apps.FOPException;
-import org.apache.fop.apps.FopFactory;
 import org.apache.fop.fonts.FontInfo;
 import org.apache.fop.util.DecimalFormatCache;
 
index 578745281b2d5f8ce7fc942de229835c6ac583c0..b9b6d12e63b78d1542b0eed043a8d22391f5a4ef 100644 (file)
@@ -19,8 +19,6 @@
 
 package org.apache.fop.render.java2d;
 
-import java.awt.Graphics2D;
-
 import org.apache.fop.fonts.Font;
 import org.apache.fop.fonts.FontCollection;
 import org.apache.fop.fonts.FontInfo;
index 6540d6e37e1b4e0736d579f2954750976614377e..5d964cbbf8679e70c504c8df9dc63b1151df799b 100644 (file)
@@ -30,7 +30,6 @@ import javax.xml.transform.Source;
 import javax.xml.transform.stream.StreamSource;
 
 import org.apache.fop.fonts.CustomFont;
-import org.apache.fop.fonts.FontMetrics;
 import org.apache.fop.fonts.FontType;
 import org.apache.fop.fonts.LazyFont;
 import org.apache.fop.fonts.Typeface;
index f41dd4d92cd66d9e5327cb1b98f17241ba6ce64c..65e82f7b3b3891c039e4848a5eb58be40600eb2e 100644 (file)
@@ -19,7 +19,6 @@
 
 package org.apache.fop.render.java2d;
 
-import java.awt.Graphics2D;
 import java.awt.GraphicsEnvironment;
 import java.util.Set;
 
index c7fa1adc511b7e26ff62b12c323512973d6022c5..dd830a15b6667a0dc94cc556c10fe1884de3d028 100644 (file)
@@ -40,7 +40,6 @@ import org.apache.fop.render.RenderingContext;
 import org.apache.fop.render.intermediate.AbstractIFPainter;
 import org.apache.fop.render.intermediate.IFContext;
 import org.apache.fop.render.intermediate.IFException;
-import org.apache.fop.render.intermediate.IFPainter;
 import org.apache.fop.render.intermediate.IFState;
 import org.apache.fop.render.intermediate.IFUtil;
 import org.apache.fop.traits.BorderProps;
index 961d64ad2d8765c37aa654d94eac25dba9700a2c..924460bd8040293d8b03acf8bc16ff226f5ab4a9 100644 (file)
@@ -19,8 +19,6 @@
 
 package org.apache.fop.render.java2d;
 
-import java.awt.Graphics2D;
-
 import org.apache.fop.apps.FOUserAgent;
 import org.apache.fop.fonts.FontCollection;
 import org.apache.fop.fonts.FontEventAdapter;
index fac436909d680146f578637d84f545beb8fb20ae..06c975b86677951e8f9b7dc47fc9db8ce47cd7f5 100644 (file)
@@ -20,7 +20,6 @@
 package org.apache.fop.render.java2d;
 
 // Java
-import java.awt.Graphics2D;
 import java.util.Map;
 import java.util.Set;
 
index 5af0fd179d6b631baedf0aa7669dd26b9088e866..52e522c7a98bc8bdeccbcf97e7e3b38e1cbe823f 100644 (file)
@@ -37,7 +37,6 @@ import org.apache.fop.apps.MimeConstants;
 import org.apache.fop.fonts.FontInfo;
 import org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler;
 import org.apache.fop.render.intermediate.IFContext;
-import org.apache.fop.render.intermediate.IFDocumentHandler;
 import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator;
 import org.apache.fop.render.intermediate.IFException;
 import org.apache.fop.render.intermediate.IFPainter;
index 53e3d77dafb951a2d4119ef7b9c138d82377971d..9fc5754566b880d0327726c420e7fbd655570a02 100644 (file)
@@ -49,7 +49,6 @@ import org.apache.fop.render.RenderingContext;
 import org.apache.fop.render.intermediate.AbstractIFPainter;
 import org.apache.fop.render.intermediate.IFContext;
 import org.apache.fop.render.intermediate.IFException;
-import org.apache.fop.render.intermediate.IFPainter;
 import org.apache.fop.render.intermediate.IFState;
 import org.apache.fop.render.intermediate.IFUtil;
 import org.apache.fop.render.java2d.FontMetricsMapper;
index 84608b685cb9a4ede7f5c115f0aee0ce02a8ae00..bc4cdc567fb1c64dda0aaec19cdb2f7d74e64a6d 100644 (file)
@@ -19,7 +19,6 @@
 
 package org.apache.fop.render.pcl;
 
-import java.awt.Graphics2D;
 import java.util.List;
 
 import org.apache.avalon.framework.configuration.Configuration;
index d55e0724b0234af859f97563d688b1659c1e958f..490e42b2d3792dcd7e568d2fb70d98a3c83e51c5 100644 (file)
@@ -52,7 +52,6 @@ import org.apache.xmlgraphics.ps.dsc.events.DSCCommentHiResBoundingBox;
 import org.apache.fop.apps.MimeConstants;
 import org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler;
 import org.apache.fop.render.intermediate.IFContext;
-import org.apache.fop.render.intermediate.IFDocumentHandler;
 import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator;
 import org.apache.fop.render.intermediate.IFException;
 import org.apache.fop.render.intermediate.IFPainter;
index c68578d63f2a460431db5f13b63783348380a4d8..eed5674472c701f5fc68d35cd2810bd649eb3054 100644 (file)
@@ -26,7 +26,6 @@ import org.w3c.dom.svg.SVGAElement;
 
 import org.apache.batik.bridge.AbstractGraphicsNodeBridge;
 import org.apache.batik.bridge.BridgeContext;
-import org.apache.batik.gvt.CompositeGraphicsNode;
 import org.apache.batik.gvt.GraphicsNode;
 
 /**
index 45b55695f4bfc69875704fa039d6c212f4dd4dac..022f3c21439a49f3c4a6877cc5464f830cd449e4 100644 (file)
@@ -21,9 +21,6 @@ package org.apache.fop.traits;
 
 import java.io.Serializable;
 
-import org.apache.fop.fo.properties.LengthRangeProperty;
-import org.apache.fop.fo.properties.SpaceProperty;
-
 /**
  * This class holds the resolved (as mpoints) form of a {@link LengthRangeProperty LengthRange} or
  * {@link SpaceProperty Space} type property value.
index c473228cb5269d315d55b42eef5ed2adc5caa882..18fdffaab19cfdb36e39433f0be583273317592a 100644 (file)
@@ -21,8 +21,6 @@ package org.apache.fop.traits;
 
 import java.io.Serializable;
 
-import org.apache.fop.fo.Constants;
-
 /** Base class for enumeration classes representing traits. */
 public abstract class TraitEnum implements Serializable {
 
index bd4aee340d193cb5293aa2417fff61fa63caf1cb..d0ac6767c66fdbcf7cbf15b49cf5625cd194d61d 100644 (file)
@@ -23,8 +23,6 @@ import java.awt.Color;
 import java.awt.color.ColorSpace;
 import java.util.Arrays;
 
-import org.apache.xmlgraphics.java2d.color.ColorWithAlternatives;
-
 /**
  * Color helper class.
  * <p>
index 6c775f177ddffd93ec61a529a216ec4c82f4a386..ef0d9f30199c7e9b3f4dd5c365d8d778f60f80a4 100644 (file)
@@ -48,7 +48,6 @@ import org.apache.commons.io.IOUtils;
 import org.apache.fop.render.bitmap.BitmapRendererEventProducer;
 import org.apache.fop.render.bitmap.MultiFileRenderingUtil;
 import org.apache.fop.render.intermediate.DelegatingFragmentContentHandler;
-import org.apache.fop.render.intermediate.IFDocumentHandler;
 import org.apache.fop.render.intermediate.IFException;
 import org.apache.fop.render.intermediate.IFPainter;
 import org.apache.fop.util.GenerationHelperContentHandler;
index e5832eba1481d12dd173d3723e29b545d0594f9b..10be9588ebdbb9da37165ca6560e514767b0d766 100644 (file)
@@ -27,7 +27,6 @@ import org.xml.sax.SAXException;
 import org.xml.sax.helpers.AttributesImpl;
 
 import org.apache.fop.render.intermediate.IFConstants;
-import org.apache.fop.render.intermediate.IFDocumentHandler;
 import org.apache.fop.render.intermediate.IFException;
 import org.apache.fop.render.intermediate.IFPainter;
 import org.apache.fop.util.XMLUtil;