You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2003/09/11 14:01:48 UTC

DO NOT REPLY [Bug 23099] New: - Computed contents inside of basic-link doesn't create a link

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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23099

Computed contents inside of basic-link doesn't create a link

           Summary: Computed contents inside of basic-link doesn't create a
                    link
           Product: Fop
           Version: 0.20.5
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: obecker@informatik.hu-berlin.de
                CC: obecker@informatik.hu-berlin.de


It seems that computed contents of a fo:basic-link element does not create
a link in the rendered output. This happens at least with fo:leader and
fo:page-number-citation.

I want to generate an index, linking the page numbers with the occurences
of the keywords like this:
<fo:basic-link internal-destination="{generate-id()}">
  <fo:page-number-citation ref-id="{generate-id()}" />
</fo:basic-link>
No success.

If static text occurs within the link, only this text acts as the link anchor,
for examples in a table of contents (simplified):
<fo:basic-link internal-destination="{generate-id()}">
  <xsl:value-of select="." />   <!-- ok -->
  <fo:leader ... />             <!-- not ok, i.e. not linked -->
  <fo:page-number-citation ref-id="{generate-id()}" />  <!-- dito -->
</fo:basic-link>