From 692ba9ae389a092ffac93f0ab4859b1e55767bab Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 8 Feb 2005 16:16:48 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/fo/flow/TableCell.java | 7 +++++++ 1 file changed, 7 insertions(+) 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. */ -- 2.39.5