Depends on the FOP version you're using. Two examples found in the distribution:
FOP 0.92 and later: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/fo/basic/pdfoutline.fo?view=markup Docs: http://www.w3.org/TR/xsl11/#fo_bookmark-tree FOP 0.20.5: http://svn.apache.org/viewvc/xmlgraphics/fop/tags/fop-0_20_5/examples/fo/basic/pdfoutline.fo?view=markup Docs: http://xmlgraphics.apache.org/fop/0.20.5/extensions.html#bookmarks It's very simple. Just add "id" properties on the element you want to point to in the PDF bookmark tree. Then reference them with the "internal-destination" property on fo:bookmark (or fox:outline in 0.20.5). What you use as values for the "id" properties is really up to you. On 15.08.2006 09:17:38 paul wrote: > Hello all > I am new at FOP and currently I am trying to add the bookmarks-feature in my > fop-produced pdf-documents. Can someone point me out a good place where I can > see how this is done? My otherwise very useful book leaves me alone here, and > the example that comes with the fop distribution I find difficult to > understand. > thanks for your help > cheers > paul > > ps or maybe you want to post such an example, if you have one handy? It would > be > nice if it would explain the id-generation. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
