aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/table/RowGroupBuilder.java
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2008-02-25 11:30:43 +0000
committerVincent Hennebert <vhennebert@apache.org>2008-02-25 11:30:43 +0000
commit5250c87d0ea8ff16a23973244a3c9a410f44272b (patch)
treee0fa6daecfb2a674f0a9d5a3226ce3e26dead3ce /src/java/org/apache/fop/fo/flow/table/RowGroupBuilder.java
parentd28d3ac902aecdb442cfb2f01986bcb1a1b30f04 (diff)
downloadxmlgraphics-fop-5250c87d0ea8ff16a23973244a3c9a410f44272b.tar.gz
xmlgraphics-fop-5250c87d0ea8ff16a23973244a3c9a410f44272b.zip
- added full support for keep-with-previous on table-row and in table-cell
- added more testcases for keeps in tables - assign the right table-row element to grid units that are not on the first row spanned - slightly re-worked the RowGroupBuilder interface to make it more SAX-like git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630814 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/table/RowGroupBuilder.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/table/RowGroupBuilder.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/RowGroupBuilder.java b/src/java/org/apache/fop/fo/flow/table/RowGroupBuilder.java
index 3f7549787..c954be711 100644
--- a/src/java/org/apache/fop/fo/flow/table/RowGroupBuilder.java
+++ b/src/java/org/apache/fop/fo/flow/table/RowGroupBuilder.java
@@ -53,16 +53,14 @@ abstract class RowGroupBuilder {
*
* @param tableRow the row being started
*/
- abstract void startRow(TableRow tableRow);
+ abstract void startTableRow(TableRow tableRow);
/**
* Receives notification of the end of the current row. If the current row finishes
* the row group, the {@link TableBody#addRowGroup(List)} method of the parent table
* part will be called.
- *
- * @param row the row being finished
*/
- abstract void endRow(TableRow row);
+ abstract void endTableRow();
/**
* Receives notification of the end of the current row, when the source contains no
@@ -70,7 +68,7 @@ abstract class RowGroupBuilder {
* {@link TableBody#addRowGroup(List)} method of the given table part will be called.
*
* <p>If the source does contain explicit fo:table-row elements, then the
- * {@link #endRow(TableRow)} method will be called instead.</p>
+ * {@link #endTableRow()} method will be called instead.</p>
*
* @param part the part containing the current row
*/
@@ -95,8 +93,7 @@ abstract class RowGroupBuilder {
/**
* Receives notification of the end of the table.
*
- * @param lastTablePart the last part of the table
* @throws ValidationException if a row-spanning cell overflows one of the table's parts
*/
- abstract void endTable(TableBody lastTablePart) throws ValidationException;
+ abstract void endTable() throws ValidationException;
}