aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xml-docs/fop/extensions.xml
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2001-02-06 10:29:18 +0000
committerfotis <fotis@unknown>2001-02-06 10:29:18 +0000
commit466409074cd52f482bd1730ff825746dddd57d04 (patch)
tree81c2a07a068c31f46eadb1fe3a8c32978ce5816b /docs/xml-docs/fop/extensions.xml
parent5685e60c1789adc7a005ec2418463d5ea09a29d4 (diff)
downloadxmlgraphics-fop-466409074cd52f482bd1730ff825746dddd57d04.tar.gz
xmlgraphics-fop-466409074cd52f482bd1730ff825746dddd57d04.zip
adding description of extensions
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194027 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/xml-docs/fop/extensions.xml')
-rw-r--r--docs/xml-docs/fop/extensions.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/xml-docs/fop/extensions.xml b/docs/xml-docs/fop/extensions.xml
new file mode 100644
index 000000000..8a8ae2b6c
--- /dev/null
+++ b/docs/xml-docs/fop/extensions.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" standalone="no"?>
+
+
+<s1 title="FOP extensions to xsl:fo">
+ <p>Sometimes it is desirable to have extensions to xsl:fo in order to support some feature of the
+ output format which isn't covered by the xsl:fo specification.
+ To use the Fop extensions, you need to add a namespace entry for
+ http://xml.apache.org/fop/extensions on the root element. </p>
+ <s2 title="Bookmarks">
+ <p>You can provide outlines inside the root object (but outside any page-sequences or
+ other formatting objects). Here's an example of an outline entry:</p>
+
+ <p><code>&lt;fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
+ &#160;&#160; xmlns:fox="http://xml.apache.org/fop/extensions"></code></p>
+ <p><code>&lt;fox:outline internal-destination="sec3"></code></p>
+ <p><code>&#160;&#160; &lt;fox:label>Running FOP&lt;/fox:label></code></p>
+
+ <p><code>&#160;&#160;&lt;fox:outline internal-destination="sec3-1"></code></p>
+ <p><code>&#160;&#160;&#160;&#160;&lt;fox:label>Prerequisites&lt;/fox:label></code></p>
+ <p><code>&#160;&#160;&lt;/fox:outline></code></p>
+ <p><code>&lt;fox:outline></code></p>
+ <p><code>&lt;/fo:root></code></p>
+ <p>It works similarly to a basic-link. There is also an external-destination
+ property, but it isn't supported currently.</p>
+ </s2>
+</s1>
+