Title: PDF table of contents - possible with FOP?
thanks a lot, that saved my day ...
-----Ursprüngliche Nachricht-----
Von: Jens Posingies [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 27. Mai 2002 14:58
An: [EMAIL PROTECTED]
Betreff: AW: PDF table of contents - possible with FOP?

Here an xsl example, taken from my current project:
 
  <xsl:template match="chapter" mode="content">
    <fox:outline internal-destination="[EMAIL PROTECTED]}">
      <fox:label>
        <xsl:number count="chapter" level="multiple"/>
        <xsl:text>.</xsl:text><xsl:value-of select="title"/>
      </fox:label>
      <xsl:apply-templates select="chapter" mode="content"/>
    </fox:outline>
  </xsl:template>
Don't forget the name space:
xmlns:fox="http://xml.apache.org/fop/extensions" version="1.0"
 
This works with all FOP version I have used until now (0.18.1 - 0.20.3).
-----Ursprüngliche Nachricht-----
Von: Schweigl, Johann [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 27. Mai 2002 14:48
An: '[EMAIL PROTECTED]'
Betreff: PDF table of contents - possible with FOP?

Hi all,

is it possible to have Apache FOP generate a table of contents and maybe thumbnails for a PDF file? Is there any other FOP that can do that?

Best Regards,
Johann

Reply via email to