xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vhenneb...@apache.org
Subject svn commit: r504602 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java
Date Wed, 07 Feb 2007 16:13:54 GMT
Author: vhennebert
Date: Wed Feb  7 08:13:54 2007
New Revision: 504602

URL: http://svn.apache.org/viewvc?view=rev&rev=504602
Log:
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.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java?view=diff&rev=504602&r1=504601&r2=504602
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/flow/Table.java Wed Feb  7 08:13:54 2007
@@ -130,7 +130,12 @@
         //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;



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message