aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-04-01 23:38:44 +0000
committerGlen Mazza <gmazza@apache.org>2004-04-01 23:38:44 +0000
commitc487229af9b12ac6dbe631e68d59af72a42bff8b (patch)
tree225dae68de711aecc1f000d8c975f450b4302fd9 /src/documentation/content
parent2dc772585087baa3cc763702e88ccdb4e4c005ae (diff)
downloadxmlgraphics-fop-c487229af9b12ac6dbe631e68d59af72a42bff8b.tar.gz
xmlgraphics-fop-c487229af9b12ac6dbe631e68d59af72a42bff8b.zip
Update to examples: added text about DOM2PDF and PDF Transcoder examples.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197476 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content')
-rw-r--r--src/documentation/content/xdocs/embedding.xml35
1 files changed, 24 insertions, 11 deletions
diff --git a/src/documentation/content/xdocs/embedding.xml b/src/documentation/content/xdocs/embedding.xml
index fe7601e7c..9345d2a90 100644
--- a/src/documentation/content/xdocs/embedding.xml
+++ b/src/documentation/content/xdocs/embedding.xml
@@ -453,8 +453,8 @@ used. For more detailed information see other resources on JAXP (ex.
<title>ExampleObj2PDF.java</title>
<p>
<fork href="http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ExampleObj2PDF.java?rev=HEAD">
- The last example</fork>
-here combines the previous and the third to demonstrate
+ This example</fork>
+combines the previous and the third to demonstrate
how you can transform a Java object to a PDF directly in one smooth run
by generating SAX events from the Java object that get fed to an XSL
transformation. The result of the transformation is then converted to PDF
@@ -462,19 +462,32 @@ using FOP as before.
</p>
<figure src="images/EmbeddingExampleObj2PDF.png" alt="Example Java object to PDF (via XML and XSL-FO)"/>
</section>
+ <section id="ExampleDOM2PDF">
+ <title>ExampleDOM2PDF.java</title>
+ <p>
+ <fork href="http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ExampleDOM2PDF.java?rev=HEAD">
+ This example</fork>
+has FOP use a DOMSource instead of a StreamSource in order to
+use a DOM tree as input for an XSL transformation.
+ </p>
+ </section>
+ <section id="ExampleSVG2PDF">
+ <title>ExampleSVG2PDF.java (PDF Transcoder example)</title>
+ <p>
+ <fork href="http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ExampleSVG2PDF.java?rev=HEAD">
+ This example</fork>
+shows use of the PDF Transcoder, a sub-application within FOP.
+It is used to generate a PDF document from an SVG file.
+ </p>
+ </section>
<section id="example-notes">
<title>Final notes</title>
<p>
These examples should give you an idea of what's possible. It should be easy
-to adjust these examples to your needs. For examples, you can use a DOMSource
-instead of a StreamSource to feed a DOM tree as input for an XSL
-transformation.
- </p>
- <p>
-If you think you have a decent example that should be here, contact us via
-one of the mailing lists and we'll see to it that it gets added. Also, if
-you can't find the solution to your particular problem drop us a message on
-the fop-user mailing list.
+to adjust these examples to your needs. Also, if you have other examples that you
+think should be added here, please let us know via either the FOP-USER or FOP-DEV
+mailing lists. Finally, for more help please send your questions to the FOP-USER
+mailing list.
</p>
</section>
</section>