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

Last fo:page-number-citation not printed with break-before="page".

           Summary: Last fo:page-number-citation not printed with break-
                    before="page".
           Product: Fop
           Version: 0.20.4
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The fo:page-number-citation has a bug when used with break-before="page". In 
the following example, the last fo:page-number-citation is never printed. This 
is not linked to the size of the document or the number of page number. It is 
fixed when replacing break-before="page" by break-after="page".

<?xml version="1.0" encoding="ASCII"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
<fo:layout-master-set>
<fo:simple-page-master margin-right="2.5cm" margin-left="2.5cm" margin-
bottom="2cm" margin-top="1cm" page-width="21cm" page-height="29.7cm" master-
name="simple">
<fo:region-body margin-top="1.5cm"/>
<fo:region-before extent="3cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence initial-page-number="1" master-reference="simple">
<fo:static-content flow-name="xsl-region-before">
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block><fo:basic-link internal-destination="doc1" color="blue">Document 
1</fo:basic-link><fo:page-number-citation ref-id="doc1"/></fo:block>
<fo:block><fo:basic-link internal-destination="doc2" color="blue">Document 
2</fo:basic-link><fo:page-number-citation ref-id="doc2"/></fo:block>
<fo:block><fo:basic-link internal-destination="doc3" color="blue">Document 
3</fo:basic-link><fo:page-number-citation ref-id="doc3"/></fo:block>
<fo:block><fo:basic-link internal-destination="doc4" color="blue">Document 
4</fo:basic-link><fo:page-number-citation ref-id="doc4"/></fo:block>
<fo:block><fo:basic-link internal-destination="doc5" color="blue">Document 
5</fo:basic-link><fo:page-number-citation ref-id="doc5"/></fo:block>
<fo:block break-before="page" id="doc1">Document 1</fo:block>
<fo:block break-before="page" id="doc2">Document 2</fo:block>
<fo:block break-before="page" id="doc3">Document 3</fo:block>
<fo:block break-before="page" id="doc4">Document 4</fo:block>
<fo:block break-before="page" id="doc5">Document 5</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to