Commit Graph

14 Commits

Author SHA1 Message Date
Vincent Hennebert
70d511b80f rowStarted doesn't need to be set in the signalNewRow method. If it is, it will prevent the startTablePart event from being triggered on RowGroupBuilder, in addChildNode. This will lead to a NPE being thrown in CollapsingBorderResolver because it would be improperly set up.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628140 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 18:33:12 +00:00
Vincent Hennebert
05121561b1 Added license header
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@614966 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 19:59:20 +00:00
Vincent Hennebert
e977dbf568 Replaced 'non-lead' with 'normal'
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@614964 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 19:56:05 +00:00
Vincent Hennebert
58868131c9 Added support for conditional borders (and paddings) in tables.
The proper borders are not selected yet between the header/footer and the body. There might still be a few glitches in some cases


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@614566 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 15:22:05 +00:00
Vincent Hennebert
63bca7dc46 Testcase for the resolution of collapsed and conditional borders in the FO tree
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@604475 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 18:16:01 +00:00
Vincent Hennebert
335f9a3502 Added check for table-cells which span more rows than available in their parent element
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592392 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 11:53:38 +00:00
Vincent Hennebert
ac5c958502 Slightly reworked too-many-columns_body_3 testcase, added testcase for a cell that spans too many columns (too-many-columns_body_4)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592387 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 11:36:42 +00:00
Vincent Hennebert
a09f99a58e Updated the warning messages
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592067 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 16:27:54 +00:00
Vincent Hennebert
71557fd0a6 Renamed TableRowIterator* test cases into RowGroupBuilder*
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592060 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 16:10:43 +00:00
Vincent Hennebert
2a76212532 First step towards building row groups at the FO tree stage. The built row groups are currently not used and the TableRowIterator stuff remains unchanged; this allows for more atomic commits.
- introduced RowGroupBuilder hierarchy;
- moved TableRowIterator test cases into fotree, and integrated them in the test suite.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592058 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 16:07:45 +00:00
Vincent Hennebert
6f01fbd0f9 Reworked the creation of implicit columns to match new behaviour: the number of columns of a table without explicit fo:table-column is set by the row that has the most columns.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@591299 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 11:01:41 +00:00
Vincent Hennebert
a3d7ceee3d Testcases for fo:table-column
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@591063 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 15:57:50 +00:00
Vincent Hennebert
1b94caadec Additional testcases for too many columns, this time in header or footer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@590747 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 16:53:27 +00:00
Vincent Hennebert
fc34b198fd - Enforced check for proper number of columns in a table. Now if a table has explicit table-columns, those fix the total number of columns and any row having more columns will lead to an error.
- Set up a framework for unit-testing classes from the FO tree, and added some first testcases for the number of columns in tables.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@590705 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 15:06:35 +00:00