aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-02-11 10:45:24 +0000
committerJeremias Maerki <jeremias@apache.org>2005-02-11 10:45:24 +0000
commit47e43d9be9f76e2aac90754f8d2d1cb59e278d82 (patch)
tree8c016f4423586d0e5a47c6510a0d1b8473ecb21e /src/java/org/apache/fop/fo
parent8aec6b9ed0421d17864c03636c2a977734da30b6 (diff)
downloadxmlgraphics-fop-47e43d9be9f76e2aac90754f8d2d1cb59e278d82.tar.gz
xmlgraphics-fop-47e43d9be9f76e2aac90754f8d2d1cb59e278d82.zip
Implemented table-omit-header-at-break. The same for footers comes later when page breaking is revisited.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198418 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo')
-rw-r--r--src/java/org/apache/fop/fo/flow/Table.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Table.java b/src/java/org/apache/fop/fo/flow/Table.java
index d82a14631..15b402fa6 100644
--- a/src/java/org/apache/fop/fo/flow/Table.java
+++ b/src/java/org/apache/fop/fo/flow/Table.java
@@ -179,6 +179,16 @@ public class Table extends FObj {
public TableBody getTableFooter() {
return tableFooter;
}
+
+ /** @return true if the table-header should be omitted at breaks */
+ public boolean omitHeaderAtBreak() {
+ return (this.tableOmitHeaderAtBreak == EN_TRUE);
+ }
+
+ /** @return true if the table-footer should be omitted at breaks */
+ public boolean omitFooterAtBreak() {
+ return (this.tableOmitFooterAtBreak == EN_TRUE);
+ }
/**
* @return the "inline-progression-dimension" property.