]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Method for checking if there's a column-number
authorJeremias Maerki <jeremias@apache.org>
Tue, 8 Feb 2005 16:16:48 +0000 (16:16 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 8 Feb 2005 16:16:48 +0000 (16:16 +0000)
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

index e39b23efb679e72773f7ec477d176499c646d6e3..2f417cc15fdae48649767358e7c0d6159267b56e 100644 (file)
@@ -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.
      */