Revision: 7836
Author: victormote
Date: 2006-08-27 12:28:25 -0700 (Sun, 27 Aug 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7836&view=rev
Log Message:
-----------
Conform to some minor axsl changes.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphLadderCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java 2006-08-21 00:21:41 UTC (rev 7835)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java 2006-08-27 19:28:25 UTC (rev 7836)
@@ -91,7 +91,7 @@
switch (keyword) {
case Constants.FOVAL_AUTO: {
// AUTO only applies to glyph-orientation-vertical
- return -1;
+ return Short.MIN_VALUE;
}
case Constants.FOVAL_INHERIT: {
return getValueNoInstance(context, fobj, axis);
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphLadderCount.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphLadderCount.java 2006-08-21 00:21:41 UTC (rev 7835)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphLadderCount.java 2006-08-27 19:28:25 UTC (rev 7836)
@@ -38,7 +38,7 @@
public class HyphLadderCount extends Property {
- public static final int NO_LIMIT_VALUE = 2147483647;
+ public static final int NO_LIMIT_VALUE = Integer.MAX_VALUE;
private static final short[] validKeywords = {
Constants.FOVAL_NO_LIMIT,
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java 2006-08-21 00:21:41 UTC (rev 7835)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java 2006-08-27 19:28:25 UTC (rev 7836)
@@ -41,7 +41,7 @@
private static final short[] validKeywords = {
Constants.FOVAL_XSL_PRECEDING,
Constants.FOVAL_XSL_FOLLOWING,
- Constants.FOVAL_ANY,
+ Constants.FOVAL_XSL_ANY,
};
public SwitchTo(final PropertyList propertyList, final short enumeration,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|