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/05/20 18:12:35 UTC
DO NOT REPLY [Bug 45047] New: Tables that begin with that begin with
multiple row span participants render other cells incorrectly
https://issues.apache.org/bugzilla/show_bug.cgi?id=45047
Summary: Tables that begin with that begin with multiple row span
participants render other cells incorrectly
Product: Fop
Version: all
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: john.plattiv@cerner.com
I am working to get row spanning tables to render correctly through fop. I
have ran the attached example through fop 0.20.5 as well as the 0.95beta and
still get the same problem. My problem is that I have a 3 row table with the
following set up
row 1
column 1 column 2 column 3
single cell, single cell with row span of 3, single cell with row span of 2
row 2
column 1
single cell with row span of 2
row 3
column 3
single cell
The bug is that my single cell on row 3 column 3 when rendered shows up in row
2 column 3.
Through some trial and error, I believe the issue has to due with the fact that
row 3 started with two row span participants. To test this I took the row
spanning off of the row spanning cell in row 2. This allowed my row 3 cell to
render in row 3 column 1, which is expected by taking off the row spanning in
the fo. Further, I reset my test and I did the same type of test by changing
the row spanning or row 1 column 2 to 2. This would leave it off of row 3.
This resulted in the row 2 column 1 spanning into row 3 as expected and row 3
column 3 rendering in column 2 as it should with the change row 1 column 2 row
span. This is how I came to my conclusion that the bug deals with a row that
starts with 2 row span participants.
--
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 45047] Fixed row height not taken into account if
the row doesn't contain any cell that starts /and/ ends on it
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45047
--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:41:42 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 45047] Fixed row height not taken into account if
the row doesn't contain any cell that starts /and/ ends on it
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45047
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 45047] Fixed row height not taken into account if
the row doesn't contain any cell that starts /and/ ends on it
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45047
Glenn Adams <ga...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
--- Comment #4 from Glenn Adams <ga...@apache.org> 2012-04-11 06:17:56 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 45047] Fixed row height not taken into account if
the row doesn'
t contain any cell that starts /and/ ends on it
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45047
Vincent Hennebert <vi...@anyware-tech.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Summary|Tables that begin with that |Fixed row height not taken
|begin with multiple row span|into account if the row
|participants render other |doesn't contain any cell
|cells incorrectly |that starts /and/ ends on it
--- Comment #2 from Vincent Hennebert <vi...@anyware-tech.com> 2008-05-22 04:16:34 PST ---
Hi,
There is indeed a bug regarding the second row's fixed height, which is not
taken into account. This bug will occur only when the row doesn't have any cell
that starts and ends on it (i.e., spans only one row).
But apart from that, what you're seeing accurately reflects the content of the
FO file, which is, if I may say, a bit particular. The border you see in row 3
cell 3 has been specified on the only cell of an /inner/ table defined inside
cell 3.3. This table doesn't have any fixed height, so it takes its natural
height, which appears to not fill the space available in cell 3.3. If you
instead specify the border on cell 3.3, then you have a normal-looking result.
It appears that on this example row 2 has zero height, because all the content
of cell 1.3 fits on row 1. And since all of the other cells of row 2 also span
row 3, they put all of their contents on row 3. (The spec doesn't say how
content should be allocated among the spanned rows.)
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.
DO NOT REPLY [Bug 45047] Tables that begin with that begin with
multiple row span participants render other cells incorrectly
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45047
--- Comment #1 from John Platt <jo...@cerner.com> 2008-05-20 09:14:44 PST ---
Created an attachment (id=21985)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=21985)
fo example of the issue
did not originally at the attachment
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.