org.apache.fop.svg |
org.apache.fop.svg Package
Classes that add SVG support to FOP and SVG->PDF conversion for Batik.
This package contains classes for drawing to PDF using
a Graphics2D implementation.
The classes: PDFAElementBridge, PDFANode, PDFImageElementBridge,
PDFTextElementBridge and PDFTextPainter are used in conjunction
with batik to draw the SVG into the PDF document.
The PDFTranscoder is a transcoder for use with batik to convert
from SVG to a single page PDF document.
SVGElement, SVGElementMapping and SVGObj are used by
FOP for handling embedded SVG or external SVG graphics.
The PDFGraphics2D does all the work to draw into a PDF document and
the PDFDocumentGraphics2D is used when drawing into a single document.
SVGUtilities contains some useful svg element creation methods.
|
Java Source File Name | Type | Comment |
AbstractFOPTranscoder.java | Class | This is the common base class of all of FOP's transcoders. |
ACIUtils.java | Class | Utilities for java.text.AttributedCharacterIterator. |
FOPSAXSVGDocumentFactory.java | Class | This is a special subclass to allow setting a special EntityResolver. |
GraphicsConfiguration.java | Class | Adapter to allow subclassing java.awt.GraphicsConfiguration without
compilation errors.
The version for JDK 1.4 needs to add an override for the abstract
createCompatibleVolatileImage() method. |
PDFAElementBridge.java | Class | Bridge class for the <a> element. |
PDFANode.java | Class | A graphics node that represents an image described as a graphics node. |
PDFBridgeContext.java | Class | BridgeContext which registers the custom bridges for PDF output. |
PDFContext.java | Class | Context class which holds state information which should remain in sync over multiple instances
of PDFDocumentGraphics2D. |
PDFDocumentGraphics2D.java | Class | This class is a wrapper for the PDFGraphics2D that
is used to create a full document around the pdf rendering from
PDFGraphics2D. |
PDFDocumentGraphics2DConfigurator.java | Class | Configurator class for PDFDocumentGraphics2D. |
PDFGraphics2D.java | Class | PDF Graphics 2D. |
PDFGraphicsConfiguration.java | Class | Our implementation of the class that returns information about
roughly what we can handle and want to see (alpha for example). |
PDFGraphicsDevice.java | Class | This implements the GraphicsDevice interface as appropriate for
a PDFGraphics2D. |
PDFImageElementBridge.java | Class | Bridge class for the <image> element when jpeg images. |
PDFTextElementBridge.java | Class | Bridge class for the <text> element. |
PDFTextPainter.java | Class | Renders the attributed character iterator of a TextNode.
This class draws the text directly into the PDFGraphics2D so that
the text is not drawn using shapes which makes the PDF files larger.
If the text is simple enough to draw then it sets the font and calls
drawString. |
PDFTranscoder.java | Class | This class enables to transcode an input to a pdf document.
Two transcoding hints (KEY_WIDTH and
KEY_HEIGHT) can be used to respectively specify the image
width and the image height. |
SVGUserAgent.java | Class | The SVG user agent. |
SVGUtilities.java | Class | Some utilities for creating svg DOM documents and elements. |