Revision: 7358
Author: victormote
Date: 2006-06-02 10:02:22 -0700 (Fri, 02 Jun 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7358&view=rev
Log Message:
-----------
Use new axsl Constant for absolute-position = "auto".
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java 2006-06-02 15:51:34 UTC (rev 7357)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java 2006-06-02 17:02:22 UTC (rev 7358)
@@ -45,8 +45,6 @@
Constants.FOVAL_INHERIT,
};
- public static final int KEYWORD_AUTO = -2147483648;
-
public AbsoluteOffset(PropertyList propertyList, short enumeration,
String propertyFullName, String attributeValue)
throws PropertyException {
@@ -79,7 +77,7 @@
short keyword = ((PropertyKeyword) value).getValue();
switch (keyword) {
case Constants.FOVAL_AUTO: {
- return KEYWORD_AUTO;
+ return Constants.ABSOLUTE_POSITION_AUTO;
}
case Constants.FOVAL_INHERIT: {
FObj parent = fobj.getFObjParent();
@@ -110,7 +108,7 @@
}
public static int getValueNoInstance() {
- return KEYWORD_AUTO;
+ return Constants.ABSOLUTE_POSITION_AUTO;
}
protected short[] getValidKeywords() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|