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 2007/11/22 10:35:01 UTC

DO NOT REPLY [Bug 43934] New: - keep-together breaks table on 2 pages. without keep-togetther table on 1 page.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43934>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43934

           Summary: keep-together breaks table on 2 pages. without keep-
                    togetther table on 1 page.
           Product: Fop
           Version: 0.94
          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


Rendering a simple table (1 column 2 rows) with different table-cell padding-top.

Without keep-together on the table-row, the flow is displayed on one page
With keep-together on the table-row, the table is broken over two pages.

Guillaume

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

DO NOT REPLY [Bug 43934] - keep-together breaks table on 2 pages. without keep-togetther table on 1 page.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43934>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43934


vincent.hennebert@anyware-tech.com changed:

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




------- Additional Comments From vincent.hennebert@anyware-tech.com  2007-11-22 03:40 -------
Hi Guillaume,

Thanks for the bug report and the simple examples.

Details: in ActiveCell.java, when keep-together is set on table-row, a single
box is created for the whole cell (makeBoxForWholeRow), taking the height of the
row as its length. But getNextStep returns the size of the box plus the
paddings, which are already taken into account in the box. That leads to wrong
element generation. In the given examples, the generated penalty has a non-zero
value which makes the corresponding break feasible and breaks the table.

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

DO NOT REPLY [Bug 43934] - keep-together breaks table on 2 pages. without keep-togetther table on 1 page.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43934>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43934





------- Additional Comments From guillaume.levrero@free.fr  2007-11-22 01:36 -------
Created an attachment (id=21174)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21174&action=view)
Table without keep-together


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

DO NOT REPLY [Bug 43934] - keep-together breaks table on 2 pages. without keep-togetther table on 1 page.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43934>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43934





------- Additional Comments From guillaume.levrero@free.fr  2007-11-22 01:36 -------
Created an attachment (id=21175)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21175&action=view)
Table with keep-together


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

DO NOT REPLY [Bug 43934] - keep-together breaks table on 2 pages. without keep-togetther table on 1 page.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43934>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43934


vincent.hennebert@anyware-tech.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From vincent.hennebert@anyware-tech.com  2008-01-23 07:23 -------
Fixed in rev. 614566 of the Trunk.

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