http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Download
Running FOP
Features
Limitations
Examples
Configuration
Fonts
Extensions

Compiling
Embedding
Getting involved
Architecture

Bugs
FAQ
Resources
License

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.

Bookmarks
 

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:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
               xmlns:fox="http://xml.apache.org/fop/extensions">
  <fox:outline internal-destination="sec3">
    <fox:label>Running FOP</fox:label>

    <fox:outline internal-destination="sec3-1">
      <fox:label>Prerequisites</fox:label>
    </fox:outline>
  <fox:outline>
</fo:root>

It works similarly to a basic-link. There is also an external-destination property, but it isn't supported currently. See the pdfoutline.fo file in docs/examples/fo for a more complete example.



Copyright © 1999 The Apache Software Foundation. All Rights Reserved.