From: Jeremias Maerki Date: Wed, 9 Feb 2005 11:47:42 +0000 (+0000) Subject: Accessor for table-layout property. X-Git-Tag: Root_Temp_KnuthStylePageBreaking~105 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=04f756340ca0aef20facdc39e6f7844d06c47ea9;p=xmlgraphics-fop.git Accessor for table-layout property. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198402 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/flow/Table.java b/src/java/org/apache/fop/fo/flow/Table.java index d509a3d80..ebaa0ce1f 100644 --- a/src/java/org/apache/fop/fo/flow/Table.java +++ b/src/java/org/apache/fop/fo/flow/Table.java @@ -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; }