diff options
author | Glenn Adams <gadams@apache.org> | 2012-03-03 00:18:45 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2012-03-03 00:18:45 +0000 |
commit | 2ed4c2e0346fe366c48ab12acc987f30c956a784 (patch) | |
tree | bb553bb94d374a9e56c61d14152397db189649c3 /src/sandbox/org/apache/fop/render | |
parent | eff48e4a891b2c8159ac81d13cae4e65e444cce2 (diff) | |
download | xmlgraphics-fop-2ed4c2e0346fe366c48ab12acc987f30c956a784.tar.gz xmlgraphics-fop-2ed4c2e0346fe366c48ab12acc987f30c956a784.zip |
enable ImportOrder rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/sandbox/org/apache/fop/render')
-rw-r--r-- | src/sandbox/org/apache/fop/render/mif/MIFHandler.java | 5 | ||||
-rw-r--r-- | src/sandbox/org/apache/fop/render/svg/SVGRenderer.java | 7 | ||||
-rw-r--r-- | src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java | 14 |
3 files changed, 15 insertions, 11 deletions
diff --git a/src/sandbox/org/apache/fop/render/mif/MIFHandler.java b/src/sandbox/org/apache/fop/render/mif/MIFHandler.java index 34eb7dc8d..cfc86edc7 100644 --- a/src/sandbox/org/apache/fop/render/mif/MIFHandler.java +++ b/src/sandbox/org/apache/fop/render/mif/MIFHandler.java @@ -19,12 +19,14 @@ package org.apache.fop.render.mif; -// Java import java.io.IOException; import java.io.OutputStream; +import org.xml.sax.SAXException; + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; + import org.apache.fop.apps.FOUserAgent; import org.apache.fop.fo.FOEventHandler; import org.apache.fop.fo.flow.BasicLink; @@ -51,7 +53,6 @@ import org.apache.fop.fo.pagination.PageSequenceMaster; import org.apache.fop.fo.pagination.SimplePageMaster; import org.apache.fop.fonts.FontSetup; import org.apache.fop.render.DefaultFontResolver; -import org.xml.sax.SAXException; // TODO: do we really want every method throwing a SAXException diff --git a/src/sandbox/org/apache/fop/render/svg/SVGRenderer.java b/src/sandbox/org/apache/fop/render/svg/SVGRenderer.java index 0e575c736..9cbc1662d 100644 --- a/src/sandbox/org/apache/fop/render/svg/SVGRenderer.java +++ b/src/sandbox/org/apache/fop/render/svg/SVGRenderer.java @@ -29,13 +29,14 @@ import java.io.Writer; import org.w3c.dom.DOMImplementation; import org.w3c.dom.Document; -import org.apache.batik.dom.GenericDOMImplementation; -import org.apache.batik.svggen.SVGGeneratorContext; -import org.apache.batik.svggen.SVGGraphics2D; import org.apache.commons.io.IOUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.apache.batik.dom.GenericDOMImplementation; +import org.apache.batik.svggen.SVGGeneratorContext; +import org.apache.batik.svggen.SVGGraphics2D; + import org.apache.fop.apps.FOUserAgent; import org.apache.fop.apps.MimeConstants; import org.apache.fop.area.PageViewport; diff --git a/src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java b/src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java index c46c35b99..57079bf03 100644 --- a/src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java +++ b/src/sandbox/org/apache/fop/render/svg/SVGSVGHandler.java @@ -19,12 +19,6 @@ package org.apache.fop.render.svg; -import org.apache.batik.dom.svg.SVGDOMImplementation; -import org.apache.batik.dom.util.DOMUtilities; -import org.apache.batik.dom.util.XMLSupport; -import org.apache.fop.render.Renderer; -import org.apache.fop.render.RendererContext; -import org.apache.fop.render.XMLHandler; import org.w3c.dom.DOMImplementation; import org.w3c.dom.Element; import org.w3c.dom.Node; @@ -32,6 +26,14 @@ import org.w3c.dom.svg.SVGDocument; import org.w3c.dom.svg.SVGElement; import org.w3c.dom.svg.SVGSVGElement; +import org.apache.batik.dom.svg.SVGDOMImplementation; +import org.apache.batik.dom.util.DOMUtilities; +import org.apache.batik.dom.util.XMLSupport; + +import org.apache.fop.render.Renderer; +import org.apache.fop.render.RendererContext; +import org.apache.fop.render.XMLHandler; + /** The svg:svg element handler. */ public class SVGSVGHandler implements XMLHandler, SVGRendererContextConstants { |