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 2002/10/16 15:13:54 UTC

DO NOT REPLY [Bug 13691] New: - Bogus pagenumbers in ToC

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=13691>.
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=13691

Bogus pagenumbers in ToC

           Summary: Bogus pagenumbers in ToC
           Product: Fop
           Version: 0.20.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: js@ddre.dk


Whenever a normal page-number is generated, the number is generated using 
the PageNumberGenerator.java class from the package 
org.apache.fop.fo.pagination, which respects the format attribute of the 
ancestor page-sequence. (see:. XSL-FO 6.6.10).

When a pagenumber is generated for a ToC, the pagenumber is always 
generated using roman numerals as defined in 
org.apache.fop.fo.flow.PageNumberCitation.java, despite the  format 
attribute of the ancestor page-sequence. (see XSL-FO 6.6.11)

It should be quite easy to use the code from the PageNumberGenerator class, 
at least for people with enough experience in the code structure of FOP.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org