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 2008/06/05 10:47:06 UTC

DO NOT REPLY [Bug 45134] New: FOP unwarranted page split on table with numbre-rows-spanned

https://issues.apache.org/bugzilla/show_bug.cgi?id=45134

           Summary: FOP unwarranted page split on table with numbre-rows-
                    spanned
           Product: Fop
           Version: 1.0dev
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: page-master/layout
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: guillaume.levrero@free.fr


Created an attachment (id=22077)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22077)
FO to reproduce issue.

Hi

I have a use-case where three successive tables with number-rows-spanned that
should fit in one page are actually split across two pages .
The same three successive tables with NO number-rows-spanned fit in one page.

See inclused FO.

Thanks.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 45134] FOP unwarranted page split on table with numbre-rows-spanned

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45134

--- Comment #4 from chuck.mccallum+fop@jove.com ---
I found this bug via
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/201103.mbox/browser. 

It's ugly, but if anyone needs an ad-hoc work-around, you can add an invisible
"word" of non-breaking spaces so that the content of the cell actually spans as
many rows as have been allotted for it. ie, replace

<fo:table-cell number-rows-spanned="2">
   <fo:block>Too short!</fo:block>
</fo:table-cell>

with

<fo:table-cell number-rows-spanned="2">
   <fo:block>Too short &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;</fo:block> 
</fo:table-cell>

The invisible word gets line wrapped, assuming your table is narrow enough, and
the new block of text is not vulnerable to page-breaking from this bug.

For what that's worth.

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 45134] FOP unwarranted page split on table with numbre-rows-spanned

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45134

--- Comment #2 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:41:23 UTC ---
resetting P2 open bugs to P3 pending further review

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 45134] FOP unwarranted page split on table with numbre-rows-spanned

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45134

Glenn Adams <ga...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW

--- Comment #3 from Glenn Adams <ga...@apache.org> 2012-04-11 06:16:35 UTC ---
change status from ASSIGNED to NEW for consistency

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 45134] FOP unwarranted page split on table with numbre-rows-spanned

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45134

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 45134] FOP unwarranted page split on table with numbre-rows-spanned

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45134


Vincent Hennebert <vi...@anyware-tech.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #1 from Vincent Hennebert <vi...@anyware-tech.com>  2008-06-05 03:56:23 PST ---
Hi,

Thanks for the bug report and the clean testcase. It's probably a duplicate of
bug #45047 but I need to further investigate to be sure. Basically the fixed
heights set on table-row elements are creating trouble. If you remove them you
get the same result without the spurious page.

I can imagine the stepping effect you want to achieve by setting heights on the
table rows. I guess you're not happy with the result FOP currently produces
(without regards to the spurious page)? :-\

Vincent


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.