]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
The spec explicitely does not specify what should be done when bpd is set to a differ...
authorVincent Hennebert <vhennebert@apache.org>
Wed, 7 Feb 2007 16:13:54 +0000 (16:13 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Wed, 7 Feb 2007 16:13:54 +0000 (16:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@504602 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/flow/Table.java

index 55fbcf5cf796755825169786f240940d6c0e1079..a6eb658eb887aa312b16b6c2f0778e56a53cb6a0 100644 (file)
@@ -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;