diff options
Diffstat (limited to 'docs/xml-docs')
-rw-r--r-- | docs/xml-docs/fop/examples.xml | 4 | ||||
-rw-r--r-- | docs/xml-docs/fop/svg.xml | 27 |
2 files changed, 26 insertions, 5 deletions
diff --git a/docs/xml-docs/fop/examples.xml b/docs/xml-docs/fop/examples.xml index c3a148731..5b8388d17 100644 --- a/docs/xml-docs/fop/examples.xml +++ b/docs/xml-docs/fop/examples.xml @@ -45,10 +45,6 @@ <li>In the directory examples/pagination you find a suite of examples showing the use of xsl:fo pagination. </li> - <li>If you are interested in using svg, you may want to look into the - <jump href="http://xml.apache.org/dist/fop/svgtestsuite.jar">svg test suite</jump>, which - must be downloaded separately (ca. 2.1 MB). - </li> </ul> <p>Developers will find the first steps to a test suite for all implemented formatting objects and properties in xml-fop/test/xml/.</p> diff --git a/docs/xml-docs/fop/svg.xml b/docs/xml-docs/fop/svg.xml index 14506b796..375d31967 100644 --- a/docs/xml-docs/fop/svg.xml +++ b/docs/xml-docs/fop/svg.xml @@ -36,8 +36,33 @@ Currently the SVG image is simply scaled in PDF so the result my not be the best </p> <p> For more information see <jump href="http://xml.apache.org/batik/">Batik</jump> for -how transocders work. +how transcoders work. </p> + + <p> +These are the relevant classes, found in the package org.apache.fop.svg : + </p> + <p> +<ul> +<li><em>PDFGraphics2D</em> +<br/> +used for drawing onto a Graphics2D into an existing pdf document, used +internally to draw the svg. +</li> +<li><em>PDFDocumentGraphics2D</em> +<br/> +used to create a pdf document and inherits from PDFGraphics2D to do the +rest of the drawing. Used by the transcoder to create a standalone pdf +document from an svg. Can be used independantly the same as any Graphics2D. +</li> +<li><em>PDFTranscoder</em> +<br/> +used to transcode an svg document into a standalone pdf, via +PDFDocumentGraphics2D. +</li> +</ul> + </p> + </s2> |