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 2001/09/04 19:54:20 UTC
[DO NOT REPLY: Bug 3414] New:
Multi-page tables overrun region-before and region-after
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3414
*** shadow/3414 Tue Sep 4 10:54:20 2001
--- shadow/3414.tmp.25044 Tue Sep 4 10:54:20 2001
***************
*** 0 ****
--- 1,141 ----
+ +============================================================================+
+ | Multi-page tables overrun region-before and region-after |
+ +----------------------------------------------------------------------------+
+ | Bug #: 3414 Product: Fop |
+ | Status: NEW Version: all |
+ | Resolution: Platform: PC |
+ | Severity: Critical OS/Version: Windows NT/2K |
+ | Priority: Other Component: general |
+ +----------------------------------------------------------------------------+
+ | Assigned To: fop-dev@xml.apache.org |
+ | Reported By: ddixon@leastsquares.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ When a table spans multiple pages, the first page is formatted correctly, but
+ on subsequent pages the table is rendered over the headers (region-before text)
+ and footers (region-after).
+
+ Sample code below -- cut the highlighted row and paste it a bunch of times (44
+ is a good number) to ensure multiple page-breaks.
+
+ -dd
+
+ <?xml version="1.0" encoding="UTF-8"?>
+ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+ <fo:layout-master-set>
+ <fo:simple-page-master page-width="21.6cm" page-height="28.0cm"
+ margin-left="2.5cm" margin-right="2.5cm" margin-top="0.0cm"
+ margin-bottom="0.0cm" master-name="first">
+ <fo:region-before precedence="true" extent="3.0cm"/>
+ <fo:region-body margin-top="0.0cm"/>
+ <fo:region-after precedence="true" extent="2.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <fo:page-sequence master-name="first">
+ <fo:static-content flow-name="xsl-region-before">
+ <fo:block line-height="16pt" font-size="12pt" text-align="end">
+ FOPTestServlet
+ </fo:block>
+ </fo:static-content>
+ <fo:static-content flow-name="xsl-region-after">
+ <fo:block line-height="16pt" font-size="12pt" display-align="center"
+ text-align="end">
+ Page
+ <fo:page-number/>
+ </fo:block>
+ </fo:static-content>
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block font-size="18pt" font-family="sans-serif" line-height="24pt"
+ space-after="15pt" background-color="white" color="black" text-align="center"
+ font-weight="normal" padding-top="0pt" >
+ This is the whole story
+ </fo:block>
+ <fo:table border-width="0.5pt" border-color="red" border-style="solid"
+ table-omit-footer-at-break="true" >
+ <fo:table-column column-width="5.5cm"/>
+ <fo:table-column column-width="5.5cm"/>
+ <fo:table-column column-width="5.5cm"/>
+ <fo:table-header>
+ <fo:table-row border-width="0.5pt" border-color="black"
+ border-style="solid">
+ <fo:table-cell display-align="center" padding-left="5pt"
+ padding-right="5pt" background-color="lightgray" border-color="black"
+ border-width="2pt" border-style="solid">
+ <fo:block font-size="18pt" font-family="sans-serif"
+ line-height="24pt" space-after="15pt" background-color="lightgray" color="black"
+ text-align="center" font-weight="bold" padding-top="0pt" >
+ Column 1
+ </fo:block>
+ </fo:table-cell>
+ <fo:table-cell display-align="center" padding-left="5pt"
+ padding-right="5pt" background-color="lightgray" border-color="black"
+ border-width="2pt" border-style="solid">
+ <fo:block font-size="18pt" font-family="sans-serif"
+ line-height="24pt" space-after="15pt" background-color="lightgray" color="black"
+ text-align="center" font-weight="bold" padding-top="0pt" >
+ Column 2
+ </fo:block>
+ </fo:table-cell>
+ <fo:table-cell display-align="center" padding-left="5pt"
+ padding-right="5pt" background-color="lightgray" border-color="black"
+ border-width="2pt" border-style="solid">
+ <fo:block font-size="18pt" font-family="sans-serif"
+ line-height="24pt" space-after="15pt" background-color="lightgray" color="black"
+ text-align="center" font-weight="bold" padding-top="0pt" >
+ Column 3
+ </fo:block>
+ </fo:table-cell>
+ </fo:table-row>
+ </fo:table-header>
+ <fo:table-body>
+
+ <!-- START ROW cut and page the following row 44 times
+ -->
+
+ <fo:table-row border-width="0.5pt" border-color="black"
+ border-style="solid">
+ <fo:table-cell display-align="center" padding-left="5pt"
+ padding-right="5pt" number-columns-spanned="1" border-color="black"
+ border-width="2pt" border-style="solid" background-color="white">
+ <fo:block font-size="18pt" font-family="sans-serif"
+ line-height="24pt" space-after="15pt" background-color="white" color="black"
+ text-align="center" font-weight="normal" padding-top="0pt" >
+ 1
+ </fo:block>
+ </fo:table-cell>
+ </fo:table-row>
+ <fo:table-row border-width="0.5pt" border-color="black"
+ border-style="solid">
+ <fo:table-cell display-align="center" padding-left="5pt"
+ padding-right="5pt" number-columns-spanned="1" border-color="black"
+ border-width="2pt" border-style="solid" background-color="white">
+ <fo:block font-size="18pt" font-family="sans-serif"
+ line-height="24pt" space-after="15pt" background-color="white" color="black"
+ text-align="center" font-weight="normal" padding-top="0pt" >
+ 2
+ </fo:block>
+ </fo:table-cell>
+ </fo:table-row>
+ <fo:table-row border-width="0.5pt" border-color="black"
+ border-style="solid">
+ <fo:table-cell display-align="center" padding-left="5pt"
+ padding-right="5pt" number-columns-spanned="1" border-color="black"
+ border-width="2pt" border-style="solid" background-color="white">
+ <fo:block font-size="18pt" font-family="sans-serif"
+ line-height="24pt" space-after="15pt" background-color="white" color="black"
+ text-align="center" font-weight="normal" padding-top="0pt" >
+ 3
+ </fo:block>
+ </fo:table-cell>
+ </fo:table-row>
+
+ <!-- END ROW -->
+
+ </fo:table-body>
+ </fo:table>
+ </fo:flow>
+ </fo:page-sequence>
+ </fo:root>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org