Bug 13691 - Bogus pagenumbers in ToC
Summary: Bogus pagenumbers in ToC
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.20.4
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-16 13:13 UTC by Jens Stanstrup
Modified: 2012-04-01 06:53 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Stanstrup 2002-10-16 13:13:53 UTC
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.
Comment 1 J.Pietschmann 2002-10-16 19:34:56 UTC
The problem is fixed in the CVS maintenance branch, page-number-citation uses
the formatted page number string now.
Comment 2 Glenn Adams 2012-04-01 06:53:10 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed