jeremias 2005/02/08 08:16:48
Modified: src/java/org/apache/fop/fo/flow TableCell.java
Log:
Method for checking if there's a column-number
Revision Changes Path
1.45 +7 -0 xml-fop/src/java/org/apache/fop/fo/flow/TableCell.java
Index: TableCell.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/TableCell.java,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- TableCell.java 8 Feb 2005 09:20:41 -0000 1.44
+++ TableCell.java 8 Feb 2005 16:16:48 -0000 1.45
@@ -285,6 +285,13 @@
}
/**
+ * @return true if the "column-number" property was set.
+ */
+ public boolean hasColumnNumber() {
+ return (columnNumber.getValue() >= 1);
+ }
+
+ /**
* @return the "column-number" property.
*/
public int getColumnNumber() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]