]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Accessor for table-layout property.
authorJeremias Maerki <jeremias@apache.org>
Wed, 9 Feb 2005 11:47:42 +0000 (11:47 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 9 Feb 2005 11:47:42 +0000 (11:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198402 13f79535-47bb-0310-9956-ffa450edef68

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

index d509a3d806815c1ad4d16e1ae2915492e634fde0..ebaa0ce1f46d86952495157f0d541be3cec9b390 100644 (file)
@@ -146,6 +146,11 @@ public class Table extends FObj {
         }
     }
 
+    /** @return true of table-layout="auto" */
+    public boolean isAutoLayout() {
+        return (tableLayout != EN_FIXED);
+    }
+    
     public List getColumns() {
         return columns;
     }