From: Jeremias Maerki Date: Tue, 8 Feb 2005 16:16:48 +0000 (+0000) Subject: Method for checking if there's a column-number X-Git-Tag: Root_Temp_KnuthStylePageBreaking~112 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=692ba9ae389a092ffac93f0ab4859b1e55767bab;p=xmlgraphics-fop.git Method for checking if there's a column-number git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198395 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/flow/TableCell.java b/src/java/org/apache/fop/fo/flow/TableCell.java index e39b23efb..2f417cc15 100644 --- a/src/java/org/apache/fop/fo/flow/TableCell.java +++ b/src/java/org/apache/fop/fo/flow/TableCell.java @@ -284,6 +284,13 @@ public class TableCell extends FObj { return commonBorderPaddingBackground; } + /** + * @return true if the "column-number" property was set. + */ + public boolean hasColumnNumber() { + return (columnNumber.getValue() >= 1); + } + /** * @return the "column-number" property. */