You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xmlgraphics.apache.org by bu...@apache.org on 2008/03/21 13:05:45 UTC

DO NOT REPLY [Bug 44651] New: fo: bookmark will not allow a bookmark with same internal-destination

https://issues.apache.org/bugzilla/show_bug.cgi?id=44651

           Summary: fo:bookmark will not allow a bookmark with same
                    internal-destination
           Product: XMLGraphicsCommons
           Version: 1.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: PostScript
        AssignedTo: general@xmlgraphics.apache.org
        ReportedBy: philip.vallone@verizon.net
                CC: philip.vallone@verizon.net


Hello,

FOP Processor: 0.94 - fop.jar
Windows XP

If 2 or more bookmarks have the same internal-destination, the FOP will ignore
the previous bookmark and only display the last one. For Example:

<fo:bookmark-tree>
        <fo:bookmark internal-destination="toc-id">
                <fo:bookmark-title>COVER PAGE</fo:bookmark-title>
        </fo:bookmark>
        <fo:bookmark internal-destination="A2345">
                <fo:bookmark-title>WARNING PAGE</fo:bookmark-title>
        </fo:bookmark>
        <fo:bookmark internal-destination="toc-id">
                <fo:bookmark-title>TABLE OF CONTENTS</fo:bookmark-title>
        </fo:bookmark>
</fo:bookmark-tree>

FOP will send a warning:

Mar 21, 2008 7:50:37 AM org.apache.fop.render.pdf.PDFRenderer
renderBookmarkItem
WARNING: Bookmark with IDRef "toc-id" has a null PageViewport.

The PDF output will be:

WARNING PAGE
TABLE OF CONTENTS

Desires output:

COVER PAGE
WARNING PAGE
TABLE OF CONTENTS

Both "COVER PAGE" and "TABLE OF CONTENTS" should point to the same
internal-destination ("toc-id")

Its unclear to me if this is actually a bug. After reviewing the XSL-1.1 specs
I found for the fo:bookmark:

"No area may have more than one normal child area returned by the same
fo:bookmark formatting object."

Thank you,

Philip Vallone


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

---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 44651] fo: bookmark will not allow a bookmark with same internal-destination

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44651


Jeremias Maerki <je...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|general@xmlgraphics.apache.o|fop-
                   |rg                          |dev@xmlgraphics.apache.org
          Component|PostScript                  |pdf
            Product|XMLGraphicsCommons          |Fop
   Target Milestone|--                          |---
            Version|1.2                         |0.94




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

---------------------------------------------------------------------
Apache XML Graphics Project URL: http://xmlgraphics.apache.org/
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org