<!-- Normal text -->
<fo:block text-align="center"
- font-family="serif">1. <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ font-family="serif">1. <fo:basic-link external-destination="normal.pdf">normal.pdf</fo:basic-link>
</fo:block>
<!-- Normal text -->
<!-- Normal text -->
<fo:block text-align="center">
- 2. A one line example (text-align='start'): <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ 2. A one line example (text-align='start'): <fo:basic-link external-destination="normal.pdf">normal.pdf</fo:basic-link>
</fo:block>
<!-- Normal text -->
3. A multiline text (text-align='start'). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
- go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ go to <fo:basic-link external-destination="normal.pdf">normal.pdf</fo:basic-link>
</fo:block>
<!-- Normal text -->
4. A multiline text (text-align='centered'). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
- go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ go to <fo:basic-link external-destination="normal.pdf">normal.pdf</fo:basic-link>
</fo:block>
<!-- Normal text -->
5. A multiline text (text-align='end'). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
- go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ go to <fo:basic-link external-destination="normal.pdf">normal.pdf</fo:basic-link>
</fo:block>
<!-- Normal text -->
padding-top="3pt"
>
6. A multiline text (text-align='start', space-before.optimum=6pt, font-family=serif padding-top="3pt"). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
- enable <fo:simple-link external-destination="normal.pdf">generic</fo:simple-link> SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+ enable <fo:basic-link external-destination="normal.pdf">generic</fo:basic-link> SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
- go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ go to <fo:basic-link external-destination="normal.pdf">normal.pdf</fo:basic-link>
</fo:block>
<!-- Normal text -->
padding-top="3pt"
>
7. A multiline text (text-align='start', space-before.optimum=6pt, font-family=serif, padding-top="3pt"). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
- enable <fo:simple-link external-destination="normal.pdf">generic</fo:simple-link> SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+ enable <fo:basic-link external-destination="normal.pdf">generic</fo:basic-link> SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
- go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ go to <fo:basic-link external-destination="normal.pdf">normal.pdf</fo:basic-link>
</fo:block>
padding-top="3pt"
>
8. A multiline text (text-align='start', space-before.optimum=6pt, font-family=serif, padding-top="3pt"). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
- enable <fo:simple-link external-destination="normal.pdf">generic</fo:simple-link> SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+ enable <fo:basic-link external-destination="normal.pdf">generic</fo:basic-link> SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
- go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ go to <fo:basic-link external-destination="normal.pdf">normal.pdf</fo:basic-link>
</fo:block>
-->
THIS IS NOT THE LATEST VERSION OF THE FOP DOCUMENTATION BUT ONLY AN EXAMPLE FILE
This files shows next to the trivial usage of fo:block and fo:inline examples of
-- fo:simple-link external-destination
-- fo:simple-link internal-destination
+- fo:basic-link external-destination
+- fo:basic-link internal-destination
- fo:table
- fo:list-block (including a bullet from the font Symbol as list-item-label)
- fo:page-number-citation (computes dynamically the page number in section 'content')
</fo:block>
<fo:block space-after.optimum="3pt" font-family="serif">FOP is part of Apache's XML project. The homepage of FOP is
- <fo:inline font-style="italic" font-family="serif"><fo:simple-link color="blue" external-destination="http://xml.apache.org/fop">http://xml.apache.org/fop</fo:simple-link></fo:inline>
+ <fo:inline font-style="italic" font-family="serif"><fo:basic-link color="blue" external-destination="http://xml.apache.org/fop">http://xml.apache.org/fop</fo:basic-link></fo:inline>
</fo:block>
-
-
-
<fo:block id="sec2" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >B)
Downloading FOP</fo:block>
<fo:block space-after.optimum="3pt" font-family="serif">The latest release version is <fo:inline font-style="italic" font-family="serif">FOP
-
-
-
-
-
<fo:block id="sec4" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >D)
Embedding FOP </fo:block>
<fo:block space-after.optimum="3pt" font-family="serif">Instantiate org.apache.fop.apps.Driver. Once this class is
<fo:block>
<fo:inline font-style="italic" font-family="serif">XML Recommendation</fo:inline>
<fo:inline font-family="serif" >
- (<fo:simple-link color="blue" external-destination="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</fo:simple-link>)
+ (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</fo:basic-link>)
</fo:inline>
</fo:block>
</fo:list-item-body>
<fo:block>
<fo:inline font-style="italic" font-family="serif">XSL-FO Working Draft</fo:inline>
<fo:inline font-family="serif">
- (<fo:simple-link color="blue" external-destination="http://www.w3.org/TR/WD-xsl/">http://www.w3.org/TR/WD-xsl/</fo:simple-link>)
+ (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/WD-xsl/">http://www.w3.org/TR/WD-xsl/</fo:basic-link>)
</fo:inline>
</fo:block>
</fo:list-item-body>
<fo:block>
<fo:inline font-style="italic" font-family="serif">XSLT Recommendation</fo:inline>
<fo:inline font-family="serif">
- (<fo:simple-link color="blue" external-destination="http://www.w3.org/TR/xslt">http://www.w3.org/TR/xslt</fo:simple-link>)
+ (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/xslt">http://www.w3.org/TR/xslt</fo:basic-link>)
</fo:inline>
</fo:block>
</fo:list-item-body>
<fo:block>
<fo:inline font-style="italic" font-family="serif">PDF Documentation</fo:inline>
<fo:inline font-family="serif">
- (<fo:simple-link color="blue" external-destination="http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf">http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf</fo:simple-link>)
+ (<fo:basic-link color="blue" external-destination="http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf">http://partners.adobe.com/asn/developer/acrosdk/DOCS/pdfspec.pdf</fo:basic-link>)
</fo:inline>
</fo:block>
</fo:list-item-body>
<fo:block>
<fo:inline font-style="italic" font-family="serif">Simple API for XML (SAX)</fo:inline>
<fo:inline font-family="serif">
- (<fo:simple-link color="blue" external-destination="http://www.megginson.com/SAX/">http://www.megginson.com/SAX/</fo:simple-link>)
+ (<fo:basic-link color="blue" external-destination="http://www.megginson.com/SAX/">http://www.megginson.com/SAX/</fo:basic-link>)
</fo:inline>
</fo:block>
</fo:list-item-body>
<fo:block>
<fo:inline font-style="italic" font-family="serif">Document Object Model (DOM)</fo:inline>
<fo:inline font-family="serif">
- (<fo:simple-link color="blue" external-destination="http://www.w3.org/TR/REC-DOM-Level-1">http://www.w3.org/TR/REC-DOM-Level-1</fo:simple-link>)
+ (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/REC-DOM-Level-1">http://www.w3.org/TR/REC-DOM-Level-1</fo:basic-link>)
</fo:inline>
</fo:block>
</fo:list-item-body>
<fo:block>
<fo:inline font-style="italic" font-family="serif">Namespaces in XML Recommendation</fo:inline>
<fo:inline font-family="serif">
- (<fo:simple-link color="blue" external-destination="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/</fo:simple-link>)
+ (<fo:basic-link color="blue" external-destination="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/</fo:basic-link>)
</fo:inline>
</fo:block>
</fo:list-item-body>
<fo:block>
<fo:inline font-style="italic" font-family="serif">Java JDK 1.1 Documentation</fo:inline>
<fo:inline font-family="serif">
- (<fo:simple-link color="blue" external-destination="http://java.sun.com/products/jdk/1.1/docs/index.html">http://java.sun.com/products/jdk/1.1/docs/index.html</fo:simple-link>)
+ (<fo:basic-link color="blue" external-destination="http://java.sun.com/products/jdk/1.1/docs/index.html">http://java.sun.com/products/jdk/1.1/docs/index.html</fo:basic-link>)
</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec1">What is FOP?</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec1">What is FOP?</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec1"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec2">Downloading FOP</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec2">Downloading FOP</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec2"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec3">Running FOP</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec3">Running FOP</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec3"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec4">Embedding FOP</fo:simple-link> </fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec4">Embedding FOP</fo:basic-link> </fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec4"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec5">What's Implemented?</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec5">What's Implemented?</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec5"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec6">Limitations</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec6">Limitations</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec6"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec7">Bugs</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec7">Bugs</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec7"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec8">Compiling FOP</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec8">Compiling FOP</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec8"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec9">Getting involved</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec9">Getting involved</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec9"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec10">FOP Relevant Specifications</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec10">FOP Relevant Specifications</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec10"/></fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell>
-<fo:block text-align="start"><fo:simple-link color="blue" internal-destination="sec11">Licence</fo:simple-link></fo:block>
+<fo:block text-align="start"><fo:basic-link color="blue" internal-destination="sec11">Licence</fo:basic-link></fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="end"><fo:page-number-citation ref-id="sec11"/></fo:block>
<s1 title="Features">
<s2 title="What's Implemented?">
<p>The following formatting objects and properties of the xsl-fo
- working draft (27 March 2000) are implemented. Please have also a look at the
+ working draft (12 October 2000) are implemented.Please have also a look at the
section on <jump href="limitations.html">limitations</jump>
</p>
</s2>
<s2 title="1) Formatting Objects">
- <ul>
- <li>block </li>
- <li>conditional-page-master-reference</li>
- <li>display-sequence </li>
- <li>external-graphic</li>
- <li>flow</li>
- <li>inline </li>
- <li>instream-foreign-object</li>
- <li>layout-master-set </li>
- <li>leader, but see <jump href="limitations.html">limitations</jump></li>
- <li>list-block </li>
- <li>list-item </li>
- <li>list-item-body </li>
- <li>list-item-label </li>
- <li>page-number </li>
- <li>page-number-citation, see <jump href="limitations.html">limitations</jump></li>
- <li>page-sequence </li>
- <li>page-sequence-master</li>
- <li>region-after </li>
- <li>region-before </li>
- <li>region-body </li>
- <li>repeatable-page-master-alternatives</li>
- <li>repeatable-page-master-reference</li>
- <li>root</li>
- <li>simple-page-master </li>
- <li>simple-link (internal and external)</li>
- <li>single-page-master-reference</li>
- <li>static-content </li>
- <li>table (minimal support)</li>
- <li>table-body (minimal support)</li>
- <li>table-cell (minimal support)</li>
- <li>table-column (minimal support)</li>
- <li>table-row (minimal support)</li>
- </ul>
+ <p>This section follows the table "B Formatting Object Summary" in the xsl:fo specification. At the
+ end of each sub-section you find listed what is not implemented.</p>
+
+ <s3 title="B.1 Declaration and Pagination and Layout Formatting Objects">
+ <ul>
+ <li>root</li>
+ <li>page-sequence </li>
+ <li>page-sequence-master</li>
+ <li>single-page-master-reference</li>
+ <li>repeatable-page-master-reference</li>
+ <li>repeatable-page-master-alternatives</li>
+ <li>conditional-page-master-reference</li>
+ <li>layout-master-set </li>
+ <li>simple-page-master </li>
+ <li>region-body </li>
+ <li>region-before </li>
+ <li>region-after </li>
+ <li>flow</li>
+ <li>static-content </li>
+ </ul>
+ <p>Not implemented: region-start, region-end, declarations, color-profile, title</p>
+ </s3>
+
+ <s3 title="B.2 Block Formatting Objects">
+ <ul>
+ <li>block </li>
+ </ul>
+ <p>Not implemented: block-container</p>
+ </s3>
+
+ <s3 title="B.3 Inline Formatting Objects">
+ <ul>
+ <li>external-graphic</li>
+ <li>inline</li>
+ <li>instream-foreign-object</li>
+ <li>leader, but see <jump href="limitations.html">limitations</jump></li>
+ <li>page-number </li>
+ <li>page-number-citation, see <jump href="limitations.html">limitations</jump></li>
+ </ul>
+ <p>Not implemented: bidi-override, character, initial-property-set, inline-container</p>
+ </s3>
+
+ <s3 title="B.4 Table Formatting Objects">
+ <ul>
+ <li>table (minimal support)</li>
+ <li>table-column (minimal support)</li>
+ <li>table-body (minimal support)</li>
+ <li>table-row (minimal support)</li>
+ <li>table-cell (minimal support)</li>
+ </ul>
+ <p>Not implemented: table-and-caption, table-caption, table-header, table-footer </p>
+ </s3>
+
+ <s3 title="B.5 List Formatting Objects">
+ <ul>
+ <li>list-block </li>
+ <li>list-item </li>
+ <li>list-item-body </li>
+ <li>list-item-label </li>
+ </ul>
+ </s3>
+
+ <s3 title="B.6 Link and Multi Formatting Objects">
+ <ul>
+ <li>basic-link (internal and external)</li>
+ </ul>
+ <p>Not implemented: multi-switch, multi-case, multi-toggle,
+ multi-properties, multi-property-set</p>
+ </s3>
+
+ <s3 title="B.7 Out-of-line Formatting Objects">
+ <p>Not implemented: float, footnote, footnote-body</p>
+ </s3>
+
+ <s3 title="B.8 Other Formatting Objects">
+ <p>Not implemented: wrapper, marker, retrieve-marker</p>
+ </s3>
</s2>
+
<s2 title="2) Properties">
+ <p>Property values can be computed</p>
<ul>
<li>background-color </li>
<li>blank-or-not-blank</li>
<li>space-before.optimum </li>
<li>src </li>
<li>start-indent </li>
+ <li>textdecoration (only value 'underline' is supported)</li>
<li>text-align </li>
<li>text-align-last </li>
<li>text-indent </li>
<!-- defines page layout -->
<fo:layout-master-set>
- <fo:simple-page-master master-name="first"
+ <fo:simple-page-master master-name="simple"
page-height="29.7cm"
page-width="21cm"
margin-top="1.5cm"
<fo:region-before extent="1.5cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
-
- <fo:simple-page-master master-name="rest"
- page-height="29.7cm"
- page-width="21cm"
- margin-top="1.5cm"
- margin-bottom="2cm"
- margin-left="2.5cm"
- margin-right="2.5cm">
- <fo:region-body margin-top="2.5cm"/>
- <fo:region-before extent="1.5cm"/>
- <fo:region-after extent="1.5cm"/>
- </fo:simple-page-master>
-
- <fo:page-sequence-master master-name="all">
- <fo:single-page-master-reference master-name="first"/>
- <fo:repeatable-page-master-reference master-name="rest"/>
- </fo:page-sequence-master>
-
</fo:layout-master-set>
- <fo:page-sequence master-name="all">
+ <fo:page-sequence master-name="simple">
<fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end"
font-size="10pt"
<fo:table-body font-size="12pt"
line-height="16pt"
font-family="sans-serif">
- <xsl:for-each select="//s1"> <!-- An dieser Stelle muesste noch ein "oder finde faqs" stehen -->
+ <xsl:for-each select="//s1">
<fo:table-row>
<fo:table-cell>
<fo:block text-align="end" >
</fo:table-cell>
<fo:table-cell>
<fo:block text-align="start" >
- <fo:simple-link color="blue">
+ <fo:basic-link color="blue">
<xsl:attribute name="internal-destination">
<xsl:value-of select="translate(.,' ),-.(','____')"/>
</xsl:attribute>
<xsl:value-of select="@title"/>
- </fo:simple-link>
+ </fo:basic-link>
</fo:block>
</fo:table-cell>
</fo:table-row>
line-height="18pt"
space-before.optimum="10pt"
space-after.optimum="9pt"
- text-align="center"
+ text-align="start"
padding-top="3pt">
<xsl:value-of select="@title"/>
</fo:block>
<!-- jump (links) -->
<xsl:template match ="*/jump">
- <fo:simple-link color="blue" external-destination="{@href}">
+ <fo:basic-link color="blue" external-destination="{@href}">
<xsl:apply-templates/>
- </fo:simple-link>
+ </fo:basic-link>
</xsl:template>