diff options
author | Glen Mazza <gmazza@apache.org> | 2003-12-28 17:10:17 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2003-12-28 17:10:17 +0000 |
commit | ad99c2eb30a8b8bb26e858a9a09b1465298147b0 (patch) | |
tree | 970703dbab601fd60777d4378b769f45edd20294 /src/java/org/apache/fop/fo/flow/TableColumn.java | |
parent | 9a9cc2318e78c79a0ddb9dbeeb56f2bd85b10dde (diff) | |
download | xmlgraphics-fop-ad99c2eb30a8b8bb26e858a9a09b1465298147b0.tar.gz xmlgraphics-fop-ad99c2eb30a8b8bb26e858a9a09b1465298147b0.zip |
Conversion of more properties from Strings to ints.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197072 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/TableColumn.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/TableColumn.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableColumn.java b/src/java/org/apache/fop/fo/flow/TableColumn.java index 4670a12b4..4d6eb7a78 100644 --- a/src/java/org/apache/fop/fo/flow/TableColumn.java +++ b/src/java/org/apache/fop/fo/flow/TableColumn.java @@ -138,17 +138,17 @@ public class TableColumn extends FObj { // this.propertyList.get("number-columns-spanned"); // this.propertyList.get("visibility"); - iColumnNumber = propertyList.get("column-number").getNumber().intValue(); + iColumnNumber = propertyList.get(PR_COLUMN_NUMBER).getNumber().intValue(); numColumnsRepeated = - propertyList.get("number-columns-repeated").getNumber().intValue(); + propertyList.get(PR_NUMBER_COLUMNS_REPEATED).getNumber().intValue(); this.backgroundColor = - this.propertyList.get("background-color").getColorType(); + this.propertyList.get(PR_BACKGROUND_COLOR).getColorType(); - Property prop = this.propertyList.get("column-width"); + Property prop = this.propertyList.get(PR_COLUMN_WIDTH); if (prop != null) { - columnWidthPropVal = propertyList.get("column-width").getLength(); + columnWidthPropVal = propertyList.get(PR_COLUMN_WIDTH).getLength(); // This won't include resolved table-units or % values yet. columnWidth = columnWidthPropVal.getValue(); |