[FOray-commit] SF.net SVN: foray: [8546] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-01-30 03:13:03
|
Revision: 8546
http://svn.sourceforge.net/foray/?rev=8546&view=rev
Author: victormote
Date: 2007-01-29 19:13:03 -0800 (Mon, 29 Jan 2007)
Log Message:
-----------
Replace removed axsl constant with a FOray one.
Modified Paths:
--------------
trunk/foray/foray-common/src/java/org/foray/common/WKConstants.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
Modified: trunk/foray/foray-common/src/java/org/foray/common/WKConstants.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/WKConstants.java 2007-01-30 03:02:14 UTC (rev 8545)
+++ trunk/foray/foray-common/src/java/org/foray/common/WKConstants.java 2007-01-30 03:13:03 UTC (rev 8546)
@@ -155,6 +155,9 @@
* entirely safe as String instances are immutable. */
public static final String EMPTY_STRING = "";
+ /** Constant defining an invalid character value. */
+ public static final char INVALID_UNICODE_CHARACTER = Character.MAX_VALUE;
+
/**
* Private constructor. This is a utility class, and should never be
* instantiated.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-01-30 03:02:14 UTC (rev 8545)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-01-30 03:13:03 UTC (rev 8546)
@@ -28,6 +28,7 @@
package org.foray.fotree;
+import org.foray.common.WKConstants;
import org.foray.fotree.fo.obj.Region;
import org.foray.fotree.fo.prop.AbsoluteDimension;
import org.foray.fotree.fo.prop.AbsoluteOffset;
@@ -230,7 +231,7 @@
}
try {
final char[] firstTextSegment = fobj.firstTextSegment();
- char firstChar = org.axsl.fontR.Font.INVALID_UNICODE_CHARACTER;
+ char firstChar = WKConstants.INVALID_UNICODE_CHARACTER;
if (firstTextSegment != null && firstTextSegment.length > 0) {
firstChar = firstTextSegment[0];
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|