From 2a762125322db82658fb650b131f80ed600fc93d Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Mon, 5 Nov 2007 16:07:45 +0000 Subject: 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 --- .../table/TableRowIterator_no-col_no-row_simple.fo | 196 +++++++++++++++ .../table/TableRowIterator_no-col_no-row_spans.fo | 122 ++++++++++ .../table/TableRowIterator_no-col_simple.fo | 257 ++++++++++++++++++++ .../table/TableRowIterator_no-col_spans.fo | 169 +++++++++++++ .../table/TableRowIterator_no-row_simple.fo | 201 ++++++++++++++++ .../table/TableRowIterator_no-row_spans.fo | 128 ++++++++++ .../unittests/table/TableRowIterator_simple.fo | 266 +++++++++++++++++++++ .../unittests/table/TableRowIterator_spans.fo | 175 ++++++++++++++ 8 files changed, 1514 insertions(+) create mode 100644 test/fotree/unittests/table/TableRowIterator_no-col_no-row_simple.fo create mode 100644 test/fotree/unittests/table/TableRowIterator_no-col_no-row_spans.fo create mode 100644 test/fotree/unittests/table/TableRowIterator_no-col_simple.fo create mode 100644 test/fotree/unittests/table/TableRowIterator_no-col_spans.fo create mode 100644 test/fotree/unittests/table/TableRowIterator_no-row_simple.fo create mode 100644 test/fotree/unittests/table/TableRowIterator_no-row_spans.fo create mode 100644 test/fotree/unittests/table/TableRowIterator_simple.fo create mode 100644 test/fotree/unittests/table/TableRowIterator_spans.fo (limited to 'test/fotree') diff --git a/test/fotree/unittests/table/TableRowIterator_no-col_no-row_simple.fo b/test/fotree/unittests/table/TableRowIterator_no-col_no-row_simple.fo new file mode 100644 index 000000000..0d35a2bb9 --- /dev/null +++ b/test/fotree/unittests/table/TableRowIterator_no-col_no-row_simple.fo @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + Cell 1 + Cell 2 + + + + + + + Cell 1 + Cell 3 + Cell 4 + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + Cell 5 + + + + + + + Cell 1 + Cell 1.2 + Cell 2 + Cell 3 + Cell 4 + + + Cell 5 + Cell 6 + Cell 7 + Cell 8 + Cell 9 + Cell 10 + + + + + + + Header 1 + Header 2 + + + Cell 1 + Cell 1.2 + Cell 2 + + + + + + + Footer 1 + Footer 2 + + + Cell 1 + Cell 1.2 + Cell 2 + + + + + + + Header 1 + Header 2 + + + Footer 1 + Footer 1.2 + Footer 2 + + + Cell 1 + Cell 2 + + + + + + + Header 1 + Header 2 + Header 3 + Header 4 + + + Footer 1 + Footer 2 + Footer 4 + Footer 5 + Footer 5 + Footer 6 + + + Cell 1 + Cell 2 + Cell 3 + Cell 4 + + + + + + + Header 1 + Header 2 + Header 3 + Header 4 + Header 5 + Header 6 + + + Footer 1 + Footer 2 + Footer 4 + Footer 5 + + + Cell 1 + Cell 2 + Cell 3 + Cell 4 + + + Cell 5 + Cell 6 + + + Cell 7 + Cell 8 + Cell 9 + Cell 10 + Cell 10 + Cell 11 + + + + + + diff --git a/test/fotree/unittests/table/TableRowIterator_no-col_no-row_spans.fo b/test/fotree/unittests/table/TableRowIterator_no-col_no-row_spans.fo new file mode 100644 index 000000000..f20e47eb5 --- /dev/null +++ b/test/fotree/unittests/table/TableRowIterator_no-col_no-row_spans.fo @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + Cell 1 + + + + + + + Cell 1 + Cell 2 + Cell 4 + + + + + + + Cell 1 + Cell 2 + Cell 4 + Cell 5 + Cell 6 + + + + + + + Cell 1 + Cell 2 + Cell 3 + Cell 5 + Cell 7 + + + + + + + Cell 1 + Cell 2 + Cell 3 + Cell 4 + Cell 5 + Cell 8 + Cell 9 + Cell 10 + + + + + + + Header 1 + Header 2 + Header 4 + + + Footer 1 + Footer 2 + Footer 3 + Footer 4 + Footer 6 + Footer 7 + + + Cell 1 + Cell 2 + Cell 3 + Cell 5 + Cell 6 + Cell 7 + Cell 8 + Cell 9 + Cell 10 + + + + + + diff --git a/test/fotree/unittests/table/TableRowIterator_no-col_simple.fo b/test/fotree/unittests/table/TableRowIterator_no-col_simple.fo new file mode 100644 index 000000000..dc1c24685 --- /dev/null +++ b/test/fotree/unittests/table/TableRowIterator_no-col_simple.fo @@ -0,0 +1,257 @@ + + + + + + + + + + + + + + + + Cell 1 + Cell 2 + + + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + + + + + + + Cell 1 + Cell 2 + + + + + Cell 3 + Cell 4 + + + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + + + Cell 5 + Cell 6 + + + Cell 7 + Cell 8 + + + Cell 9 + Cell 10 + + + + + + + + + Header 1 + Header 2 + + + + + Cell 1 + Cell 2 + + + + + + + + + Footer 1 + Footer 2 + + + + + Cell 1 + Cell 2 + + + + + + + + + Header 1 + Header 2 + + + + + Footer 1 + Footer 2 + + + + + Cell 1 + Cell 2 + + + + + + + + + Header 1 + Header 2 + + + Header 3 + Header 4 + + + + + Footer 1 + Footer 2 + + + Footer 4 + Footer 5 + + + Footer 5 + Footer 6 + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + + + + + + + Header 1 + Header 2 + + + Header 3 + Header 4 + + + Header 5 + Header 6 + + + + + Footer 1 + Footer 2 + + + Footer 4 + Footer 5 + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + + + Cell 5 + Cell 6 + + + + + Cell 7 + Cell 8 + + + Cell 9 + Cell 10 + + + Cell 10 + Cell 11 + + + + + + + diff --git a/test/fotree/unittests/table/TableRowIterator_no-col_spans.fo b/test/fotree/unittests/table/TableRowIterator_no-col_spans.fo new file mode 100644 index 000000000..67d218a02 --- /dev/null +++ b/test/fotree/unittests/table/TableRowIterator_no-col_spans.fo @@ -0,0 +1,169 @@ + + + + + + + + + + + + + + + + Cell 1 + + + + + + + + + Cell 1 + Cell 2 + + + Cell 4 + + + + + + + + + Cell 1 + Cell 2 + + + Cell 4 + + + Cell 5 + Cell 6 + + + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 5 + + + Cell 7 + + + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + Cell 5 + + + Cell 8 + + + Cell 9 + Cell 10 + + + + + + + + + Header 1 + Header 2 + + + Header 4 + + + + + Footer 1 + Footer 2 + + + Footer 3 + Footer 4 + + + Footer 6 + + + Footer 7 + + + + + Cell 1 + Cell 2 + + + Cell 3 + + + Cell 5 + Cell 6 + + + Cell 7 + Cell 8 + + + Cell 9 + + + Cell 10 + + + + + + + diff --git a/test/fotree/unittests/table/TableRowIterator_no-row_simple.fo b/test/fotree/unittests/table/TableRowIterator_no-row_simple.fo new file mode 100644 index 000000000..b7ab28e33 --- /dev/null +++ b/test/fotree/unittests/table/TableRowIterator_no-row_simple.fo @@ -0,0 +1,201 @@ + + + + + + + + + + + + + + + + + Cell 1 + Cell 2 + + + + + + + + Cell 1 + Cell 2 + Cell 3 + Cell 4 + + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + + + + + + Cell 1 + Cell 2 + Cell 3 + Cell 4 + + + Cell 5 + Cell 6 + Cell 7 + Cell 8 + Cell 9 + Cell 10 + + + + + + + + Header 1 + Header 2 + + + Cell 1 + Cell 2 + + + + + + + + Footer 1 + Footer 2 + + + Cell 1 + Cell 2 + + + + + + + + Header 1 + Header 2 + + + Footer 1 + Footer 2 + + + Cell 1 + Cell 2 + + + + + + + + Header 1 + Header 2 + Header 3 + Header 4 + + + Footer 1 + Footer 2 + Footer 4 + Footer 5 + Footer 5 + Footer 6 + + + Cell 1 + Cell 2 + Cell 3 + Cell 4 + + + + + + + + Header 1 + Header 2 + Header 3 + Header 4 + Header 5 + Header 6 + + + Footer 1 + Footer 2 + Footer 4 + Footer 5 + + + Cell 1 + Cell 2 + Cell 3 + Cell 4 + + + Cell 5 + Cell 6 + + + Cell 7 + Cell 8 + Cell 9 + Cell 10 + Cell 10 + Cell 11 + + + + + + diff --git a/test/fotree/unittests/table/TableRowIterator_no-row_spans.fo b/test/fotree/unittests/table/TableRowIterator_no-row_spans.fo new file mode 100644 index 000000000..83597dbbd --- /dev/null +++ b/test/fotree/unittests/table/TableRowIterator_no-row_spans.fo @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + Cell 1 + + + + + + + + Cell 1 + Cell 2 + Cell 4 + + + + + + + + Cell 1 + Cell 2 + Cell 4 + Cell 5 + Cell 6 + + + + + + + + Cell 1 + Cell 2 + Cell 3 + Cell 5 + Cell 7 + + + + + + + + Cell 1 + Cell 2 + Cell 3 + Cell 4 + Cell 5 + Cell 8 + Cell 9 + Cell 10 + + + + + + + + Header 1 + Header 2 + Header 4 + + + Footer 1 + Footer 2 + Footer 3 + Footer 4 + Footer 6 + Footer 7 + + + Cell 1 + Cell 2 + Cell 3 + Cell 5 + Cell 6 + Cell 7 + Cell 8 + Cell 9 + Cell 10 + + + + + + diff --git a/test/fotree/unittests/table/TableRowIterator_simple.fo b/test/fotree/unittests/table/TableRowIterator_simple.fo new file mode 100644 index 000000000..fb2e8c1b7 --- /dev/null +++ b/test/fotree/unittests/table/TableRowIterator_simple.fo @@ -0,0 +1,266 @@ + + + + + + + + + + + + + + + + + Cell 1 + Cell 2 + + + + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + + + + + + + + Cell 1 + Cell 2 + + + + + Cell 3 + Cell 4 + + + + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + + + Cell 5 + Cell 6 + + + Cell 7 + Cell 8 + + + Cell 9 + Cell 10 + + + + + + + + + + Header 1 + Header 2 + + + + + Cell 1 + Cell 2 + + + + + + + + + + Footer 1 + Footer 2 + + + + + Cell 1 + Cell 2 + + + + + + + + + + Header 1 + Header 2 + + + + + Footer 1 + Footer 2 + + + + + Cell 1 + Cell 2 + + + + + + + + + + Header 1 + Header 2 + + + Header 3 + Header 4 + + + + + Footer 1 + Footer 2 + + + Footer 4 + Footer 5 + + + Footer 5 + Footer 6 + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + + + + + + + + Header 1 + Header 2 + + + Header 3 + Header 4 + + + Header 5 + Header 6 + + + + + Footer 1 + Footer 2 + + + Footer 4 + Footer 5 + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + + + Cell 5 + Cell 6 + + + + + Cell 7 + Cell 8 + + + Cell 9 + Cell 10 + + + Cell 10 + Cell 11 + + + + + + + diff --git a/test/fotree/unittests/table/TableRowIterator_spans.fo b/test/fotree/unittests/table/TableRowIterator_spans.fo new file mode 100644 index 000000000..761d6e2e4 --- /dev/null +++ b/test/fotree/unittests/table/TableRowIterator_spans.fo @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + Cell 1 + + + + + + + + + + Cell 1 + Cell 2 + + + Cell 4 + + + + + + + + + + Cell 1 + Cell 2 + + + Cell 4 + + + Cell 5 + Cell 6 + + + + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 5 + + + Cell 7 + + + + + + + + + + Cell 1 + Cell 2 + + + Cell 3 + Cell 4 + + + Cell 5 + + + Cell 8 + + + Cell 9 + Cell 10 + + + + + + + + + + Header 1 + Header 2 + + + Header 4 + + + + + Footer 1 + Footer 2 + + + Footer 3 + Footer 4 + + + Footer 6 + + + Footer 7 + + + + + Cell 1 + Cell 2 + + + Cell 3 + + + Cell 5 + Cell 6 + + + Cell 7 + Cell 8 + + + Cell 9 + + + Cell 10 + + + + + + + -- cgit v1.2.3