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 2003/11/17 07:53:01 UTC

DO NOT REPLY [Bug 24740] New: - extra piece of row beetween the header and the first row of a long table

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

extra piece of row beetween the header and the first row of a long table

           Summary: extra piece of row beetween the header and the first row
                    of a long table
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: pdrix@objectiva.fr


Hi!
I have found a bug with fo:table-header and long tables.
My table is a big one (say 2 ou 3 pages long), and I get an extra piece of row 
beetween the header and the first row, on each page after the first page.
See attachment small-document.pdf.
The bug comes from an extra level of nested blocks:

            <fo:table-row>
               <fo:table-cell  padding="0.097cm"  border-top="none" 
border="0.002cm  solid #000000">
                  <fo:block>
                     	<fo:block color="#000000" font-family="sans-serif" font-
size="12pt"  font-weight="bold">
                        data 
                        </fo:block>
                  </fo:block>
               </fo:table-cell>
            </fo:table-row>

See the complete source code in attachment small-document.fo.

If I delete this extra outer block, the problem disappears.
See attachments small-document-without-bug.pdf and small-document-without-bug.fo