aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2007-02-07 16:13:54 +0000
committerVincent Hennebert <vhennebert@apache.org>2007-02-07 16:13:54 +0000
commitb09b2d79d375dcc0f2134270958b3f60319c8747 (patch)
tree04fa39ca3fd3b2c14b74417c5dba5fc33273aca1 /src/java/org/apache/fop/fo
parent42c14d6c02efdbdf41ed828a6f44941965a83f3a (diff)
downloadxmlgraphics-fop-b09b2d79d375dcc0f2134270958b3f60319c8747.tar.gz
xmlgraphics-fop-b09b2d79d375dcc0f2134270958b3f60319c8747.zip
The spec explicitely does not specify what should be done when bpd is set to a different value than "auto" for fo:table. Display a warning that "auto" will be used as a fall back.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@504602 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.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Table.java b/src/java/org/apache/fop/fo/flow/Table.java
index 55fbcf5cf..a6eb658eb 100644
--- a/src/java/org/apache/fop/fo/flow/Table.java
+++ b/src/java/org/apache/fop/fo/flow/Table.java
@@ -130,7 +130,12 @@ public class Table extends TableFObj {
//Bind extension properties
widowContentLimit = pList.get(PR_X_WIDOW_CONTENT_LIMIT).getLength();
orphanContentLimit = pList.get(PR_X_ORPHAN_CONTENT_LIMIT).getLength();
-
+
+ if (!blockProgressionDimension.getOptimum(null).isAuto()) {
+ attributeWarning("only a value of \"auto\" for block-progression-dimension has a well-specified"
+ + " behavior on fo:table. Falling back to \"auto\"");
+ // Anyway, the bpd of a table is not used by the layout code
+ }
if (borderCollapse != EN_SEPARATE) {
//TODO Remove once the collapsing border is at least marginally working.
borderCollapse = EN_SEPARATE;