Bug 13691

Summary: Bogus pagenumbers in ToC
Product: Fop - Now in Jira Reporter: Jens Stanstrup <js>
Component: pdfAssignee: fop-dev
Status: CLOSED FIXED    
Severity: normal    
Priority: P3    
Version: 0.20.4   
Target Milestone: ---   
Hardware: All   
OS: All   

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