DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40517>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40517

           Summary: link to a page-sequence doesn't work
           Product: Fop
           Version: 0.20.5
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I'm using the docbook-xsl stylesheets to create my XSL-FO files. FOP is not
handling links where the destination id is in a fo:page-sequence element. This
means that in the table of contents, the page numbers are missing for all the
chapter headings. Similarly, the cross-referencing is broken so clicking on the
chapter heading in the table of contents or the PDF bookmark doesn't work.

Looking at the generated XSL-FO, there is for example the following for the PDF
bookmark: <fox:outline
internal-destination="id219576"><fox:label>1.&#xA0;Introduction</fox:label>
And, similarly in the table of contents: <fo:basic-link
internal-destination="id219576">1. Introduction</fo:basic-link>
And the destination is in a fo:page-sequence:
<fo:page-sequence id="id219576"

I can hack around the problem by adding the id to the fo:block that surrounds
the title of the chapter later on the page but it'd be better if it could handle
the destination being in the page-sequence. I'm no expert on XSL-FO so I'm
assuming this is valid (and hence not a docbook-xsl bug).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to