| the Apache XML site |
| Home |
| Development |

# Standard FOP Extensions | print-friendly PDF
SVG PDF Bookmarks Continued-label (for table-header/-footer By "extension", we mean any data that can be placed in the input XML document that is not addressed by the XSL-FO standard. By having a mechanism for supporting extensions, FOP is able to add features that are not covered in the specification. The extensions documented here are included with FOP, and are automatically available to you. If you wish to add an extension of your own to FOP, please see the Developers' Extension Page. Note All extensions required the correct use of an appropriate namespace in your input document. ### SVG Please see the SVG documentation for more details. ### PDF Bookmarks To use this standard FOP extension, you need to add a namespace entry for http://xml.apache.org/fop/extensions on the root element. 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 examples/fo/basic for a more complete example. ### Continued-label (for table-header/-footer Please see examples/fo/basic/contlabel.fo |

Copyright © 1999-2003 The Apache Software Foundation. All rights reserved.