Bug 6997 - [PATCH] Row-spanned row data breaks over a page within a column
Summary: [PATCH] Row-spanned row data breaks over a page within a column
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: 0.20.3
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-09 00:09 UTC by Matthew Mastracci
Modified: 2012-04-01 07:05 UTC (History)
1 user (show)



Attachments
This testcase appears broken (31.96 KB, text/plain)
2002-03-09 00:10 UTC, Matthew Mastracci
Details
This one appears to work (31.95 KB, text/plain)
2002-03-09 00:10 UTC, Matthew Mastracci
Details
Additionnal XFO testcase which is broken (71.39 KB, text/plain)
2002-05-16 11:09 UTC, Olivier Lange
Details
Additionnal XFO testcase which is broken, resulting broken PDF document (51.51 KB, application/octet-stream)
2002-05-16 11:10 UTC, Olivier Lange
Details
Page 5 and 7, Column-text " (266.89 KB, application/pdf)
2003-02-13 08:04 UTC, Mathias
Details
test case, added fo-file. (53.45 KB, text/xml)
2003-02-13 08:05 UTC, Mathias
Details
Possible fix for row-span breaks across a page (1.92 KB, patch)
2004-01-20 00:42 UTC, David Cato
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Mastracci 2002-03-09 00:09:59 UTC
The attached XSL:FO file renders in what I think is an incorrect manner with FOP
0.20.3.

The column itself ends up being split across two pages.  The row, however,
contains a column with "number-rows-spanned".  I thought that a column with
"number-rows-spanned" would be kept together across a page break- breaking in
the middle of the row seems to be an error.  I've tried adding the
keep-together="always" attribute and it still seems not to work.

The column cells with borders are where I think the problem is.
Comment 1 Matthew Mastracci 2002-03-09 00:10:26 UTC
Created attachment 1322 [details]
This testcase appears broken
Comment 2 Matthew Mastracci 2002-03-09 00:10:59 UTC
Created attachment 1323 [details]
This one appears to work
Comment 3 Olivier Lange 2002-05-16 11:09:23 UTC
Created attachment 1877 [details]
Additionnal XFO testcase which is broken
Comment 4 Olivier Lange 2002-05-16 11:10:52 UTC
Created attachment 1878 [details]
Additionnal XFO testcase which is broken, resulting broken PDF document
Comment 5 Olivier Lange 2002-05-16 11:21:15 UTC
I believe I experienced the same problem and sent an additionnal "broken" 
testcase XFO document. I also joined the resulting broken PDF; see end of page 
2.

The first cell of the row "16:15" is spanned across 9 rows (this cell holds the 
row-group header). This spanned row crosses the page boundary, but is 
neverthless rendered on end of page 2, overflowing the xsl-region-body and xsl-
footer reference areas. The cells of the subsequent rows, on page 3, are then 
shifted one column left.

In this testcase, I do not use any border properties.

The row that crosses the page boundary can be found between the '[BEGIN]' 
and '[END]' text markers within the testcase XFO document.
Comment 6 Mathias 2003-02-13 08:00:49 UTC
Row-span in fop does not work if any of the rows (that the row-span'ed cell 
spans over) is divided by a page-break.
It seems like the divided row is counted as two rows (leaving the last row 
without the column with the row-spanned cell).

Unfortunatelly, the obvious workaround, to set keep-together=always for the 
row, is not implemented....
Comment 7 Mathias 2003-02-13 08:04:35 UTC
Created attachment 4853 [details]
Page 5 and 7, Column-text "
Comment 8 Mathias 2003-02-13 08:05:10 UTC
Created attachment 4854 [details]
test case, added fo-file.
Comment 9 David Cato 2004-01-20 00:42:21 UTC
Created attachment 10014 [details]
Possible fix for row-span breaks across a page
Comment 10 Jeremias Maerki 2008-11-01 08:39:31 UTC
I'm not seeing any problems with the attached test cases anymore in FOP 0.95 after fixing them for XSL-FO conformance.
Comment 11 Glenn Adams 2012-04-01 07:05:40 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed