|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.AbstractGenericSVGHandler
org.apache.fop.render.pdf.PDFSVGHandler
public class PDFSVGHandler
PDF XML handler for SVG (uses Apache Batik). This handler handles XML for foreign objects when rendering to PDF. It renders SVG to the PDF document using the PDFGraphics2D. The properties from the PDF renderer are subject to change.
Nested Class Summary | |
---|---|
static class |
PDFSVGHandler.PDFInfo
PDF information structure for drawing the XML document. |
Field Summary |
---|
Fields inherited from interface org.apache.fop.render.pdf.PDFRendererContextConstants |
---|
PDF_CONTEXT, PDF_DOCUMENT, PDF_FONT_INFO, PDF_FONT_NAME, PDF_FONT_SIZE, PDF_PAGE, PDF_STREAM |
Fields inherited from interface org.apache.fop.render.RendererContextConstants |
---|
FOREIGN_ATTRIBUTES, HANDLER_CONFIGURATION, HEIGHT, OUTPUT_STREAM, PAGE_VIEWPORT, WIDTH, XPOS, YPOS |
Fields inherited from interface org.apache.fop.render.XMLHandler |
---|
HANDLE_ALL |
Constructor Summary | |
---|---|
PDFSVGHandler()
|
Method Summary | |
---|---|
static PDFSVGHandler.PDFInfo |
getPDFInfo(RendererContext context)
Get the pdf information from the render context. |
protected void |
renderSVGDocument(RendererContext context,
org.w3c.dom.Document doc)
Render the SVG document. |
boolean |
supportsRenderer(Renderer renderer)
Checks if this XMLHandler supports handling an XML namespace for a particular renderer. |
Methods inherited from class org.apache.fop.render.AbstractGenericSVGHandler |
---|
buildGraphicsNode, createGraphics2DImagePainter, getDocumentURI, getImageSize, getNamespace, handleXML, updateRendererContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFSVGHandler()
Method Detail |
---|
public static PDFSVGHandler.PDFInfo getPDFInfo(RendererContext context)
context
- the renderer context
protected void renderSVGDocument(RendererContext context, org.w3c.dom.Document doc)
renderSVGDocument
in class AbstractGenericSVGHandler
context
- the renderer contextdoc
- the SVG documentpublic boolean supportsRenderer(Renderer renderer)
supportsRenderer
in interface XMLHandler
renderer
- the renderer for which to check.
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |