Browse Source

Examples pointed to the tag not to the trunk. Otherwise, this can be real confusing now that the API has changed.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@389567 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_92-beta
Jeremias Maerki 18 years ago
parent
commit
670fd4e385
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      src/documentation/content/xdocs/0.91/embedding.xml

+ 8
- 8
src/documentation/content/xdocs/0.91/embedding.xml View File

<?xml version="1.0" standalone="no"?> <?xml version="1.0" standalone="no"?>
<!-- <!--
Copyright 1999-2005 The Apache Software Foundation
Copyright 1999-2006 The Apache Software Foundation


Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
<section id="ExampleFO2PDF"> <section id="ExampleFO2PDF">
<title>ExampleFO2PDF.java</title> <title>ExampleFO2PDF.java</title>
<p>This <p>This
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleFO2PDF.java?view=markup">
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/tags/fop-0_91-beta/examples/embedding/java/embedding/ExampleFO2PDF.java?view=markup">
example</a> example</a>
demonstrates the basic usage pattern to transform an XSL-FO demonstrates the basic usage pattern to transform an XSL-FO
file to PDF using FOP. file to PDF using FOP.
<section id="ExampleXML2FO"> <section id="ExampleXML2FO">
<title>ExampleXML2FO.java</title> <title>ExampleXML2FO.java</title>
<p>This <p>This
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleXML2FO.java?view=markup">
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/tags/fop-0_91-beta/examples/embedding/java/embedding/ExampleXML2FO.java?view=markup">
example</a> example</a>
has nothing to do with FOP. It is there to show you how an XML has nothing to do with FOP. It is there to show you how an XML
file can be converted to XSL-FO using XSLT. The JAXP API is used to do the file can be converted to XSL-FO using XSLT. The JAXP API is used to do the
<section id="ExampleXML2PDF"> <section id="ExampleXML2PDF">
<title>ExampleXML2PDF.java</title> <title>ExampleXML2PDF.java</title>
<p>This <p>This
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleXML2PDF.java?view=markup">
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/tags/fop-0_91-beta/examples/embedding/java/embedding/ExampleXML2PDF.java?view=markup">
example</a> example</a>
demonstrates how you can convert an arbitrary XML file to PDF demonstrates how you can convert an arbitrary XML file to PDF
using XSLT and XSL-FO/FOP. It is a combination of the first two examples using XSLT and XSL-FO/FOP. It is a combination of the first two examples
<section id="ExampleObj2XML"> <section id="ExampleObj2XML">
<title>ExampleObj2XML.java</title> <title>ExampleObj2XML.java</title>
<p>This <p>This
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleObj2XML.java?view=markup">
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/tags/fop-0_91-beta/examples/embedding/java/embedding/ExampleObj2XML.java?view=markup">
example</a> example</a>
is a preparatory example for the next one. It's an example that is a preparatory example for the next one. It's an example that
shows how an arbitrary Java object can be converted to XML. It's an often shows how an arbitrary Java object can be converted to XML. It's an often
<section id="ExampleObj2PDF"> <section id="ExampleObj2PDF">
<title>ExampleObj2PDF.java</title> <title>ExampleObj2PDF.java</title>
<p>This <p>This
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleObj2PDF.java?view=markup">
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/tags/fop-0_91-beta/examples/embedding/java/embedding/ExampleObj2PDF.java?view=markup">
example</a> example</a>
combines the previous and the third to demonstrate combines the previous and the third to demonstrate
how you can transform a Java object to a PDF directly in one smooth run how you can transform a Java object to a PDF directly in one smooth run
<section id="ExampleDOM2PDF"> <section id="ExampleDOM2PDF">
<title>ExampleDOM2PDF.java</title> <title>ExampleDOM2PDF.java</title>
<p>This <p>This
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleDOM2PDF.java?view=markup">
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/tags/fop-0_91-beta/examples/embedding/java/embedding/ExampleDOM2PDF.java?view=markup">
example</a> example</a>
has FOP use a DOMSource instead of a StreamSource in order to has FOP use a DOMSource instead of a StreamSource in order to
use a DOM tree as input for an XSL transformation. use a DOM tree as input for an XSL transformation.
<section id="ExampleSVG2PDF"> <section id="ExampleSVG2PDF">
<title>ExampleSVG2PDF.java (PDF Transcoder example)</title> <title>ExampleSVG2PDF.java (PDF Transcoder example)</title>
<p>This <p>This
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleSVG2PDF.java?view=markup">
<a href="http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/tags/fop-0_91-beta/examples/embedding/java/embedding/ExampleSVG2PDF.java?view=markup">
example</a> example</a>
shows use of the PDF Transcoder, a sub-application within FOP. shows use of the PDF Transcoder, a sub-application within FOP.
It is used to generate a PDF document from an SVG file. It is used to generate a PDF document from an SVG file.

Loading…
Cancel
Save