Thread: [FOray-commit] SF.net SVN: foray: [9131] trunk/foray (Page 10)
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-04-07 01:14:55
|
Revision: 9131
http://svn.sourceforge.net/foray/?rev=9131&view=rev
Author: victormote
Date: 2007-04-06 18:06:14 -0700 (Fri, 06 Apr 2007)
Log Message:
-----------
Conform to axsl changes for new generic LeaderPattern enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 00:46:22 UTC (rev 9130)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 01:06:14 UTC (rev 9131)
@@ -30,6 +30,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.common.FoValue;
+import org.axsl.common.LeaderPattern;
import org.axsl.common.RuleStyle;
import org.axsl.foR.FOText;
import org.axsl.foR.FObj;
@@ -176,11 +177,11 @@
* unintended side-effects of this override logic.
* @see FObj#traitLeaderPattern
*/
- public FoValue traitLeaderPattern() {
+ public LeaderPattern traitLeaderPattern() {
/* */
- if (traitGeneratedBy().traitLeaderPattern(this) == FoValue.RULE
+ if (traitGeneratedBy().traitLeaderPattern(this) == LeaderPattern.RULE
&& traitGeneratedBy().traitRuleThickness(this) <= 0) {
- return FoValue.SPACE;
+ return LeaderPattern.SPACE;
}
return traitGeneratedBy().traitLeaderPattern(this);
}
@@ -249,7 +250,7 @@
* and the start-edge of the next.
*/
public int actualWordSpacing() {
- if (traitLeaderPattern() == FoValue.DOTS) {
+ if (traitLeaderPattern() == LeaderPattern.DOTS) {
return dotLeaderPatternWidth()
- getCharWidth('.')
- getCharWidth(' ');
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 00:46:22 UTC (rev 9130)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 01:06:14 UTC (rev 9131)
@@ -40,6 +40,7 @@
import org.axsl.common.BorderStyle;
import org.axsl.common.Compass;
import org.axsl.common.FoValue;
+import org.axsl.common.LeaderPattern;
import org.axsl.common.Overflow;
import org.axsl.common.RelativeAxis;
import org.axsl.common.RuleStyle;
@@ -1293,10 +1294,29 @@
}
/**
+ * Converts an {@link FoValue} leader-pattern value to the more generic
+ * {@link LeaderPattern} value.
+ * @param foLeaderPattern The raw FO leader-pattern value to be converted.
+ * @return The matching LeaderPattern instance.
+ */
+ private static LeaderPattern convertLeaderPattern(
+ final FoValue foLeaderPattern) {
+ switch (foLeaderPattern) {
+ case SPACE: return LeaderPattern.SPACE;
+ case RULE: return LeaderPattern.RULE;
+ case DOTS: return LeaderPattern.DOTS;
+ case USE_CONTENT: return LeaderPattern.USE_CONTENT;
+ default: throw new IllegalArgumentException("Illegal leader-pattern "
+ + " value: " + foLeaderPattern.toXslFo());
+ }
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitLeaderPattern(final FOContext context) {
- return propertyList.getLeaderPattern(context);
+ public LeaderPattern traitLeaderPattern(final FOContext context) {
+ final FoValue foLeaderPattern = propertyList.getLeaderPattern(context);
+ return convertLeaderPattern(foLeaderPattern);
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-07 00:46:22 UTC (rev 9130)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-07 01:06:14 UTC (rev 9131)
@@ -137,7 +137,7 @@
}
case LEADER_PATTERN: {
if (parent != null) {
- return parent.traitLeaderPattern(context);
+ return parent.getPropertyList().getLeaderPattern(context);
}
return FoValue.SPACE;
}
@@ -388,7 +388,7 @@
return fobj.traitLeaderAlignment(context);
}
case LEADER_PATTERN: {
- return fobj.traitLeaderPattern(context);
+ return fobj.getPropertyList().getLeaderPattern(context);
}
case LINEFEED_TREATMENT: {
return fobj.traitLinefeedTreatment(context);
Modified: trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java 2007-04-07 00:46:22 UTC (rev 9130)
+++ trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java 2007-04-07 01:06:14 UTC (rev 9131)
@@ -34,7 +34,7 @@
import org.axsl.areaR.GeneralInlineArea;
import org.axsl.areaR.LeaderArea;
import org.axsl.areaR.TextArea;
-import org.axsl.common.FoValue;
+import org.axsl.common.LeaderPattern;
import org.axsl.common.RuleStyle;
import org.axsl.fontR.Font;
import org.axsl.fontR.FontConsumer;
@@ -172,10 +172,10 @@
// Handle text decoration.
renderGenericSpace(area);
- if (area.traitLeaderPattern() == FoValue.SPACE) {
+ if (area.traitLeaderPattern() == LeaderPattern.SPACE) {
return;
}
- if (area.traitLeaderPattern() == FoValue.DOTS) {
+ if (area.traitLeaderPattern() == LeaderPattern.DOTS) {
final char[] text = area.dotLeaderText();
if (text == null) {
return;
Modified: trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java 2007-04-07 00:46:22 UTC (rev 9130)
+++ trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java 2007-04-07 01:06:14 UTC (rev 9131)
@@ -415,7 +415,7 @@
final StringBuilder buffer = new StringBuilder();
outputGeneratedBy(area, buffer);
outputAttribute(buffer, "leader-pattern",
- area.traitLeaderPattern().toXslFo());
+ area.traitLeaderPattern().toString());
outputAttribute(buffer, "leader-length",
area.getProgressionDimension());
outputAttribute(buffer, "rule-thickness", area.traitRuleThickness());
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-07 02:56:39
|
Revision: 9134
http://svn.sourceforge.net/foray/?rev=9134&view=rev
Author: victormote
Date: 2007-04-06 19:56:40 -0700 (Fri, 06 Apr 2007)
Log Message:
-----------
Conform to axsl changes moving FO-related classes from Common to the FO Tree.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOTreeBuilder.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOrayFOTreeServer.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/ObjectMakerFO.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/foray/ObjectMakerExtensions.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/svg/ObjectMakerSVG.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/AbstractXmlProperty.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/PropertyMakerXML.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/prop/Lang.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PioneerLS.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FOTreeBuilder.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FOTreeBuilder.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FOTreeBuilder.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -35,7 +35,7 @@
import org.foray.fotree.svg.NamespaceSVG;
import org.foray.fotree.xml.NamespaceXML;
-import org.axsl.common.PropertyType;
+import org.axsl.foR.PropertyType;
import org.axsl.foR.FOTreeEvent;
import org.axsl.foR.FOTreeException;
import org.axsl.foR.FOTreeListener;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FOrayFOTreeServer.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FOrayFOTreeServer.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FOrayFOTreeServer.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -35,7 +35,7 @@
import org.foray.fotree.svg.NamespaceSVG;
import org.foray.fotree.xml.NamespaceXML;
-import org.axsl.common.PropertyType;
+import org.axsl.foR.PropertyType;
import org.axsl.foR.FOTreeFactory;
import org.axsl.graphicR.GraphicServer;
import org.axsl.text.TextServer;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -37,7 +37,7 @@
import org.foray.fotree.value.PropertyValue;
import org.axsl.foR.FoValue;
-import org.axsl.common.PropertyType;
+import org.axsl.foR.PropertyType;
/**
* Class representing an XSL-FO property. A Property consists of two parts:
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -148,9 +148,9 @@
import org.axsl.common.Compass;
import org.axsl.foR.FoProperty;
import org.axsl.foR.FoValue;
-import org.axsl.common.PropertyType;
+import org.axsl.foR.PropertyType;
import org.axsl.common.RelativeAxis;
-import org.axsl.common.XmlPropertyType;
+import org.axsl.foR.xml.XmlProperty;
import org.axsl.foR.FOContext;
import org.axsl.foR.ShadowEffect;
import org.axsl.foR.Shape;
@@ -2823,7 +2823,7 @@
if (property != null) {
return property.getValue(context, fobj);
}
- final Lang langProperty = (Lang) getProperty(XmlPropertyType.LANG);
+ final Lang langProperty = (Lang) getProperty(XmlProperty.LANG);
if (langProperty != null) {
property = langProperty.getLanguage();
if (property != null) {
@@ -2844,7 +2844,7 @@
if (property != null) {
return property.getValue(context, fobj);
}
- final Lang langProperty = (Lang) getProperty(XmlPropertyType.LANG);
+ final Lang langProperty = (Lang) getProperty(XmlProperty.LANG);
if (langProperty != null) {
property = langProperty.getCountry();
if (property != null) {
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/ObjectMakerFO.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/ObjectMakerFO.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/ObjectMakerFO.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -90,7 +90,7 @@
import org.foray.fotree.fo.obj.Title;
import org.foray.fotree.fo.obj.Wrapper;
-import org.axsl.common.FoObject;
+import org.axsl.foR.fo.FoObject;
import org.xml.sax.Locator;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/foray/ObjectMakerExtensions.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/foray/ObjectMakerExtensions.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/foray/ObjectMakerExtensions.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -32,7 +32,7 @@
import org.foray.fotree.PropertyList;
import org.foray.fotree.foray.obj.ContinuedLabel;
-import org.axsl.common.ExtensionObject;
+import org.axsl.foR.extension.ExtensionObject;
import org.xml.sax.Locator;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/svg/ObjectMakerSVG.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/svg/ObjectMakerSVG.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/svg/ObjectMakerSVG.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -33,7 +33,7 @@
import org.foray.fotree.PropertyListUnparsed;
import org.foray.fotree.svg.obj.SVGElement;
-import org.axsl.common.SvgObject;
+import org.axsl.foR.svg.SvgObject;
import org.xml.sax.Locator;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/AbstractXmlProperty.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/AbstractXmlProperty.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/AbstractXmlProperty.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -31,7 +31,7 @@
import org.foray.fotree.Property;
import org.foray.fotree.PropertyList;
-import org.axsl.common.XmlPropertyType;
+import org.axsl.foR.xml.XmlProperty;
/**
* Superclass for properties in the "xml:" namespace.
@@ -39,7 +39,7 @@
public abstract class AbstractXmlProperty extends Property {
/** The specific property type. */
- private XmlPropertyType propertyType;
+ private XmlProperty propertyType;
/**
* Constructor.
@@ -47,7 +47,7 @@
* @param propertyType The enumerated value for this property.
*/
public AbstractXmlProperty(final PropertyList propertyList,
- final XmlPropertyType propertyType) {
+ final XmlProperty propertyType) {
super(propertyList);
this.propertyType = propertyType;
}
@@ -56,7 +56,7 @@
* Returns the specific type for this property.
* @return The specific type for this property.
*/
- public XmlPropertyType getPropertyType() {
+ public XmlProperty getPropertyType() {
return this.propertyType;
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/PropertyMakerXML.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/PropertyMakerXML.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/PropertyMakerXML.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -33,7 +33,7 @@
import org.foray.fotree.PropertyList;
import org.foray.fotree.xml.prop.Lang;
-import org.axsl.common.XmlPropertyType;
+import org.axsl.foR.xml.XmlProperty;
/**
* Class for parsing attributes in the xml: namespace.
@@ -51,11 +51,11 @@
* @param inputPropertyName The property name to be enumerated.
* @return The enumerated value of the property name.
*/
- public static XmlPropertyType enumeratePropertyName(
+ public static XmlProperty enumeratePropertyName(
final String inputPropertyName) {
final String propertyName = Property.getBasePropertyName(
inputPropertyName);
- return XmlPropertyType.xmlValueOf(propertyName);
+ return XmlProperty.xmlValueOf(propertyName);
}
/**
@@ -71,7 +71,7 @@
throws PropertyException {
final String basePropertyName = Property.getBasePropertyName(
propertyFullName);
- final XmlPropertyType enumeration = enumeratePropertyName(
+ final XmlProperty enumeration = enumeratePropertyName(
basePropertyName);
final Property property = checkCompoundProperty(propertyList,
enumeration, propertyFullName, attributeValue);
@@ -104,7 +104,7 @@
*/
private static Property checkCompoundProperty(
final PropertyList propertyList,
- final XmlPropertyType enumeration, final String propertyFullName,
+ final XmlProperty enumeration, final String propertyFullName,
final String attributeValue) throws PropertyException {
switch (enumeration) {
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/prop/Lang.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/prop/Lang.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/prop/Lang.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -40,7 +40,7 @@
import org.axsl.foR.FoProperty;
import org.axsl.foR.FoValue;
-import org.axsl.common.XmlPropertyType;
+import org.axsl.foR.xml.XmlProperty;
import java.util.ArrayList;
import java.util.List;
@@ -65,7 +65,7 @@
* @throws PropertyException For an invalid property value.
*/
public Lang(final PropertyList propertyList,
- final XmlPropertyType enumeration,
+ final XmlProperty enumeration,
final String propertyFullName, final String attributeValue)
throws PropertyException {
super(propertyList, enumeration);
Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PioneerLS.java
===================================================================
--- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PioneerLS.java 2007-04-07 02:31:43 UTC (rev 9133)
+++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PioneerLS.java 2007-04-07 02:56:40 UTC (rev 9134)
@@ -38,7 +38,7 @@
import org.axsl.areaW.PageCollection;
import org.axsl.areaW.RegionArea;
import org.axsl.areaW.RegionRABody;
-import org.axsl.common.FoObject;
+import org.axsl.foR.fo.FoObject;
import org.axsl.foR.FoProperty;
import org.axsl.foR.FONode;
import org.axsl.foR.FOText;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-07 02:31:42
|
Revision: 9133
http://svn.sourceforge.net/foray/?rev=9133&view=rev
Author: victormote
Date: 2007-04-06 19:31:43 -0700 (Fri, 06 Apr 2007)
Log Message:
-----------
Conform to axsl changes moving FO-related classes to the FOTree.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/AbstractFoProperty.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/PropertyMakerFO.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentAdjust.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentBaseline.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AudioDial.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Azimuth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Background.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundColor.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundImage.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundPosition.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BaselineShift.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Boolean.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Border.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderSeparation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderSpacing.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderStyle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/CaseTitle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Character.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Clip.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Color.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnGap.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnNumber.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentType.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Country.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Cue.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DestinationPlacementOffset.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Dimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DisplayAlign.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DominantBaseline.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Elevation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Extent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ExternalDestination.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Font.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontFamily.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontSize.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontSizeAdjust.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontStretch.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontStyle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontVariant.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontWeight.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ForcePageCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Format.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GroupingSize.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/HyphPushCharCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphRemainCharCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Id.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Indent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/InitialPageNumber.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/InternalDestination.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Keep.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Language.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LastLineEndIndent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LeaderLength.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LeaderPatternWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LetterSpacing.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LineHeight.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Margin.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/MaximumRepeats.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Name.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/NumberColumnsRepeated.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/NumberColumnsSpanned.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/NumberRowsSpanned.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Orphans.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Padding.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/PageDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Pause.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Pitch.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/PlayDuring.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ProvDistanceBetween.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ProvLabelSeparation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RefId.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RegionName.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RelativeDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RelativeSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Role.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RuleThickness.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Script.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Size.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SourceDocument.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SpeechRate.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Src.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TableLayout.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TargetPresentationContext.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TargetProcessingContext.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TargetStylesheet.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlign.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlignLast.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAltitude.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextDecoration.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextDepth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextIndent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextShadow.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TreatAsWordSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/VerticalAlign.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/VoiceFamily.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Volume.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Widows.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/WordSpacing.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/WritingMode.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ZIndex.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtLengthConditional.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtRectangle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnFromParent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnInheritedProp.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnNearestSpecProp.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnProportionalColWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/PropertyCollection.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/PropertyKeyword.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/prop/Lang.java
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/fo/prop/TestForcePageCount.java
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/fo/prop/TestLineHeight.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PioneerLS.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -36,7 +36,7 @@
import org.axsl.common.AbsoluteDirection;
import org.axsl.common.Baseline;
import org.axsl.common.BorderStyle;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.LinkType;
import org.axsl.common.Overflow;
import org.axsl.common.RelativeAxis;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -31,7 +31,7 @@
import org.axsl.areaR.BlockContainerArea;
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FObj;
import org.axsl.foR.fo.BlockContainer;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -29,7 +29,7 @@
package org.foray.area;
import org.axsl.areaR.RenderVisitor;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.LeaderPattern;
import org.axsl.common.RuleStyle;
import org.axsl.foR.FOText;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -33,7 +33,7 @@
import org.axsl.common.AbsoluteAxis;
import org.axsl.common.Baseline;
import org.axsl.common.Compass;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FOContext;
import org.axsl.foR.FOText;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -31,7 +31,7 @@
import org.axsl.areaR.MainReferenceArea;
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FObj;
import org.axsl.foR.fo.Block;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -31,7 +31,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.PageArea;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FOTreeException;
import org.axsl.foR.fo.Marker;
import org.axsl.foR.fo.PageMasterResolver;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -35,7 +35,7 @@
import org.axsl.common.AbsoluteAxis;
import org.axsl.common.AbsoluteDirection;
import org.axsl.common.Compass;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FObj;
import org.axsl.foR.fo.Marker;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -30,7 +30,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FObj;
import org.axsl.foR.fo.RegionBody;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -32,7 +32,7 @@
import org.axsl.areaR.TableCellArea;
import org.axsl.areaW.AreaWException;
import org.axsl.common.BorderModel;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.BlockContainer;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -33,7 +33,7 @@
import org.axsl.areaR.TableArea;
import org.axsl.areaW.AreaWException;
import org.axsl.common.BorderModel;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FOContext;
import org.axsl.foR.fo.RetrieveMarker;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -32,7 +32,7 @@
import org.foray.common.XMLCharacter;
import org.axsl.areaR.RenderVisitor;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FONode;
import org.axsl.foR.FOTextContent;
import org.axsl.foR.FObj;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -32,7 +32,7 @@
import org.foray.common.XMLCharacter;
import org.foray.fotree.fo.obj.BookmarkTitle;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FOContext;
import org.axsl.foR.FOLineText;
import org.axsl.foR.ProxyFactory;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -39,7 +39,7 @@
import org.axsl.common.BorderModel;
import org.axsl.common.BorderStyle;
import org.axsl.common.Compass;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.LeaderPattern;
import org.axsl.common.Overflow;
import org.axsl.common.RelativeAxis;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -36,7 +36,7 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.common.PropertyType;
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -146,8 +146,8 @@
import org.axsl.common.AbsoluteAxis;
import org.axsl.common.AbsoluteDirection;
import org.axsl.common.Compass;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
import org.axsl.common.PropertyType;
import org.axsl.common.RelativeAxis;
import org.axsl.common.XmlPropertyType;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/AbstractFoProperty.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/AbstractFoProperty.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/AbstractFoProperty.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -32,7 +32,7 @@
import org.foray.fotree.PropertyList;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoProperty;
+import org.axsl.foR.FoProperty;
/**
* Superclass for properties in the "fo:" namespace.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/PropertyMakerFO.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/PropertyMakerFO.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/PropertyMakerFO.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -141,7 +141,7 @@
import org.foray.fotree.fo.prop.WritingMode;
import org.foray.fotree.fo.prop.ZIndex;
-import org.axsl.common.FoProperty;
+import org.axsl.foR.FoProperty;
/**
* Factory class for creating properties in the "fo:" (Formatting Objects)
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -32,7 +32,7 @@
import org.foray.fotree.Namespace;
import org.foray.fotree.PropertyList;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FOTreeException;
import org.axsl.foR.ProxyFactory;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -28,7 +28,7 @@
package org.foray.fotree.fo.obj;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoValue;
/**
* This class uses the 'format', 'groupingSeparator', 'groupingSize',
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -37,8 +37,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FOContext;
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 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -39,8 +39,8 @@
import org.foray.fotree.value.PropertyValue;
import org.axsl.common.Compass;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FOContext;
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentAdjust.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentAdjust.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentAdjust.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -40,8 +40,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FOContext;
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentBaseline.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentBaseline.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentBaseline.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -35,8 +35,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FOContext;
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AudioDial.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AudioDial.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AudioDial.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -37,8 +37,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FOContext;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Azimuth.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Azimuth.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Azimuth.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -37,8 +37,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FOContext;
import java.util.StringTokenizer;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Background.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Background.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Background.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -39,8 +39,8 @@
import org.foray.fotree.value.PropertyCollection;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
import java.util.ArrayList;
import java.util.List;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundColor.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundColor.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundColor.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -33,8 +33,8 @@
import org.foray.fotree.value.DtColor;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
/**
* The "background-color" property in XSL-FO.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundImage.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundImage.java 2007-04-07 01:12:44 UTC (rev 9132)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundImage.java 2007-04-07 02:31:43 UTC (rev 9133)
@@ -36,8 +36,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.FoProperty;
-import org.axsl.common.FoValue;
+import org.axsl.foR.FoProperty;
+import org.axsl.foR.FoValue;
import org.axsl.foR.FOContext;
import org.axsl.graphicR.Graphic;
import org.axsl.graphicR.GraphicException;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundPosition.java
===================================================================
--- tru...
[truncated message content] |
|
From: <vic...@us...> - 2007-04-07 03:38:06
|
Revision: 9135
http://svn.sourceforge.net/foray/?rev=9135&view=rev
Author: victormote
Date: 2007-04-06 20:38:05 -0700 (Fri, 06 Apr 2007)
Log Message:
-----------
Conform to axsl changes moving FO-namespace classes to the fo-namespace package.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/AbstractFoProperty.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/PropertyMakerFO.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentAdjust.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentBaseline.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AudioDial.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Azimuth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Background.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundColor.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundImage.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundPosition.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BaselineShift.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Boolean.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Border.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderSeparation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderSpacing.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderStyle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/CaseTitle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Character.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Clip.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Color.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnGap.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnNumber.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentType.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Country.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Cue.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DestinationPlacementOffset.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Dimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DisplayAlign.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DominantBaseline.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Elevation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Extent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ExternalDestination.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Font.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontFamily.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontSize.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontSizeAdjust.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontStretch.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontStyle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontVariant.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontWeight.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ForcePageCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Format.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GroupingSize.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/HyphPushCharCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphRemainCharCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Id.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Indent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/InitialPageNumber.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/InternalDestination.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Keep.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Language.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LastLineEndIndent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LeaderLength.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LeaderPatternWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LetterSpacing.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LineHeight.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Margin.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/MaximumRepeats.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Name.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/NumberColumnsRepeated.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/NumberColumnsSpanned.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/NumberRowsSpanned.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Orphans.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Padding.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/PageDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Pause.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Pitch.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/PlayDuring.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ProvDistanceBetween.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ProvLabelSeparation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RefId.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RegionName.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RelativeDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RelativeSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Role.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RuleThickness.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Script.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Size.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SourceDocument.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SpeechRate.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Src.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SwitchTo.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TableLayout.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TargetPresentationContext.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TargetProcessingContext.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TargetStylesheet.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlign.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlignLast.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAltitude.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextDecoration.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextDepth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextIndent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextShadow.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TreatAsWordSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/VerticalAlign.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/VoiceFamily.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Volume.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Widows.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/WordSpacing.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/WritingMode.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ZIndex.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtLengthConditional.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtRectangle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnFromParent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnInheritedProp.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnNearestSpecProp.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnProportionalColWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/PropertyCollection.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/PropertyKeyword.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/prop/Lang.java
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/fo/prop/TestForcePageCount.java
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/fo/prop/TestLineHeight.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PioneerLS.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -36,7 +36,7 @@
import org.axsl.common.AbsoluteDirection;
import org.axsl.common.Baseline;
import org.axsl.common.BorderStyle;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.LinkType;
import org.axsl.common.Overflow;
import org.axsl.common.RelativeAxis;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -31,7 +31,7 @@
import org.axsl.areaR.BlockContainerArea;
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FObj;
import org.axsl.foR.fo.BlockContainer;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -29,7 +29,7 @@
package org.foray.area;
import org.axsl.areaR.RenderVisitor;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.LeaderPattern;
import org.axsl.common.RuleStyle;
import org.axsl.foR.FOText;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -33,7 +33,7 @@
import org.axsl.common.AbsoluteAxis;
import org.axsl.common.Baseline;
import org.axsl.common.Compass;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FOContext;
import org.axsl.foR.FOText;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -31,7 +31,7 @@
import org.axsl.areaR.MainReferenceArea;
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FObj;
import org.axsl.foR.fo.Block;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -31,7 +31,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.PageArea;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOTreeException;
import org.axsl.foR.fo.Marker;
import org.axsl.foR.fo.PageMasterResolver;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -35,7 +35,7 @@
import org.axsl.common.AbsoluteAxis;
import org.axsl.common.AbsoluteDirection;
import org.axsl.common.Compass;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FObj;
import org.axsl.foR.fo.Marker;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -30,7 +30,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FObj;
import org.axsl.foR.fo.RegionBody;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -32,7 +32,7 @@
import org.axsl.areaR.TableCellArea;
import org.axsl.areaW.AreaWException;
import org.axsl.common.BorderModel;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.BlockContainer;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -33,7 +33,7 @@
import org.axsl.areaR.TableArea;
import org.axsl.areaW.AreaWException;
import org.axsl.common.BorderModel;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FOContext;
import org.axsl.foR.fo.RetrieveMarker;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -32,7 +32,7 @@
import org.foray.common.XMLCharacter;
import org.axsl.areaR.RenderVisitor;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FONode;
import org.axsl.foR.FOTextContent;
import org.axsl.foR.FObj;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -32,7 +32,7 @@
import org.foray.common.XMLCharacter;
import org.foray.fotree.fo.obj.BookmarkTitle;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOContext;
import org.axsl.foR.FOLineText;
import org.axsl.foR.ProxyFactory;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -39,7 +39,7 @@
import org.axsl.common.BorderModel;
import org.axsl.common.BorderStyle;
import org.axsl.common.Compass;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.LeaderPattern;
import org.axsl.common.Overflow;
import org.axsl.common.RelativeAxis;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/Property.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -36,7 +36,7 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.PropertyType;
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -146,8 +146,8 @@
import org.axsl.common.AbsoluteAxis;
import org.axsl.common.AbsoluteDirection;
import org.axsl.common.Compass;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.PropertyType;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.xml.XmlProperty;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/AbstractFoProperty.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/AbstractFoProperty.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/AbstractFoProperty.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -32,7 +32,7 @@
import org.foray.fotree.PropertyList;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoProperty;
+import org.axsl.foR.fo.FoProperty;
/**
* Superclass for properties in the "fo:" namespace.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/PropertyMakerFO.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/PropertyMakerFO.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/PropertyMakerFO.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -141,7 +141,7 @@
import org.foray.fotree.fo.prop.WritingMode;
import org.foray.fotree.fo.prop.ZIndex;
-import org.axsl.foR.FoProperty;
+import org.axsl.foR.fo.FoProperty;
/**
* Factory class for creating properties in the "fo:" (Formatting Objects)
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -32,7 +32,7 @@
import org.foray.fotree.Namespace;
import org.foray.fotree.PropertyList;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOTreeException;
import org.axsl.foR.ProxyFactory;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -28,7 +28,7 @@
package org.foray.fotree.fo.obj;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoValue;
/**
* This class uses the 'format', 'groupingSeparator', 'groupingSize',
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -37,8 +37,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FOContext;
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 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -39,8 +39,8 @@
import org.foray.fotree.value.PropertyValue;
import org.axsl.common.Compass;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOContext;
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentAdjust.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentAdjust.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentAdjust.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -40,8 +40,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOContext;
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentBaseline.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentBaseline.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentBaseline.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -35,8 +35,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOContext;
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AudioDial.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AudioDial.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AudioDial.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -37,8 +37,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOContext;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Azimuth.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Azimuth.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Azimuth.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -37,8 +37,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOContext;
import java.util.StringTokenizer;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Background.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Background.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Background.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -39,8 +39,8 @@
import org.foray.fotree.value.PropertyCollection;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
import java.util.ArrayList;
import java.util.List;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundColor.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundColor.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundColor.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -33,8 +33,8 @@
import org.foray.fotree.value.DtColor;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
/**
* The "background-color" property in XSL-FO.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundImage.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundImage.java 2007-04-07 02:56:40 UTC (rev 9134)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundImage.java 2007-04-07 03:38:05 UTC (rev 9135)
@@ -36,8 +36,8 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.foR.FoProperty;
-import org.axsl.foR.FoValue;
+import org.axsl.foR.fo.FoProperty;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOContext;
import org.axsl.graphicR.Graphic;
import org.axsl.graphicR.GraphicException;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundPosition.java
===================================================================
...
[truncated message content] |
|
From: <vic...@us...> - 2007-04-07 18:51:17
|
Revision: 9136
http://svn.sourceforge.net/foray/?rev=9136&view=rev
Author: victormote
Date: 2007-04-07 11:51:18 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
Conform to axsl changes renaming classes.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java
trunk/foray/foray-areatree/src/java/org/foray/area/AreaTree.java
trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/BookmarkArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberCitationArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRowContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItem.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItemBody.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItemLabel.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Root.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnBodyStart.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FlowPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ListItemBodyPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PioneerLS.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/StaticContentPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableCellPL.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 03:38:05 UTC (rev 9135)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 18:51:18 UTC (rev 9136)
@@ -42,7 +42,7 @@
import org.axsl.common.RelativeAxis;
import org.axsl.common.Scaling;
import org.axsl.foR.FOContext;
-import org.axsl.foR.FObj;
+import org.axsl.foR.Fo;
import org.axsl.foR.WritingMode;
import org.axsl.foR.fo.BasicLink;
import org.axsl.fontR.Font;
@@ -68,7 +68,7 @@
/**
* Returns the background-repeat trait.
* @return The background-repeat trait.
- * @see FObj#traitBackgroundRepeat(FOContext)
+ * @see Fo#traitBackgroundRepeat(FOContext)
*/
public FoValue traitBackgroundRepeat() {
return this.traitGeneratedBy().traitBackgroundRepeat(this);
@@ -77,7 +77,7 @@
/**
* Returns the background-image trait.
* @return The background-image trait.
- * @see FObj#traitBackgroundImage(FOContext)
+ * @see Fo#traitBackgroundImage(FOContext)
*/
public Graphic traitBackgroundImage() {
return this.traitGeneratedBy().traitBackgroundImage(this);
@@ -112,7 +112,7 @@
/**
* Returns the letter-spacing optimum trait.
* @return The letter-spacing optimum trait.
- * @see FObj#traitLetterSpacingOpt(FOContext)
+ * @see Fo#traitLetterSpacingOpt(FOContext)
*/
public int traitLetterSpacingOpt() {
return traitGeneratedBy().traitLetterSpacingOpt(this);
@@ -121,7 +121,7 @@
/**
* Returns the letter-spacing maximum trait.
* @return The letter-spacing maximum trait.
- * @see FObj#traitLetterSpacingMax(FOContext)
+ * @see Fo#traitLetterSpacingMax(FOContext)
*/
public int traitLetterSpacingMax() {
return traitGeneratedBy().traitLetterSpacingMax(this);
@@ -130,7 +130,7 @@
/**
* Returns the letter-spacing minimum trait.
* @return The letter-spacing minimum trait.
- * @see FObj#traitLetterSpacingMin(FOContext)
+ * @see Fo#traitLetterSpacingMin(FOContext)
*/
public int traitLetterSpacingMin() {
return traitGeneratedBy().traitLetterSpacingMin(this);
@@ -150,7 +150,7 @@
/**
* Returns the word-spacing optimum trait.
* @return The word-spacing optimum trait.
- * @see FObj#traitWordSpacingOpt(FOContext)
+ * @see Fo#traitWordSpacingOpt(FOContext)
*/
public int traitWordSpacingOpt() {
return traitGeneratedBy().traitWordSpacingOpt(this);
@@ -159,7 +159,7 @@
/**
* Returns the word-spacing maximum trait.
* @return The word-spacing maximum trait.
- * @see FObj#traitWordSpacingMax(FOContext)
+ * @see Fo#traitWordSpacingMax(FOContext)
*/
public int traitWordSpacingMax() {
return traitGeneratedBy().traitWordSpacingMax(this);
@@ -168,7 +168,7 @@
/**
* Returns the word-spacing minimum trait.
* @return The word-spacing minimum trait.
- * @see FObj#traitWordSpacingMin(FOContext)
+ * @see Fo#traitWordSpacingMin(FOContext)
*/
public int traitWordSpacingMin() {
return traitGeneratedBy().traitWordSpacingMin(this);
@@ -177,7 +177,7 @@
/**
* Returns the font-size trait.
* @return The font-size trait.
- * @see FObj#traitFontSize(FOContext)
+ * @see Fo#traitFontSize(FOContext)
*/
public int traitFontSize() {
return traitGeneratedBy().traitFontSize(this);
@@ -186,7 +186,7 @@
/**
* Returns the end-indent trait.
* @return The end-indent trait.
- * @see FObj#traitEndIndent(FOContext, int)
+ * @see Fo#traitEndIndent(FOContext, int)
*/
public int traitEndIndent() {
final int percentBase = this.getContainingReferenceArea().crIPD();
@@ -196,7 +196,7 @@
/**
* Returns the start-indent trait.
* @return The start-indent trait.
- * @see FObj#traitStartIndent(FOContext, int)
+ * @see Fo#traitStartIndent(FOContext, int)
*/
public int traitStartIndent() {
final Area containingRA = this.getContainingReferenceArea();
@@ -218,7 +218,7 @@
/**
* Returns the primary font for this area.
* @return The primary font for this area.
- * @see FObj#getPrimaryFont(FOContext)
+ * @see Fo#getPrimaryFont(FOContext)
*/
public FontUse getPrimaryFont() {
return traitGeneratedBy().getPrimaryFont(this);
@@ -229,7 +229,7 @@
* @param codePoint The Unicode code point for which the secondary font is
* needed.
* @return A secondary font for this area.
- * @see FObj#getSecondaryFont(FOContext, int)
+ * @see Fo#getSecondaryFont(FOContext, int)
*/
public FontUse getSecondaryFont(final int codePoint) {
return traitGeneratedBy().getSecondaryFont(this, codePoint);
@@ -282,7 +282,7 @@
/**
* Returns the font-family for this area.
* @return The font-family for this area.
- * @see FObj#traitFontFamily(FOContext)
+ * @see Fo#traitFontFamily(FOContext)
*/
public String traitFontFamily() {
return traitGeneratedBy().traitFontFamily(this)[0];
@@ -291,7 +291,7 @@
/**
* Returns the background-color for this area.
* @return The background-color for this area.
- * @see FObj#traitBackgroundColor(FOContext)
+ * @see Fo#traitBackgroundColor(FOContext)
*/
public Color traitBackgroundColor() {
return traitGeneratedBy().traitBackgroundColor(this);
@@ -300,7 +300,7 @@
/**
* Returns the relative-position for this area.
* @return The relative-position for this area.
- * @see FObj#traitRelativePosition(FOContext)
+ * @see Fo#traitRelativePosition(FOContext)
*/
public FoValue traitRelativePosition() {
return traitGeneratedBy().traitRelativePosition(this);
@@ -391,7 +391,7 @@
/**
* Returns the font-variant trait of this area.
* @return The font-variant trait of this area.
- * @see FObj#traitFontVariant(FOContext)
+ * @see Fo#traitFontVariant(FOContext)
*/
public Font.Variant traitFontVariant() {
return traitGeneratedBy().traitFontVariant(this);
@@ -400,7 +400,7 @@
/**
* Returns the underline-score trait of this area.
* @return The underline-score trait of this area.
- * @see FObj#traitUnderlineScore(FOContext)
+ * @see Fo#traitUnderlineScore(FOContext)
*/
public boolean traitUnderlineScore() {
return traitGeneratedBy().traitUnderlineScore(this);
@@ -409,7 +409,7 @@
/**
* Returns the overline-score trait of this area.
* @return The overline-score trait of this area.
- * @see FObj#traitOverlineScore(FOContext)
+ * @see Fo#traitOverlineScore(FOContext)
*/
public boolean traitOverlineScore() {
return traitGeneratedBy().traitOverlineScore(this);
@@ -418,7 +418,7 @@
/**
* Returns the through-score trait of this area.
* @return The through-score trait of this area.
- * @see FObj#traitThroughScore(FOContext)
+ * @see Fo#traitThroughScore(FOContext)
*/
public boolean traitThroughScore() {
return traitGeneratedBy().traitThroughScore(this);
@@ -427,7 +427,7 @@
/**
* Returns the underline-score-color trait of this area.
* @return The underline-score-color trait of this area.
- * @see FObj#traitUnderlineScoreColor(FOContext)
+ * @see Fo#traitUnderlineScoreColor(FOContext)
*/
public Color traitUnderlineScoreColor() {
return traitGeneratedBy().traitUnderlineScoreColor(this);
@@ -436,7 +436,7 @@
/**
* Returns the overline-score-color trait of this area.
* @return The overline-score-color trait of this area.
- * @see FObj#traitOverlineScoreColor(FOContext)
+ * @see Fo#traitOverlineScoreColor(FOContext)
*/
public Color traitOverlineScoreColor() {
return traitGeneratedBy().traitOverlineScoreColor(this);
@@ -445,7 +445,7 @@
/**
* Returns the through-score-color trait of this area.
* @return The through-score-color trait of this area.
- * @see FObj#traitThroughScoreColor(FOContext)
+ * @see Fo#traitThroughScoreColor(FOContext)
*/
public Color traitThroughScoreColor() {
return traitGeneratedBy().traitThroughScoreColor(this);
@@ -897,7 +897,7 @@
/**
* Returns the padding-start trait for this area.
* @return The padding-start trait for this area.
- * @see FObj#traitPaddingStart(FOContext, boolean)
+ * @see Fo#traitPaddingStart(FOContext, boolean)
*/
public int traitPaddingStart() {
return traitGeneratedBy().traitPaddingStart(this, traitIsFirst());
@@ -906,7 +906,7 @@
/**
* Returns the padding-end trait for this area.
* @return The padding-end trait for this area.
- * @see FObj#traitPaddingEnd(FOContext, boolean)
+ * @see Fo#traitPaddingEnd(FOContext, boolean)
*/
public int traitPaddingEnd() {
return traitGeneratedBy().traitPaddingEnd(this, traitIsLast());
@@ -915,7 +915,7 @@
/**
* Returns the padding-before trait for this area.
* @return The padding-before trait for this area.
- * @see FObj#traitPaddingBefore(FOContext, boolean)
+ * @see Fo#traitPaddingBefore(FOContext, boolean)
*/
public int traitPaddingBefore() {
return traitGeneratedBy().traitPaddingBefore(this, traitIsFirst());
@@ -924,7 +924,7 @@
/**
* Returns the padding-after trait for this area.
* @return The padding-after trait for this area.
- * @see FObj#traitPaddingAfter(FOContext, boolean)
+ * @see Fo#traitPaddingAfter(FOContext, boolean)
*/
public int traitPaddingAfter() {
return traitGeneratedBy().traitPaddingAfter(this, traitIsLast());
@@ -933,7 +933,7 @@
/**
* Returns the space-before minimum trait for this area.
* @return The space-before minimum trait for this area.
- * @see FObj#traitSpaceBeforeMinimum(FOContext)
+ * @see Fo#traitSpaceBeforeMinimum(FOContext)
*/
public int traitSpaceBeforeMinimum() {
return traitGeneratedBy().traitSpaceBeforeMinimum(this);
@@ -942,7 +942,7 @@
/**
* Returns the space-before optimum trait for this area.
* @return The space-before optimum trait for this area.
- * @see FObj#traitSpaceBeforeOptimum(FOContext)
+ * @see Fo#traitSpaceBeforeOptimum(FOContext)
*/
public int traitSpaceBeforeOptimum() {
return traitGeneratedBy().traitSpaceBeforeOptimum(this);
@@ -951,7 +951,7 @@
/**
* Returns the space-before maximum trait for this area.
* @return The space-before maximum trait for this area.
- * @see FObj#traitSpaceBeforeMaximum(FOContext)
+ * @see Fo#traitSpaceBeforeMaximum(FOContext)
*/
public int traitSpaceBeforeMaximum() {
return traitGeneratedBy().traitSpaceBeforeMaximum(this);
@@ -960,7 +960,7 @@
/**
* Returns the space-after minimum trait for this area.
* @return The space-after minimum trait for this area.
- * @see FObj#traitSpaceAfterMinimum(FOContext)
+ * @see Fo#traitSpaceAfterMinimum(FOContext)
*/
public int traitSpaceAfterMinumum() {
return traitGeneratedBy().traitSpaceAfterMinimum(this);
@@ -969,7 +969,7 @@
/**
* Returns the space-after optimum trait for this area.
* @return The space-after optimum trait for this area.
- * @see FObj#traitSpaceAfterOptimum(FOContext)
+ * @see Fo#traitSpaceAfterOptimum(FOContext)
*/
public int traitSpaceAfterOptimum() {
return traitGeneratedBy().traitSpaceAfterOptimum(this);
@@ -978,7 +978,7 @@
/**
* Returns the space-after maximum trait for this area.
* @return The space-after maximum trait for this area.
- * @see FObj#traitSpaceAfterMaximum(FOContext)
+ * @see Fo#traitSpaceAfterMaximum(FOContext)
*/
public int traitSpaceAfterMaximum() {
return traitGeneratedBy().traitSpaceAfterMaximum(this);
@@ -987,7 +987,7 @@
/**
* Returns the space-start optimum trait for this area.
* @return The space-start optimum trait for this area.
- * @see FObj#traitSpaceStartOptimum(FOContext, int)
+ * @see Fo#traitSpaceStartOptimum(FOContext, int)
*/
public int traitSpaceStartOptimum() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -998,7 +998,7 @@
/**
* Returns the space-end optimum trait for this area.
* @return The space-end optimum trait for this area.
- * @see FObj#traitSpaceEndOptimum(FOContext, int)
+ * @see Fo#traitSpaceEndOptimum(FOContext, int)
*/
public int traitSpaceEndOptimum() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -1008,7 +1008,7 @@
/**
* Returns the bp direction trait for this area.
* @return The bp direction trait for this area.
- * @see FObj#traitBPDirection(FOContext)
+ * @see Fo#traitBPDirection(FOContext)
*/
public AbsoluteDirection traitBPDirection() {
return traitGeneratedBy().traitBPDirection(this);
@@ -1017,7 +1017,7 @@
/**
* Returns the ip direction trait for odd-numbered lines in this area.
* @return The ip direction trait for odd-numbered lines in this area.
- * @see FObj#traitIPDirectionOdd(FOContext)
+ * @see Fo#traitIPDirectionOdd(FOContext)
*/
public AbsoluteDirection traitIPDirectionOdd() {
return traitGeneratedBy().traitIPDirectionOdd(this);
@@ -1026,7 +1026,7 @@
/**
* Returns the ip direction trait for even-numbered lines in this area.
* @return The ip direction trait for even-numbered lines in this area.
- * @see FObj#traitIPDirectionOdd(FOContext)
+ * @see Fo#traitIPDirectionOdd(FOContext)
*/
public AbsoluteDirection traitIPDirectionEven() {
return traitGeneratedBy().traitIPDirectionEven(this);
@@ -1111,7 +1111,7 @@
/**
* Returns the page-width trait of this area.
* @return The page-width trait of this area.
- * @see FObj#traitPageWidth()
+ * @see Fo#traitPageWidth()
*/
public int traitPageWidth() {
return traitGeneratedBy().traitPageWidth();
@@ -1120,7 +1120,7 @@
/**
* Returns the page-height trait of this area.
* @return The page-height trait of this area.
- * @see FObj#traitPageHeight()
+ * @see Fo#traitPageHeight()
*/
public int traitPageHeight() {
return traitGeneratedBy().traitPageHeight();
@@ -1147,7 +1147,7 @@
/**
* Returns the writing-mode for this area.
* @return The writing-mode for this area.
- * @see FObj#getWritingMode(FOContext)
+ * @see Fo#getWritingMode(FOContext)
*/
public WritingMode getWritingMode() {
return traitGeneratedBy().getWritingMode(this);
@@ -1282,7 +1282,7 @@
/**
* Returns the half-leading optimum trait for this area.
* @return The half-leading optimum trait for this area.
- * @see FObj#traitHalfLeadingOpt(FOContext)
+ * @see Fo#traitHalfLeadingOpt(FOContext)
*/
public int traitHalfLeadingOpt() {
return traitGeneratedBy().traitHalfLeadingOpt(this);
@@ -1329,7 +1329,7 @@
/**
* Returns the extent trait for this area.
* @return The extent trait for this area.
- * @see FObj#traitExtent()
+ * @see Fo#traitExtent()
*/
public int traitExtent() {
return traitGeneratedBy().traitExtent();
@@ -1338,7 +1338,7 @@
/**
* Returns the whitespace-treatment trait for this area.
* @return The whitespace-treatment trait for this area.
- * @see FObj#traitWhiteSpaceTreatment(FOContext)
+ * @see Fo#traitWhiteSpaceTreatment(FOContext)
*/
public FoValue traitWhiteSpaceTreatment() {
return traitGeneratedBy().traitWhiteSpaceTreatment(this);
@@ -1363,7 +1363,7 @@
/**
* Returns the wrap-option trait for this area.
* @return The wrap-option trait for this area.
- * @see FObj#traitWrapOption(FOContext)
+ * @see Fo#traitWrapOption(FOContext)
*/
public FoValue traitWrapOption() {
return traitGeneratedBy().traitWrapOption(this);
@@ -1372,7 +1372,7 @@
/**
* Returns the language trait for this area.
* @return The language trait for this area.
- * @see FObj#traitLanguage(FOContext)
+ * @see Fo#traitLanguage(FOContext)
*/
public String traitLanguage() {
return traitGeneratedBy().traitLanguage(this);
@@ -1388,7 +1388,7 @@
/**
* Returns the text-align trait for this area.
* @return The text-align trait for this area.
- * @see FObj#traitTextAlign(FOContext)
+ * @see Fo#traitTextAlign(FOContext)
*/
public FoValue traitTextAlign() {
return traitGeneratedBy().traitTextAlign(this);
@@ -1397,7 +1397,7 @@
/**
* Returns the alignment-baseline trait for this area.
* @return The alignment-baseline trait for this area.
- * @see FObj#traitAlignmentBaseline(FOContext)
+ * @see Fo#traitAlignmentBaseline(FOContext)
*/
public FoValue traitAlignmentBaseline() {
return traitGeneratedBy().traitAlignmentBaseline(this);
@@ -1413,7 +1413,7 @@
/**
* Returns the ref-id trait for this area.
* @return The ref-id trait for this area.
- * @see FObj#traitRefId(FOContext)
+ * @see Fo#traitRefId(FOContext)
*/
public String traitRefId() {
return traitGeneratedBy().traitRefId(this);
@@ -1422,7 +1422,7 @@
/**
* Returns the hyphenation-character trait for this area.
* @return The hyphenation-character trait for this area.
- * @see FObj#traitWrapOption(FOContext)
+ * @see Fo#traitWrapOption(FOContext)
*/
public int traitHyphenationCharacter() {
return traitGeneratedBy().traitHyphenationCharacter(this);
@@ -1431,7 +1431,7 @@
/**
* Returns the dominant-baseline trait for this area.
* @return The dominant-baseline trait for this area.
- * @see FObj#traitWrapOption(FOContext)
+ * @see Fo#traitWrapOption(FOContext)
*/
public Baseline traitDominantBaseline() {
return traitGeneratedBy().traitDominantBaseline(this);
@@ -1557,7 +1557,7 @@
/**
* Returns the top trait for this area.
* @return The top trait for this area.
- * @see FObj#traitTop(FOContext, int)
+ * @see Fo#traitTop(FOContext, int)
*/
public int traitTop() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -1567,7 +1567,7 @@
/**
* Returns the bottom trait for this area.
* @return The bottom trait for this area.
- * @see FObj#traitBottom(FOContext, int)
+ * @see Fo#traitBottom(FOContext, int)
*/
public int traitBottom() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -1577,7 +1577,7 @@
/**
* Returns the left trait for this area.
* @return The left trait for this area.
- * @see FObj#traitLeft(FOContext, int)
+ * @see Fo#traitLeft(FOContext, int)
*/
public int traitLeft() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -1587,7 +1587,7 @@
/**
* Returns the right trait for this area.
* @return The right trait for this area.
- * @see FObj#traitRight(FOContext, int)
+ * @see Fo#traitRight(FOContext, int)
*/
public int traitRight() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java 2007-04-07 03:38:05 UTC (rev 9135)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java 2007-04-07 18:51:18 UTC (rev 9136)
@@ -32,7 +32,7 @@
import org.axsl.areaW.AreaWException;
import org.axsl.foR.FONode;
-import org.axsl.foR.FObj;
+import org.axsl.foR.Fo;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.fontR.Font;
import org.axsl.fontR.FontConsumer;
@@ -358,7 +358,7 @@
/**
* {@inheritDoc}
*/
- public abstract FObj traitGeneratedBy();
+ public abstract Fo traitGeneratedBy();
/**
* {@inheritDoc}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AreaTree.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AreaTree.java 2007-04-07 03:38:05 UTC (rev 9135)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AreaTree.java 2007-04-07 18:51:18 UTC (rev 9136)
@@ -36,7 +36,7 @@
import org.axsl.areaW.PageArea;
import org.axsl.foR.FONode;
import org.axsl.foR.FOTree;
-import org.axsl.foR.FObj;
+import org.axsl.foR.Fo;
import org.axsl.foR.fo.Bookmark;
import org.axsl.foR.fo.BookmarkTree;
import org.axsl.foR.fo.Marker;
@@ -236,7 +236,7 @@
* @param id The id whose FObj instance is sought.
* @return The FObj instance that is associated with id.
*/
- public FObj retrieveId(final String id) {
+ public Fo retrieveId(final String id) {
final Root root = traitGeneratedBy();
return root.retrieveId(id);
}
@@ -249,7 +249,7 @@
* trait matches the "id" parameter, or null if none is found.
*/
public Area firstNormalAreaReturned(final String id) {
- final FObj fobj = retrieveId(id);
+ final Fo fobj = retrieveId(id);
final FOLinkage linkage = linkage(fobj, null);
if (linkage instanceof FOLinkageNormal) {
final FOLinkageNormal normalLinkage = (FOLinkageNormal) linkage;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java 2007-04-07 03:38:05 UTC (rev 9135)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java 2007-04-07 18:51:18 UTC (rev 9136)
@@ -31,7 +31,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.common.RelativeAxis;
-import org.axsl.foR.FObj;
+import org.axsl.foR.Fo;
import java.util.ArrayList;
import java.util.List;
@@ -67,7 +67,7 @@
* @param parentArea The parent area.
* @return The new instance.
*/
- static BeforeFloatRA makeBeforeFloatArea(final FObj generatedBy,
+ static BeforeFloatRA makeBeforeFloatArea(final Fo generatedBy,
final RegionRABody parentArea) {
final BeforeFloatRA newFloatRA = new BeforeFloatRA(parentArea);
newFloatRA.generatedBy = newFloatRA.linkage(generatedBy, null);
@@ -197,8 +197,8 @@
/**
* {@inheritDoc}
*/
- public FObj traitGeneratedBy() {
- return (FObj) this.getLinkage().getFONode();
+ public Fo traitGeneratedBy() {
+ return (Fo) this.getLinkage().getFONode();
}
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-04-07 03:38:05 UTC (rev 9135)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-04-07 18:51:18 UTC (rev 9136)
@@ -33,7 +33,7 @@
import org.axsl.areaW.AreaWException;
import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
-import org.axsl.foR.FObj;
+import org.axsl.foR.Fo;
import org.axsl.foR.fo.BlockContainer;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.graphicR.Graphic;
@@ -103,12 +103,12 @@
public int crOriginBPDOffset() {
if (this.traitAbsolutePosition() == FoValue.ABSOLUTE) {
final int top = this.traitTop();
- if (top != FObj.ABSOLUTE_POSITION_AUTO) {
+ if (top != Fo.ABSOLUTE_POSITION_AUTO) {
/* If "top" is specified, that is the offset needed. */
return top;
}
final int bottom = this.traitBottom();
- if (bottom != FObj.ABSOLUTE_POSITION_AUTO) {
+ if (bottom != Fo.ABSOLUTE_POSITION_AUTO) {
/* If "bottom" is specified, */
final Area parentArea = this.getAreaParent();
return parentArea.crBPD() - bottom
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BookmarkArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BookmarkArea.java 2007-04-07 03:38:05 UTC (rev 9135)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BookmarkArea.java 2007-04-07 18:51:18 UTC (rev 9136)
@@ -31,7 +31,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.foR.FONode;
-import org.axsl.foR.FObj;
+import org.axsl.foR.Fo;
import org.axsl.foR.fo.Bookmark;
import org.axsl.foR.fo.BookmarkTitle;
@@ -142,7 +142,7 @@
public void makeChildren(final Bookmark bookmark) {
final List<? extends FONode> children = bookmark.getChildren();
for (int i = 0; i < children.size(); i++) {
- final FObj child = (FObj) children.get(i);
+ final Fo child = (Fo) children.get(i);
if (child instanceof Bookmark) {
this.makeBookmarkArea((Bookmark) child);
} else if (child instanceof BookmarkTitle) {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java 2007-04-07 03:38:05 UTC (rev 9135)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java 2007-04-07 18:51:18 UTC (rev 9136)
@@ -31,7 +31,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.common.RelativeAxis;
-import org.axsl.foR.FObj;
+import org.axsl.foR.Fo;
import java.util.ArrayList;
import java.util.List;
@@ -65,7 +65,7 @@
* @param parentArea The parent area.
* @return The new instance.
*/
- static FootnoteRA makeFootnoteReferenceArea(final FObj generatedBy,
+ static FootnoteRA makeFootnoteReferenceArea(final Fo generatedBy,
final RegionRABody parentArea) {
final FootnoteRA footnoteRA = new FootnoteRA(parentArea);
footnoteRA.generatedBy = footnoteRA.linkage(generatedBy, null);
@@ -208,8 +208,8 @@
/**
* {@inheritDoc}
*/
- public FObj traitGeneratedBy() {
- return (FObj) this.getLinkage().getFONode();
+ public Fo traitGeneratedBy() {
+ return (Fo) this.getLinkage().getFONode();
}
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 03:38:05 UTC (rev 9135)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 18:51:18 UTC (rev 9136)
@@ -33,7 +33,7 @@
import org.axsl.common.LeaderPattern;
import org.axsl.common.RuleStyle;
import org.axsl.foR.FOText;
-import org.axsl.foR.FObj;
+import org.axsl.foR.Fo;
import org.axsl.foR.fo.ExternalGraphic;
import org.axsl.foR.fo.InstreamForeignObject;
import org.axsl.foR.fo.Leader;
@@ -175,7 +175,7 @@
* of zero (including the PDFRenderer) can eventually remove that special
* handling. We'll refrain from doing so until we are sure there are no
* unintended side-effects of this override logic.
- * @see FObj#traitLeaderPattern
+ * @see Fo#traitLeaderPattern
*/
publ...
[truncated message content] |
|
From: <vic...@us...> - 2007-04-07 19:42:20
|
Revision: 9138
http://svn.sourceforge.net/foray/?rev=9138&view=rev
Author: victormote
Date: 2007-04-07 12:42:21 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
Conform to axsl changes renaming classes.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjScaled.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/ForeignXML.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/InstreamForeignObject.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java 2007-04-07 19:36:02 UTC (rev 9137)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java 2007-04-07 19:42:21 UTC (rev 9138)
@@ -29,7 +29,7 @@
package org.foray.area;
import org.axsl.areaR.RenderVisitor;
-import org.axsl.foR.ForeignXML;
+import org.axsl.foR.FoForeignXML;
import org.axsl.foR.fo.InstreamForeignObject;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.svg.SvgElement;
@@ -125,7 +125,7 @@
newFoArea.viewportBPD());
// Create the reference area for the content.
- final ForeignXML foreign = generatedBy.getForeignXML();
+ final FoForeignXML foreign = generatedBy.getForeignXML();
if (foreign instanceof SvgElement) {
SVGArea.makeSvgArea((SvgElement) foreign, newFoArea,
retrieveMarker);
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjScaled.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjScaled.java 2007-04-07 19:36:02 UTC (rev 9137)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjScaled.java 2007-04-07 19:42:21 UTC (rev 9138)
@@ -37,7 +37,7 @@
* includes external-graphic and instream-foreign-object.
*/
public abstract class FObjScaled extends FObj
- implements org.axsl.foR.FObjScaled {
+ implements org.axsl.foR.FoScaled {
/**
* Constructor.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/ForeignXML.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/ForeignXML.java 2007-04-07 19:36:02 UTC (rev 9137)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/ForeignXML.java 2007-04-07 19:42:21 UTC (rev 9138)
@@ -60,7 +60,7 @@
* @see InstreamForeignObject
*/
public abstract class ForeignXML extends FObj
- implements org.axsl.foR.ForeignXML {
+ implements org.axsl.foR.FoForeignXML {
/**
* The DOM Document instance built by and encapsulated within this object.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/InstreamForeignObject.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/InstreamForeignObject.java 2007-04-07 19:36:02 UTC (rev 9137)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/InstreamForeignObject.java 2007-04-07 19:42:21 UTC (rev 9138)
@@ -114,7 +114,7 @@
return true;
}
- public org.axsl.foR.ForeignXML getForeignXML() {
+ public org.axsl.foR.FoForeignXML getForeignXML() {
// Cast verified in end().
return (ForeignXML) getChildren().get(0);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-07 19:36:10
|
Revision: 9137
http://svn.sourceforge.net/foray/?rev=9137&view=rev
Author: victormote
Date: 2007-04-07 12:36:02 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
Conform to axsl changes renaming classes.
Modified Paths:
--------------
trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java
trunk/foray/foray-areatree/src/java/org/foray/area/AreaTree.java
trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java
trunk/foray/foray-areatree/src/java/org/foray/area/SVGArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java
trunk/foray/foray-core/src/java/org/foray/core/FOrayDocument.java
trunk/foray/foray-core/src/java/org/foray/core/FOraySession.java
trunk/foray/foray-core/src/java/org/foray/core/FOrayTarget.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineNonText.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineText.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FONode.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOTreeBuilder.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjMixed.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOrayFOTreeServer.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/ForeignXML.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/Namespace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/NamespaceFO.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/AbstractFlow.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/AbstractPageMaster.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/AbstractTablePart.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BasicLink.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BidiOverride.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Block.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BlockContainer.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Bookmark.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BookmarkTitle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BookmarkTree.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Character.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ColorProfile.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ConditionalPageMasterReference.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Declarations.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ExternalGraphic.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Float.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Flow.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Footnote.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/FootnoteBody.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/InitialPropertySet.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Inline.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/InlineContainer.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/InstreamForeignObject.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/LayoutMasterSet.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Leader.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListBlock.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItem.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItemBody.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItemLabel.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Marker.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/MultiCase.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/MultiProperties.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/MultiPropertySet.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/MultiSwitch.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/MultiToggle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageMasterResolver.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumber.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberCitation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequence.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequenceMaster.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Region.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionAfter.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionBefore.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionBody.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionEnd.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionStart.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RepeatablePMAlternatives.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RepeatablePMReference.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RetrieveMarker.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Root.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SimplePageMaster.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SinglePageMasterReference.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/StaticContent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SubSequenceSpecifier.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Table.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableAndCaption.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableCaption.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableCell.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableColumn.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableRow.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Title.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Wrapper.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/foray/NamespaceExtensions.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/foray/obj/ContinuedLabel.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/svg/NamespaceSVG.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/svg/obj/SVGElement.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/xml/NamespaceXML.java
trunk/foray/foray-layout/src/java/org/foray/layout/LayoutStrategy.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FOTextPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PioneerLS.java
Modified: trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-app/src/java/org/foray/app/FOraySpecific.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -40,7 +40,7 @@
import org.foray.pioneer.PioneerFactory;
import org.axsl.areaW.AreaTreeFactory;
-import org.axsl.foR.FOTreeFactory;
+import org.axsl.foR.FoTreeFactory;
import org.axsl.fontR.FontException;
import org.axsl.fontR.FontServer;
import org.axsl.graphicR.GraphicServer;
@@ -96,7 +96,7 @@
hyphenServer);
final GraphicServer graphicServer = FOraySpecific.makeGraphicServer(
logger);
- final FOTreeFactory foTreeServer = FOraySpecific.makeFOTreeFactory(
+ final FoTreeFactory foTreeServer = FOraySpecific.makeFOTreeFactory(
logger, sessionConfig, graphicServer, textServer);
final AreaTreeFactory areaTreeFactory =
FOraySpecific.makeAreaTreeFactory(logger, textServer);
@@ -192,7 +192,7 @@
* @return The newly-created FOTreeFactory instance.
* @throws FOrayException For errors creating the server.
*/
- public static FOTreeFactory makeFOTreeFactory(final Log logger,
+ public static FoTreeFactory makeFOTreeFactory(final Log logger,
final SessionConfig configuration,
final GraphicServer graphicServer, final TextServer textServer)
throws FOrayException {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AreaTree.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AreaTree.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AreaTree.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -35,7 +35,6 @@
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.PageArea;
import org.axsl.foR.FONode;
-import org.axsl.foR.FOTree;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.Bookmark;
import org.axsl.foR.fo.BookmarkTree;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -32,7 +32,7 @@
import org.axsl.foR.ForeignXML;
import org.axsl.foR.fo.InstreamForeignObject;
import org.axsl.foR.fo.RetrieveMarker;
-import org.axsl.foR.svg.SVGElement;
+import org.axsl.foR.svg.SvgElement;
import java.util.ArrayList;
import java.util.List;
@@ -126,8 +126,8 @@
// Create the reference area for the content.
final ForeignXML foreign = generatedBy.getForeignXML();
- if (foreign instanceof SVGElement) {
- SVGArea.makeSvgArea((SVGElement) foreign, newFoArea,
+ if (foreign instanceof SvgElement) {
+ SVGArea.makeSvgArea((SvgElement) foreign, newFoArea,
retrieveMarker);
}
newFoArea.ancestorLineArea().lineContentChanged();
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -29,7 +29,7 @@
package org.foray.area;
import org.axsl.areaR.RenderVisitor;
-import org.axsl.foR.FOText;
+import org.axsl.foR.FoText;
import org.axsl.foR.fo.ExternalGraphic;
import org.axsl.foR.fo.Inline;
import org.axsl.foR.fo.InstreamForeignObject;
@@ -158,7 +158,7 @@
/**
* {@inheritDoc}
*/
- public TextArea makeTextArea(final FOText foText,
+ public TextArea makeTextArea(final FoText foText,
final int ipd, final int startOffset, final int sizeInChars,
final boolean hasDiscretionaryHyphen,
final boolean hasFauxSmallCaps, final boolean isLastItemOnLine,
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -32,7 +32,7 @@
import org.axsl.foR.fo.FoValue;
import org.axsl.common.LeaderPattern;
import org.axsl.common.RuleStyle;
-import org.axsl.foR.FOText;
+import org.axsl.foR.FoText;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.ExternalGraphic;
import org.axsl.foR.fo.InstreamForeignObject;
@@ -436,7 +436,7 @@
/**
* {@inheritDoc}
*/
- public TextArea makeTextArea(final FOText foText,
+ public TextArea makeTextArea(final FoText foText,
final int ipd, final int startOffset, final int sizeInChars,
final boolean hasDiscretionaryHyphen,
final boolean hasFauxSmallCaps, final boolean isLastItemOnLine,
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -36,8 +36,8 @@
import org.axsl.foR.fo.FoValue;
import org.axsl.common.RelativeAxis;
import org.axsl.foR.FOContext;
-import org.axsl.foR.FOText;
-import org.axsl.foR.FOTextContent;
+import org.axsl.foR.FoText;
+import org.axsl.foR.FoTextContent;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.ExternalGraphic;
import org.axsl.foR.fo.InstreamForeignObject;
@@ -950,7 +950,7 @@
* @param context An object that knows how to resolve FO context issues.
* @return True iff a text area should be created for the text item.
*/
- static boolean shouldCreateTextArea(final FOTextContent foText,
+ static boolean shouldCreateTextArea(final FoTextContent foText,
final Area parentArea, final int startOffset, final int sizeInChars,
final boolean isLastItemOnLine, final FOContext context) {
/* If the raw text is empty, don't create the TextArea. */
@@ -1040,7 +1040,7 @@
/**
* {@inheritDoc}
*/
- public TextArea makeTextArea(final FOText foText,
+ public TextArea makeTextArea(final FoText foText,
final int ipd, final int startOffset, final int sizeInChars,
final boolean hasDiscretionaryHyphen,
final boolean hasFauxSmallCaps, final boolean isLastItemOnLine,
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -32,7 +32,7 @@
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.PageArea;
import org.axsl.foR.fo.FoValue;
-import org.axsl.foR.FOTreeException;
+import org.axsl.foR.FoTreeException;
import org.axsl.foR.fo.Marker;
import org.axsl.foR.fo.PageMasterResolver;
import org.axsl.foR.fo.PageSequence;
@@ -211,7 +211,7 @@
SimplePageMaster spm = null;
try {
spm = this.pageMasterResolver.getNextPageMaster(isBlank);
- } catch (final FOTreeException e) {
+ } catch (final FoTreeException e) {
throw new AreaWException(e);
}
final PageRA newPage = PageRA.makePageArea(spm, this);
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/SVGArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/SVGArea.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/SVGArea.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -31,7 +31,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.foR.fo.RetrieveMarker;
-import org.axsl.foR.svg.SVGElement;
+import org.axsl.foR.svg.SvgElement;
import org.axsl.graphicR.Graphic;
import org.w3c.dom.svg.SVGDocument;
@@ -66,7 +66,7 @@
* area.
* @return The new instance.
*/
- static SVGArea makeSvgArea(final SVGElement generatedBy,
+ static SVGArea makeSvgArea(final SvgElement generatedBy,
final ForeignObjectArea parentArea,
final RetrieveMarker retrieveMarker) {
final SVGArea newSvgArea = new SVGArea(parentArea);
@@ -81,7 +81,7 @@
*/
public SVGDocument getSVGDocument() {
// Cast verified at construction.
- final SVGElement generatedBy = traitGeneratedBy();
+ final SvgElement generatedBy = traitGeneratedBy();
return generatedBy.getSVGDocument();
}
@@ -139,8 +139,8 @@
/**
* {@inheritDoc}
*/
- public SVGElement traitGeneratedBy() {
- return (SVGElement) this.getLinkage().getFONode();
+ public SvgElement traitGeneratedBy() {
+ return (SvgElement) this.getLinkage().getFONode();
}
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -34,7 +34,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FONode;
-import org.axsl.foR.FOTextContent;
+import org.axsl.foR.FoTextContent;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.fontR.Font;
@@ -152,7 +152,7 @@
* will be applied.
* @return The newly-created TextArea.
*/
- static TextArea makeTextArea(final FOTextContent generatedBy,
+ static TextArea makeTextArea(final FoTextContent generatedBy,
final LineArea parentArea,
final RetrieveMarker retrieveMarker, final int backingOffset,
final int backingSize, final int progressionDimensionUsed,
@@ -196,7 +196,7 @@
* will be applied.
* @return The newly-created TextArea.
*/
- static TextArea makeTextArea(final FOTextContent generatedBy,
+ static TextArea makeTextArea(final FoTextContent generatedBy,
final AbstractInlineArea parentArea,
final RetrieveMarker retrieveMarker, final int backingOffset,
final int backingSize, final int progressionDimensionUsed,
@@ -322,12 +322,12 @@
* Returns the raw value of the text content backing this area.
* @return The text content backing this area.
*/
- public FOTextContent getTextContent() {
+ public FoTextContent getTextContent() {
/* Do NOT use the traitGeneratedBy() method here, because we need the
* raw value, and this class overrides that method. */
final FONode foNode = this.getLinkage().getFONode();
/* Cast verified at construction. */
- return (FOTextContent) foNode;
+ return (FoTextContent) foNode;
}
/**
Modified: trunk/foray/foray-core/src/java/org/foray/core/FOrayDocument.java
===================================================================
--- trunk/foray/foray-core/src/java/org/foray/core/FOrayDocument.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-core/src/java/org/foray/core/FOrayDocument.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -100,7 +100,7 @@
private List<FOrayTarget> targetList = new ArrayList<FOrayTarget>();
/** The FO tree builder, which handles the SAX events. */
- private org.axsl.foR.FOTree treeBuilder;
+ private org.axsl.foR.FoTree treeBuilder;
/** The current target being processed. */
private FOrayTarget currentTarget;
@@ -417,7 +417,7 @@
* Returns the FOTree for this document.
* @return The FOTree for this document.
*/
- public org.axsl.foR.FOTree getFOTreeBuilder() {
+ public org.axsl.foR.FoTree getFOTreeBuilder() {
return this.treeBuilder;
}
Modified: trunk/foray/foray-core/src/java/org/foray/core/FOraySession.java
===================================================================
--- trunk/foray/foray-core/src/java/org/foray/core/FOraySession.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-core/src/java/org/foray/core/FOraySession.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -30,7 +30,7 @@
import org.axsl.areaW.AreaTreeFactory;
-import org.axsl.foR.FOTreeFactory;
+import org.axsl.foR.FoTreeFactory;
import org.axsl.fontR.FontServer;
import org.axsl.graphicR.GraphicServer;
import org.axsl.hyphenR.HyphenationServer;
@@ -83,7 +83,7 @@
private GraphicServer graphicServer;
/** The FOTree factory for this session. */
- private FOTreeFactory foTreeFactory;
+ private FoTreeFactory foTreeFactory;
/** The AreaTree factory for this session. */
private AreaTreeFactory areaTreeFactory;
@@ -129,7 +129,7 @@
public FOraySession(final Log logger, final SessionConfig configuration,
final FontServer fontServer, final HyphenationServer hyphenServer,
final TextServer textServer, final GraphicServer graphicServer,
- final FOTreeFactory foTreeFactory,
+ final FoTreeFactory foTreeFactory,
final AreaTreeFactory areaTreeFactory,
final LayoutFactory layoutFactory) throws FOrayException {
/* Validate Logger. */
@@ -292,7 +292,7 @@
* Returns the FOTreeFactory.
* @return The FOTreeFactory.
*/
- public FOTreeFactory getFOTreeFactory() {
+ public FoTreeFactory getFOTreeFactory() {
return this.foTreeFactory;
}
Modified: trunk/foray/foray-core/src/java/org/foray/core/FOrayTarget.java
===================================================================
--- trunk/foray/foray-core/src/java/org/foray/core/FOrayTarget.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-core/src/java/org/foray/core/FOrayTarget.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -36,8 +36,8 @@
import org.axsl.areaW.AreaTreeFactory;
import org.axsl.areaW.AreaTreeListener;
import org.axsl.areaW.AreaWException;
-import org.axsl.foR.FOTreeEvent;
-import org.axsl.foR.FOTreeListener;
+import org.axsl.foR.FoTreeEvent;
+import org.axsl.foR.FoTreeListener;
import org.axsl.foR.fo.PageSequence;
import org.axsl.fontR.FontConsumer;
import org.axsl.fontR.FontServer;
@@ -68,7 +68,7 @@
FOTreeBuilder when a PageSequence is created,
and AreaTree when a Page is formatted.<P>
*/
-public class FOrayTarget implements FOTreeListener, AreaTreeListener {
+public class FOrayTarget implements FoTreeListener, AreaTreeListener {
/** Constant indicating whether memory profiling should be performed with
* the Java garbage collector. */
@@ -402,7 +402,7 @@
* do not need to do anything with it, so we ignore it.
* @param event The FOTreeEvent that was fired.
*/
- public void foFObjComplete(final FOTreeEvent event) {
+ public void foFObjComplete(final FoTreeEvent event) {
}
/**
@@ -410,7 +410,7 @@
* FOTreeEvent that is fired when a PageSequence object has been completed.
* @param event the FOTreeEvent that was fired
*/
- public void foPageSequenceComplete(final FOTreeEvent event) {
+ public void foPageSequenceComplete(final FoTreeEvent event) {
try {
final boolean shouldRender = this.getSessionConfig().isModeRender();
if (shouldRender) {
@@ -427,7 +427,7 @@
* is fired when the Document has been completely parsed.
* @param event the FOTreeEvent that was fired
*/
- public void foDocumentComplete(final FOTreeEvent event) {
+ public void foDocumentComplete(final FoTreeEvent event) {
getCreatedAreaTree().createDocumentNodes();
try {
stopRenderer();
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineNonText.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineNonText.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineNonText.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -35,10 +35,10 @@
* Wraps an underlying "real" FOLineNonText along with the context to be used by
* that item for trait resolution.
*/
-public class FOLineNonText implements org.axsl.foR.FOLineNonText {
+public class FOLineNonText implements org.axsl.foR.FoLineNonText {
/** The wrapped non-text item. */
- private org.axsl.foR.FOLineNonText realLineNonText;
+ private org.axsl.foR.FoLineNonText realLineNonText;
/** The FO context for this non-text item. */
private FOContext context;
@@ -48,7 +48,7 @@
* @param realLineNonText The wrapped non-text item.
* @param context The FO context for this non-text item.
*/
- public FOLineNonText(final org.axsl.foR.FOLineNonText realLineNonText,
+ public FOLineNonText(final org.axsl.foR.FoLineNonText realLineNonText,
final FOContext context) {
this.realLineNonText = realLineNonText;
this.context = context;
@@ -109,7 +109,7 @@
/**
* {@inheritDoc}
*/
- public org.axsl.foR.FOLineNonText getContextWrapper(
+ public org.axsl.foR.FoLineNonText getContextWrapper(
final FOContext context) {
/* This *is* the wrapper. */
return this;
@@ -118,7 +118,7 @@
/**
* {@inheritDoc}
*/
- public org.axsl.foR.FOLineNonText getWrapped() {
+ public org.axsl.foR.FoLineNonText getWrapped() {
return this.realLineNonText;
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineText.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineText.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineText.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -37,10 +37,10 @@
* Wraps an underlying "real" FOLineText along with the context to be used by
* that item for trait resolution.
*/
-public class FOLineText implements org.axsl.foR.FOLineText {
+public class FOLineText implements org.axsl.foR.FoLineText {
/** The wrapped text item. */
- private org.axsl.foR.FOLineText realLineText;
+ private org.axsl.foR.FoLineText realLineText;
/** The FO context for this text item. */
private FOContext context;
@@ -50,7 +50,7 @@
* @param realLineText The wrapped text item.
* @param context The FO context for this text item.
*/
- public FOLineText(final org.axsl.foR.FOLineText realLineText,
+ public FOLineText(final org.axsl.foR.FoLineText realLineText,
final FOContext context) {
this.realLineText = realLineText;
this.context = context;
@@ -275,7 +275,7 @@
/**
* {@inheritDoc}
*/
- public org.axsl.foR.FOLineText getContextWrapper(final FOContext context) {
+ public org.axsl.foR.FoLineText getContextWrapper(final FOContext context) {
/* This *is* the wrapper. */
return this;
}
@@ -283,7 +283,7 @@
/**
* {@inheritDoc}
*/
- public org.axsl.foR.FOLineText getWrapped() {
+ public org.axsl.foR.FoLineText getWrapped() {
return this.realLineText;
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FONode.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FONode.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FONode.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -33,7 +33,7 @@
import org.foray.fotree.fo.obj.Root;
import org.axsl.foR.FOContext;
-import org.axsl.foR.FOTreeException;
+import org.axsl.foR.FoTreeException;
import org.axsl.foR.fo.RetrieveMarker;
import org.apache.commons.logging.Log;
@@ -231,9 +231,9 @@
/**
* Convenience method handling some details of throwing a parsing exception.
* @param message The message indicating the reason for the exception.
- * @throws FOTreeException Always, as that is the purpose of this method.
+ * @throws FoTreeException Always, as that is the purpose of this method.
*/
- public void throwException(final String message) throws FOTreeException {
+ public void throwException(final String message) throws FoTreeException {
throwException(getContextMessage(), message);
}
@@ -241,11 +241,11 @@
* Convenience method handling some details of throwing a parsing exception.
* @param contextMessage The context portion of the exception message.
* @param message The message indicating the reason for the exception.
- * @throws FOTreeException Always, as that is the purpose of this method.
+ * @throws FoTreeException Always, as that is the purpose of this method.
*/
public void throwException(final String contextMessage,
- final String message) throws FOTreeException {
- final FOTreeException exception = new FOTreeException(message);
+ final String message) throws FoTreeException {
+ final FoTreeException exception = new FoTreeException(message);
exception.setContextMessage(contextMessage);
throw exception;
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java 2007-04-07 18:51:18 UTC (rev 9136)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java 2007-04-07 19:36:02 UTC (rev 9137)
@@ -34,7 +34,7 @@
import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FOContext;
-import org.axsl.foR.FOLineText;
+import org.axsl.foR.FoLineText;
import org.axsl.foR.ProxyFactory;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.Leader;
@@ -49,7 +49,7 @@
/**
* A text node in the formatting object tree.
*/
-public class FOText extends FONode implements FOLineText, org.axsl.foR.FOText {
+public class FOText extends FONode implements FoLineText, org.axsl.foR.FoText {
/** Constant i...
[truncated message content] |
|
From: <vic...@us...> - 2007-04-07 20:24:23
|
Revision: 9139
http://svn.sourceforge.net/foray/?rev=9139&view=rev
Author: victormote
Date: 2007-04-07 13:24:23 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
Conform to axsl changes renaming classes.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java
trunk/foray/foray-areatree/src/java/org/foray/area/AreaTree.java
trunk/foray/foray-areatree/src/java/org/foray/area/BookmarkArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/FOLinkage.java
trunk/foray/foray-areatree/src/java/org/foray/area/FOLinkageMarker.java
trunk/foray/foray-areatree/src/java/org/foray/area/FOLinkageNormal.java
trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TextArea.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineNonText.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOLineText.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FONode.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObjScaled.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BasicLink.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Block.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Bookmark.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Character.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ExternalGraphic.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Flow.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/InstreamForeignObject.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/LayoutMasterSet.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Leader.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItem.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItemBody.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItemLabel.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumber.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberCitation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Region.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionAfter.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionBefore.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionBody.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionEnd.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RegionStart.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Root.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/SimplePageMaster.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/StaticContent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Table.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableColumn.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Wrapper.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentAdjust.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AlignmentBaseline.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AudioDial.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Azimuth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundImage.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundPosition.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BaselineShift.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Boolean.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderSeparation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderStyle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Character.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Clip.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Color.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnGap.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnNumber.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Country.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Cue.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DestinationPlacementOffset.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DisplayAlign.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DominantBaseline.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Elevation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Extent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontFamily.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontSize.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontSizeAdjust.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontStretch.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontStyle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontVariant.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/FontWeight.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ForcePageCount.java
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/HyphPushCharCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/HyphRemainCharCount.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Indent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/InitialPageNumber.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Keep.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Language.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LastLineEndIndent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LeaderLength.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LeaderPatternWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LetterSpacing.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/LineHeight.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Margin.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Name.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Orphans.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Padding.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/PageDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Pause.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Pitch.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/PlayDuring.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ProvDistanceBetween.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ProvLabelSeparation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RefId.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RelativeDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RelativeSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Role.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RuleThickness.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Script.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Size.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SourceDocument.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/SpeechRate.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Src.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlign.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlignLast.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAltitude.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextDecoration.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextDepth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextIndent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextShadow.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TreatAsWordSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/VoiceFamily.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Volume.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Widows.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/WordSpacing.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/WritingMode.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ZIndex.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnBodyStart.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnLabelEnd.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/PropertyValue.java
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/TestProperty.java
trunk/foray/foray-output/src/java/org/foray/output/MIFConverter.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/AbstractTablePartPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockContainerPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/ContinuedLabelPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FObjPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FootnoteBodyPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/NoLayoutPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/PioneerLS.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/RetrieveMarkerPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableCellPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 19:42:21 UTC (rev 9138)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 20:24:23 UTC (rev 9139)
@@ -41,7 +41,7 @@
import org.axsl.common.Overflow;
import org.axsl.common.RelativeAxis;
import org.axsl.common.Scaling;
-import org.axsl.foR.FOContext;
+import org.axsl.foR.FoContext;
import org.axsl.foR.Fo;
import org.axsl.foR.WritingMode;
import org.axsl.foR.fo.BasicLink;
@@ -68,7 +68,7 @@
/**
* Returns the background-repeat trait.
* @return The background-repeat trait.
- * @see Fo#traitBackgroundRepeat(FOContext)
+ * @see Fo#traitBackgroundRepeat(FoContext)
*/
public FoValue traitBackgroundRepeat() {
return this.traitGeneratedBy().traitBackgroundRepeat(this);
@@ -77,7 +77,7 @@
/**
* Returns the background-image trait.
* @return The background-image trait.
- * @see Fo#traitBackgroundImage(FOContext)
+ * @see Fo#traitBackgroundImage(FoContext)
*/
public Graphic traitBackgroundImage() {
return this.traitGeneratedBy().traitBackgroundImage(this);
@@ -112,7 +112,7 @@
/**
* Returns the letter-spacing optimum trait.
* @return The letter-spacing optimum trait.
- * @see Fo#traitLetterSpacingOpt(FOContext)
+ * @see Fo#traitLetterSpacingOpt(FoContext)
*/
public int traitLetterSpacingOpt() {
return traitGeneratedBy().traitLetterSpacingOpt(this);
@@ -121,7 +121,7 @@
/**
* Returns the letter-spacing maximum trait.
* @return The letter-spacing maximum trait.
- * @see Fo#traitLetterSpacingMax(FOContext)
+ * @see Fo#traitLetterSpacingMax(FoContext)
*/
public int traitLetterSpacingMax() {
return traitGeneratedBy().traitLetterSpacingMax(this);
@@ -130,7 +130,7 @@
/**
* Returns the letter-spacing minimum trait.
* @return The letter-spacing minimum trait.
- * @see Fo#traitLetterSpacingMin(FOContext)
+ * @see Fo#traitLetterSpacingMin(FoContext)
*/
public int traitLetterSpacingMin() {
return traitGeneratedBy().traitLetterSpacingMin(this);
@@ -150,7 +150,7 @@
/**
* Returns the word-spacing optimum trait.
* @return The word-spacing optimum trait.
- * @see Fo#traitWordSpacingOpt(FOContext)
+ * @see Fo#traitWordSpacingOpt(FoContext)
*/
public int traitWordSpacingOpt() {
return traitGeneratedBy().traitWordSpacingOpt(this);
@@ -159,7 +159,7 @@
/**
* Returns the word-spacing maximum trait.
* @return The word-spacing maximum trait.
- * @see Fo#traitWordSpacingMax(FOContext)
+ * @see Fo#traitWordSpacingMax(FoContext)
*/
public int traitWordSpacingMax() {
return traitGeneratedBy().traitWordSpacingMax(this);
@@ -168,7 +168,7 @@
/**
* Returns the word-spacing minimum trait.
* @return The word-spacing minimum trait.
- * @see Fo#traitWordSpacingMin(FOContext)
+ * @see Fo#traitWordSpacingMin(FoContext)
*/
public int traitWordSpacingMin() {
return traitGeneratedBy().traitWordSpacingMin(this);
@@ -177,7 +177,7 @@
/**
* Returns the font-size trait.
* @return The font-size trait.
- * @see Fo#traitFontSize(FOContext)
+ * @see Fo#traitFontSize(FoContext)
*/
public int traitFontSize() {
return traitGeneratedBy().traitFontSize(this);
@@ -186,7 +186,7 @@
/**
* Returns the end-indent trait.
* @return The end-indent trait.
- * @see Fo#traitEndIndent(FOContext, int)
+ * @see Fo#traitEndIndent(FoContext, int)
*/
public int traitEndIndent() {
final int percentBase = this.getContainingReferenceArea().crIPD();
@@ -196,7 +196,7 @@
/**
* Returns the start-indent trait.
* @return The start-indent trait.
- * @see Fo#traitStartIndent(FOContext, int)
+ * @see Fo#traitStartIndent(FoContext, int)
*/
public int traitStartIndent() {
final Area containingRA = this.getContainingReferenceArea();
@@ -218,7 +218,7 @@
/**
* Returns the primary font for this area.
* @return The primary font for this area.
- * @see Fo#getPrimaryFont(FOContext)
+ * @see Fo#getPrimaryFont(FoContext)
*/
public FontUse getPrimaryFont() {
return traitGeneratedBy().getPrimaryFont(this);
@@ -229,7 +229,7 @@
* @param codePoint The Unicode code point for which the secondary font is
* needed.
* @return A secondary font for this area.
- * @see Fo#getSecondaryFont(FOContext, int)
+ * @see Fo#getSecondaryFont(FoContext, int)
*/
public FontUse getSecondaryFont(final int codePoint) {
return traitGeneratedBy().getSecondaryFont(this, codePoint);
@@ -282,7 +282,7 @@
/**
* Returns the font-family for this area.
* @return The font-family for this area.
- * @see Fo#traitFontFamily(FOContext)
+ * @see Fo#traitFontFamily(FoContext)
*/
public String traitFontFamily() {
return traitGeneratedBy().traitFontFamily(this)[0];
@@ -291,7 +291,7 @@
/**
* Returns the background-color for this area.
* @return The background-color for this area.
- * @see Fo#traitBackgroundColor(FOContext)
+ * @see Fo#traitBackgroundColor(FoContext)
*/
public Color traitBackgroundColor() {
return traitGeneratedBy().traitBackgroundColor(this);
@@ -300,7 +300,7 @@
/**
* Returns the relative-position for this area.
* @return The relative-position for this area.
- * @see Fo#traitRelativePosition(FOContext)
+ * @see Fo#traitRelativePosition(FoContext)
*/
public FoValue traitRelativePosition() {
return traitGeneratedBy().traitRelativePosition(this);
@@ -391,7 +391,7 @@
/**
* Returns the font-variant trait of this area.
* @return The font-variant trait of this area.
- * @see Fo#traitFontVariant(FOContext)
+ * @see Fo#traitFontVariant(FoContext)
*/
public Font.Variant traitFontVariant() {
return traitGeneratedBy().traitFontVariant(this);
@@ -400,7 +400,7 @@
/**
* Returns the underline-score trait of this area.
* @return The underline-score trait of this area.
- * @see Fo#traitUnderlineScore(FOContext)
+ * @see Fo#traitUnderlineScore(FoContext)
*/
public boolean traitUnderlineScore() {
return traitGeneratedBy().traitUnderlineScore(this);
@@ -409,7 +409,7 @@
/**
* Returns the overline-score trait of this area.
* @return The overline-score trait of this area.
- * @see Fo#traitOverlineScore(FOContext)
+ * @see Fo#traitOverlineScore(FoContext)
*/
public boolean traitOverlineScore() {
return traitGeneratedBy().traitOverlineScore(this);
@@ -418,7 +418,7 @@
/**
* Returns the through-score trait of this area.
* @return The through-score trait of this area.
- * @see Fo#traitThroughScore(FOContext)
+ * @see Fo#traitThroughScore(FoContext)
*/
public boolean traitThroughScore() {
return traitGeneratedBy().traitThroughScore(this);
@@ -427,7 +427,7 @@
/**
* Returns the underline-score-color trait of this area.
* @return The underline-score-color trait of this area.
- * @see Fo#traitUnderlineScoreColor(FOContext)
+ * @see Fo#traitUnderlineScoreColor(FoContext)
*/
public Color traitUnderlineScoreColor() {
return traitGeneratedBy().traitUnderlineScoreColor(this);
@@ -436,7 +436,7 @@
/**
* Returns the overline-score-color trait of this area.
* @return The overline-score-color trait of this area.
- * @see Fo#traitOverlineScoreColor(FOContext)
+ * @see Fo#traitOverlineScoreColor(FoContext)
*/
public Color traitOverlineScoreColor() {
return traitGeneratedBy().traitOverlineScoreColor(this);
@@ -445,7 +445,7 @@
/**
* Returns the through-score-color trait of this area.
* @return The through-score-color trait of this area.
- * @see Fo#traitThroughScoreColor(FOContext)
+ * @see Fo#traitThroughScoreColor(FoContext)
*/
public Color traitThroughScoreColor() {
return traitGeneratedBy().traitThroughScoreColor(this);
@@ -897,7 +897,7 @@
/**
* Returns the padding-start trait for this area.
* @return The padding-start trait for this area.
- * @see Fo#traitPaddingStart(FOContext, boolean)
+ * @see Fo#traitPaddingStart(FoContext, boolean)
*/
public int traitPaddingStart() {
return traitGeneratedBy().traitPaddingStart(this, traitIsFirst());
@@ -906,7 +906,7 @@
/**
* Returns the padding-end trait for this area.
* @return The padding-end trait for this area.
- * @see Fo#traitPaddingEnd(FOContext, boolean)
+ * @see Fo#traitPaddingEnd(FoContext, boolean)
*/
public int traitPaddingEnd() {
return traitGeneratedBy().traitPaddingEnd(this, traitIsLast());
@@ -915,7 +915,7 @@
/**
* Returns the padding-before trait for this area.
* @return The padding-before trait for this area.
- * @see Fo#traitPaddingBefore(FOContext, boolean)
+ * @see Fo#traitPaddingBefore(FoContext, boolean)
*/
public int traitPaddingBefore() {
return traitGeneratedBy().traitPaddingBefore(this, traitIsFirst());
@@ -924,7 +924,7 @@
/**
* Returns the padding-after trait for this area.
* @return The padding-after trait for this area.
- * @see Fo#traitPaddingAfter(FOContext, boolean)
+ * @see Fo#traitPaddingAfter(FoContext, boolean)
*/
public int traitPaddingAfter() {
return traitGeneratedBy().traitPaddingAfter(this, traitIsLast());
@@ -933,7 +933,7 @@
/**
* Returns the space-before minimum trait for this area.
* @return The space-before minimum trait for this area.
- * @see Fo#traitSpaceBeforeMinimum(FOContext)
+ * @see Fo#traitSpaceBeforeMinimum(FoContext)
*/
public int traitSpaceBeforeMinimum() {
return traitGeneratedBy().traitSpaceBeforeMinimum(this);
@@ -942,7 +942,7 @@
/**
* Returns the space-before optimum trait for this area.
* @return The space-before optimum trait for this area.
- * @see Fo#traitSpaceBeforeOptimum(FOContext)
+ * @see Fo#traitSpaceBeforeOptimum(FoContext)
*/
public int traitSpaceBeforeOptimum() {
return traitGeneratedBy().traitSpaceBeforeOptimum(this);
@@ -951,7 +951,7 @@
/**
* Returns the space-before maximum trait for this area.
* @return The space-before maximum trait for this area.
- * @see Fo#traitSpaceBeforeMaximum(FOContext)
+ * @see Fo#traitSpaceBeforeMaximum(FoContext)
*/
public int traitSpaceBeforeMaximum() {
return traitGeneratedBy().traitSpaceBeforeMaximum(this);
@@ -960,7 +960,7 @@
/**
* Returns the space-after minimum trait for this area.
* @return The space-after minimum trait for this area.
- * @see Fo#traitSpaceAfterMinimum(FOContext)
+ * @see Fo#traitSpaceAfterMinimum(FoContext)
*/
public int traitSpaceAfterMinumum() {
return traitGeneratedBy().traitSpaceAfterMinimum(this);
@@ -969,7 +969,7 @@
/**
* Returns the space-after optimum trait for this area.
* @return The space-after optimum trait for this area.
- * @see Fo#traitSpaceAfterOptimum(FOContext)
+ * @see Fo#traitSpaceAfterOptimum(FoContext)
*/
public int traitSpaceAfterOptimum() {
return traitGeneratedBy().traitSpaceAfterOptimum(this);
@@ -978,7 +978,7 @@
/**
* Returns the space-after maximum trait for this area.
* @return The space-after maximum trait for this area.
- * @see Fo#traitSpaceAfterMaximum(FOContext)
+ * @see Fo#traitSpaceAfterMaximum(FoContext)
*/
public int traitSpaceAfterMaximum() {
return traitGeneratedBy().traitSpaceAfterMaximum(this);
@@ -987,7 +987,7 @@
/**
* Returns the space-start optimum trait for this area.
* @return The space-start optimum trait for this area.
- * @see Fo#traitSpaceStartOptimum(FOContext, int)
+ * @see Fo#traitSpaceStartOptimum(FoContext, int)
*/
public int traitSpaceStartOptimum() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -998,7 +998,7 @@
/**
* Returns the space-end optimum trait for this area.
* @return The space-end optimum trait for this area.
- * @see Fo#traitSpaceEndOptimum(FOContext, int)
+ * @see Fo#traitSpaceEndOptimum(FoContext, int)
*/
public int traitSpaceEndOptimum() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -1008,7 +1008,7 @@
/**
* Returns the bp direction trait for this area.
* @return The bp direction trait for this area.
- * @see Fo#traitBPDirection(FOContext)
+ * @see Fo#traitBPDirection(FoContext)
*/
public AbsoluteDirection traitBPDirection() {
return traitGeneratedBy().traitBPDirection(this);
@@ -1017,7 +1017,7 @@
/**
* Returns the ip direction trait for odd-numbered lines in this area.
* @return The ip direction trait for odd-numbered lines in this area.
- * @see Fo#traitIPDirectionOdd(FOContext)
+ * @see Fo#traitIPDirectionOdd(FoContext)
*/
public AbsoluteDirection traitIPDirectionOdd() {
return traitGeneratedBy().traitIPDirectionOdd(this);
@@ -1026,7 +1026,7 @@
/**
* Returns the ip direction trait for even-numbered lines in this area.
* @return The ip direction trait for even-numbered lines in this area.
- * @see Fo#traitIPDirectionOdd(FOContext)
+ * @see Fo#traitIPDirectionOdd(FoContext)
*/
public AbsoluteDirection traitIPDirectionEven() {
return traitGeneratedBy().traitIPDirectionEven(this);
@@ -1147,7 +1147,7 @@
/**
* Returns the writing-mode for this area.
* @return The writing-mode for this area.
- * @see Fo#getWritingMode(FOContext)
+ * @see Fo#getWritingMode(FoContext)
*/
public WritingMode getWritingMode() {
return traitGeneratedBy().getWritingMode(this);
@@ -1282,7 +1282,7 @@
/**
* Returns the half-leading optimum trait for this area.
* @return The half-leading optimum trait for this area.
- * @see Fo#traitHalfLeadingOpt(FOContext)
+ * @see Fo#traitHalfLeadingOpt(FoContext)
*/
public int traitHalfLeadingOpt() {
return traitGeneratedBy().traitHalfLeadingOpt(this);
@@ -1338,7 +1338,7 @@
/**
* Returns the whitespace-treatment trait for this area.
* @return The whitespace-treatment trait for this area.
- * @see Fo#traitWhiteSpaceTreatment(FOContext)
+ * @see Fo#traitWhiteSpaceTreatment(FoContext)
*/
public FoValue traitWhiteSpaceTreatment() {
return traitGeneratedBy().traitWhiteSpaceTreatment(this);
@@ -1363,7 +1363,7 @@
/**
* Returns the wrap-option trait for this area.
* @return The wrap-option trait for this area.
- * @see Fo#traitWrapOption(FOContext)
+ * @see Fo#traitWrapOption(FoContext)
*/
public FoValue traitWrapOption() {
return traitGeneratedBy().traitWrapOption(this);
@@ -1372,7 +1372,7 @@
/**
* Returns the language trait for this area.
* @return The language trait for this area.
- * @see Fo#traitLanguage(FOContext)
+ * @see Fo#traitLanguage(FoContext)
*/
public String traitLanguage() {
return traitGeneratedBy().traitLanguage(this);
@@ -1388,7 +1388,7 @@
/**
* Returns the text-align trait for this area.
* @return The text-align trait for this area.
- * @see Fo#traitTextAlign(FOContext)
+ * @see Fo#traitTextAlign(FoContext)
*/
public FoValue traitTextAlign() {
return traitGeneratedBy().traitTextAlign(this);
@@ -1397,7 +1397,7 @@
/**
* Returns the alignment-baseline trait for this area.
* @return The alignment-baseline trait for this area.
- * @see Fo#traitAlignmentBaseline(FOContext)
+ * @see Fo#traitAlignmentBaseline(FoContext)
*/
public FoValue traitAlignmentBaseline() {
return traitGeneratedBy().traitAlignmentBaseline(this);
@@ -1413,7 +1413,7 @@
/**
* Returns the ref-id trait for this area.
* @return The ref-id trait for this area.
- * @see Fo#traitRefId(FOContext)
+ * @see Fo#traitRefId(FoContext)
*/
public String traitRefId() {
return traitGeneratedBy().traitRefId(this);
@@ -1422,7 +1422,7 @@
/**
* Returns the hyphenation-character trait for this area.
* @return The hyphenation-character trait for this area.
- * @see Fo#traitWrapOption(FOContext)
+ * @see Fo#traitWrapOption(FoContext)
*/
public int traitHyphenationCharacter() {
return traitGeneratedBy().traitHyphenationCharacter(this);
@@ -1431,7 +1431,7 @@
/**
* Returns the dominant-baseline trait for this area.
* @return The dominant-baseline trait for this area.
- * @see Fo#traitWrapOption(FOContext)
+ * @see Fo#traitWrapOption(FoContext)
*/
public Baseline traitDominantBaseline() {
return traitGeneratedBy().traitDominantBaseline(this);
@@ -1557,7 +1557,7 @@
/**
* Returns the top trait for this area.
* @return The top trait for this area.
- * @see Fo#traitTop(FOContext, int)
+ * @see Fo#traitTop(FoContext, int)
*/
public int traitTop() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -1567,7 +1567,7 @@
/**
* Returns the bottom trait for this area.
* @return The bottom trait for this area.
- * @see Fo#traitBottom(FOContext, int)
+ * @see Fo#traitBottom(FoContext, int)
*/
public int traitBottom() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -1577,7 +1577,7 @@
/**
* Returns the left trait for this area.
* @return The left trait for this area.
- * @see Fo#traitLeft(FOContext, int)
+ * @see Fo#traitLeft(FoContext, int)
*/
public int traitLeft() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
@@ -1587,7 +1587,7 @@
/**
* Returns the right trait for this area.
* @return The right trait for this area.
- * @see Fo#traitRight(FOContext, int)
+ * @see Fo#traitRight(FoContext, int)
*/
public int traitRight() {
final Area ancestor = this.ancestorBlockAreaNotALineArea();
Modified: trunk/foray/foray-areatree/s...
[truncated message content] |
|
From: <vic...@us...> - 2007-04-07 22:04:40
|
Revision: 9140
http://svn.sourceforge.net/foray/?rev=9140&view=rev
Author: victormote
Date: 2007-04-07 15:04:34 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
Conform to axsl changes removing an interface.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Keep.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtKeep.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 20:24:23 UTC (rev 9139)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 22:04:34 UTC (rev 9140)
@@ -955,10 +955,10 @@
if (enumProperty != null) {
switch(enumProperty.getValue(context, fobj)) {
case AUTO: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
case AVOID: {
- return org.axsl.foR.Keep.ALWAYS;
+ return Integer.MAX_VALUE;
}
}
}
@@ -1018,19 +1018,19 @@
if (enumProperty != null) {
switch(enumProperty.getValue(context, fobj)) {
case AUTO: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
case ALWAYS: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
case AVOID: {
- return org.axsl.foR.Keep.ALWAYS;
+ return Integer.MAX_VALUE;
}
case LEFT: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
case RIGHT: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
}
}
@@ -1090,19 +1090,19 @@
if (enumProperty != null) {
switch(enumProperty.getValue(context, fobj)) {
case AUTO: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
case ALWAYS: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
case AVOID: {
- return org.axsl.foR.Keep.ALWAYS;
+ return Integer.MAX_VALUE;
}
case LEFT: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
case RIGHT: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
}
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Keep.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Keep.java 2007-04-07 20:24:23 UTC (rev 9139)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Keep.java 2007-04-07 22:04:34 UTC (rev 9140)
@@ -121,10 +121,10 @@
subProperty, fobj);
}
case AUTO: {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
case ALWAYS: {
- return org.axsl.foR.Keep.ALWAYS;
+ return Integer.MAX_VALUE;
}
}
}
@@ -152,7 +152,7 @@
final FObj fobj) {
// keep-together is inherited, the others are not
if (propertyType != FoProperty.KEEP_TOGETHER) {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
return getValueInherited(context, propertyType, subProperty, fobj);
}
@@ -162,7 +162,7 @@
final FObj fobj) {
final FObj parent = fobj.effectiveParent(context);
if (parent == null) {
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
switch (propertyType) {
case KEEP_TOGETHER: {
@@ -205,7 +205,7 @@
}
}
}
- return org.axsl.foR.Keep.AUTO;
+ return Integer.MIN_VALUE;
}
protected FoValue[] getValidKeywords() {
@@ -252,12 +252,12 @@
switch (kwIndex) {
case AUTO: {
setComponent(keepDT, subPropertyName,
- org.axsl.foR.Keep.AUTO);
+ Integer.MIN_VALUE);
return keepDT;
}
case ALWAYS: {
setComponent(keepDT, subPropertyName,
- org.axsl.foR.Keep.ALWAYS);
+ Integer.MAX_VALUE);
return keepDT;
}
default: {
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtKeep.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtKeep.java 2007-04-07 20:24:23 UTC (rev 9139)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtKeep.java 2007-04-07 22:04:34 UTC (rev 9140)
@@ -28,8 +28,6 @@
package org.foray.fotree.value;
-import org.axsl.foR.Keep;
-
/**
* A keep datatype in XSL. Used for the XSL-FO properties keep-together,
* keep-with-next, and keep-with-previous. This datatype is
@@ -80,7 +78,8 @@
* @return A new, default SpaceDT instance.
*/
public static DtKeep createKeepDT() {
- return new DtKeep(Keep.AUTO, Keep.AUTO, Keep.AUTO);
+ return new DtKeep(Integer.MIN_VALUE, Integer.MIN_VALUE,
+ Integer.MIN_VALUE);
}
}
Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java
===================================================================
--- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java 2007-04-07 20:24:23 UTC (rev 9139)
+++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java 2007-04-07 22:04:34 UTC (rev 9140)
@@ -33,7 +33,6 @@
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.TableRowContainer;
import org.axsl.foR.fo.FoValue;
-import org.axsl.foR.Keep;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.fo.TableCell;
import org.axsl.foR.fo.TableRow;
@@ -102,7 +101,8 @@
final int rowSpan = cell.traitNumberRowsSpanned();
final Status status = cellPL.layout(rowContainer, retrieveMarker);
if (status.isIncomplete()) {
- if ((this.node.traitKeepTogetherWithinColumn(area) == Keep.ALWAYS
+ if ((this.node.traitKeepTogetherWithinColumn(area)
+ == Integer.MAX_VALUE
&& ignoreKeepTogether == false)
|| (status == Status.AREA_FULL_NONE)
|| rowSpan > 1) {
@@ -157,7 +157,7 @@
setProgress(FONodePL.BREAK_AFTER);
return Status.FORCE_COLUMN_BREAK;
}
- if (this.node.traitKeepWithNextWithinColumn(area) > Keep.AUTO) {
+ if (this.node.traitKeepWithNextWithinColumn(area) > Integer.MIN_VALUE) {
return Status.KEEP_WITH_NEXT;
}
return Status.OK;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-07 22:20:25
|
Revision: 9141
http://svn.sourceforge.net/foray/?rev=9141&view=rev
Author: victormote
Date: 2007-04-07 15:20:24 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
Conform to axsl change moving classes.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/AbstractTablePartContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/AreaFlexible.java
trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/ListBlockArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/ListItemArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/RegionRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/RegionRABody.java
trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRowContainer.java
trunk/foray/foray-font/src/java/org/foray/font/FOrayFont.java
trunk/foray/foray-font/src/java/org/foray/font/FreeStandingFont.java
trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BasicLink.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundPosition.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderSeparation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderStyle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ContentDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Extent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/GlyphOrientation.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Indent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Margin.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Padding.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/PageDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RelativeDimension.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RelativeSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Size.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/PropertyCollection.java
trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/Renderer.java
trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/pcl/PCLRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/pdf/PDFRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AbstractInlineArea.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,7 +30,7 @@
import org.axsl.areaR.GeneralInlineArea;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
/**
* Common superclass for all areas generated by inline formatting objects.
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AbstractTablePartContainer.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AbstractTablePartContainer.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AbstractTablePartContainer.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,7 +30,7 @@
import org.axsl.areaR.BackgroundArea;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.fo.TableRow;
import org.axsl.graphicR.Graphic;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -32,19 +32,19 @@
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.BlockContainerRA;
-import org.axsl.common.AbsoluteAxis;
-import org.axsl.common.AbsoluteDirection;
-import org.axsl.common.Baseline;
-import org.axsl.common.BorderStyle;
-import org.axsl.foR.fo.FoValue;
-import org.axsl.common.LinkType;
-import org.axsl.common.Overflow;
-import org.axsl.common.RelativeAxis;
-import org.axsl.common.Scaling;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.AbsoluteDirection;
+import org.axsl.common.value.Baseline;
+import org.axsl.common.value.BorderStyle;
+import org.axsl.common.value.LinkType;
+import org.axsl.common.value.Overflow;
+import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.Scaling;
+import org.axsl.foR.Fo;
import org.axsl.foR.FoContext;
-import org.axsl.foR.Fo;
import org.axsl.foR.WritingMode;
import org.axsl.foR.fo.BasicLink;
+import org.axsl.foR.fo.FoValue;
import org.axsl.fontR.Font;
import org.axsl.fontR.FontUse;
import org.axsl.graphicR.Graphic;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AreaFlexible.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AreaFlexible.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AreaFlexible.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -28,7 +28,7 @@
package org.foray.area;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import java.util.List;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,7 +30,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.Fo;
import java.util.ArrayList;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -31,10 +31,10 @@
import org.axsl.areaR.BlockContainerArea;
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.foR.fo.FoValue;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.BlockContainer;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.graphicR.Graphic;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,7 +30,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.Fo;
import java.util.ArrayList;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -29,12 +29,12 @@
package org.foray.area;
import org.axsl.areaR.RenderVisitor;
-import org.axsl.foR.fo.FoValue;
-import org.axsl.common.LeaderPattern;
-import org.axsl.common.RuleStyle;
+import org.axsl.common.value.LeaderPattern;
+import org.axsl.common.value.RuleStyle;
+import org.axsl.foR.Fo;
import org.axsl.foR.FoText;
-import org.axsl.foR.Fo;
import org.axsl.foR.fo.ExternalGraphic;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.InstreamForeignObject;
import org.axsl.foR.fo.Leader;
import org.axsl.foR.fo.PageNumber;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,16 +30,16 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.AbsoluteAxis;
-import org.axsl.common.Baseline;
-import org.axsl.common.Compass;
-import org.axsl.foR.fo.FoValue;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.Baseline;
+import org.axsl.common.value.Compass;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.FoContext;
import org.axsl.foR.FoText;
import org.axsl.foR.FoTextContent;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.ExternalGraphic;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.InstreamForeignObject;
import org.axsl.foR.fo.Leader;
import org.axsl.foR.fo.PageNumber;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ListBlockArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ListBlockArea.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ListBlockArea.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,7 +30,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.fo.ListBlock;
import org.axsl.foR.fo.ListItem;
import org.axsl.foR.fo.RetrieveMarker;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ListItemArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ListItemArea.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ListItemArea.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,7 +30,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.BlockContainer;
import org.axsl.foR.fo.ListBlock;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -31,11 +31,11 @@
import org.axsl.areaR.MainReferenceArea;
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.foR.fo.FoValue;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.BlockContainer;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.RegionBody;
import java.util.ArrayList;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -31,7 +31,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.BlockContentFactory;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.ListItem;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,7 +30,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.BlockContainer;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -32,12 +32,12 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.PageCollection.Force;
-import org.axsl.common.AbsoluteAxis;
-import org.axsl.common.AbsoluteDirection;
-import org.axsl.common.Compass;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.AbsoluteDirection;
+import org.axsl.common.value.Compass;
+import org.axsl.common.value.RelativeAxis;
+import org.axsl.foR.Fo;
import org.axsl.foR.fo.FoValue;
-import org.axsl.common.RelativeAxis;
-import org.axsl.foR.Fo;
import org.axsl.foR.fo.Marker;
import org.axsl.foR.fo.PageSequence;
import org.axsl.foR.fo.Region;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/RegionRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/RegionRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/RegionRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -31,7 +31,7 @@
import org.axsl.areaR.RegionArea;
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.BlockContainer;
import org.axsl.foR.fo.ListBlock;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/RegionRABody.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/RegionRABody.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/RegionRABody.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -32,9 +32,9 @@
import org.axsl.areaR.RegionBodyArea;
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.AbsoluteAxis;
-import org.axsl.common.AbsoluteDirection;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.AbsoluteDirection;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.fo.RegionBody;
import org.axsl.foR.fo.SimplePageMaster;
import org.axsl.graphicR.Graphic;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,9 +30,9 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
+import org.axsl.common.value.RelativeAxis;
+import org.axsl.foR.Fo;
import org.axsl.foR.fo.FoValue;
-import org.axsl.common.RelativeAxis;
-import org.axsl.foR.Fo;
import org.axsl.foR.fo.RegionBody;
import java.util.ArrayList;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -31,11 +31,11 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaR.TableCellArea;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.BorderModel;
-import org.axsl.foR.fo.FoValue;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.BorderModel;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.BlockContainer;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.ListBlock;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.fo.Table;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -32,10 +32,10 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaR.TableArea;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.BorderModel;
+import org.axsl.common.value.BorderModel;
+import org.axsl.common.value.RelativeAxis;
+import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoValue;
-import org.axsl.common.RelativeAxis;
-import org.axsl.foR.FoContext;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.fo.Table;
import org.axsl.foR.fo.TableBody;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableRowContainer.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableRowContainer.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableRowContainer.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -30,7 +30,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.fo.TableCell;
Modified: trunk/foray/foray-font/src/java/org/foray/font/FOrayFont.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/FOrayFont.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-font/src/java/org/foray/font/FOrayFont.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -31,8 +31,8 @@
import org.foray.font.format.Kerning;
import org.foray.font.format.Panose;
-import org.axsl.common.AbsoluteAxis;
-import org.axsl.common.Baseline;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.Baseline;
import org.axsl.fontR.Font;
import org.apache.commons.logging.Log;
Modified: trunk/foray/foray-font/src/java/org/foray/font/FreeStandingFont.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/FreeStandingFont.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-font/src/java/org/foray/font/FreeStandingFont.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -34,8 +34,8 @@
import org.foray.font.format.Kerning;
import org.foray.ps.encode.Encoding;
-import org.axsl.common.AbsoluteAxis;
-import org.axsl.common.Baseline;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.Baseline;
import org.axsl.fontR.Font;
import java.io.IOException;
Modified: trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -34,8 +34,8 @@
import org.foray.font.format.FontFileReader;
import org.foray.font.format.Kerning;
-import org.axsl.common.AbsoluteAxis;
-import org.axsl.common.Baseline;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.Baseline;
import org.axsl.fontR.FontException;
import java.awt.Font;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -35,17 +35,17 @@
import org.foray.fotree.fo.obj.StaticContent;
import org.foray.fotree.fo.obj.Table;
-import org.axsl.common.AbsoluteAxis;
-import org.axsl.common.AbsoluteDirection;
-import org.axsl.common.Baseline;
-import org.axsl.common.BorderModel;
-import org.axsl.common.BorderStyle;
-import org.axsl.common.Compass;
-import org.axsl.common.LeaderPattern;
-import org.axsl.common.Overflow;
-import org.axsl.common.RelativeAxis;
-import org.axsl.common.RuleStyle;
-import org.axsl.common.Scaling;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.AbsoluteDirection;
+import org.axsl.common.value.Baseline;
+import org.axsl.common.value.BorderModel;
+import org.axsl.common.value.BorderStyle;
+import org.axsl.common.value.Compass;
+import org.axsl.common.value.LeaderPattern;
+import org.axsl.common.value.Overflow;
+import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.RuleStyle;
+import org.axsl.common.value.Scaling;
import org.axsl.foR.FoContext;
import org.axsl.foR.FoTreeException;
import org.axsl.foR.ShadowEffect;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -143,13 +143,13 @@
import org.foray.fotree.value.DtWritingMode;
import org.foray.fotree.xml.prop.Lang;
-import org.axsl.common.AbsoluteAxis;
-import org.axsl.common.AbsoluteDirection;
-import org.axsl.common.Compass;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.AbsoluteDirection;
+import org.axsl.common.value.Compass;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
import org.axsl.foR.PropertyType;
-import org.axsl.common.RelativeAxis;
+import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.xml.XmlProperty;
import org.axsl.foR.FoContext;
import org.axsl.foR.ShadowEffect;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BasicLink.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BasicLink.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BasicLink.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -33,7 +33,7 @@
import org.foray.fotree.Namespace;
import org.foray.fotree.PropertyList;
-import org.axsl.common.LinkType;
+import org.axsl.common.value.LinkType;
import org.axsl.foR.FoContext;
import org.axsl.foR.FoTreeException;
import org.axsl.foR.ProxyFactory;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteDimension.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -37,10 +37,10 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
+import org.axsl.common.value.RelativeAxis;
+import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
-import org.axsl.common.RelativeAxis;
-import org.axsl.foR.FoContext;
/**
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 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -38,10 +38,10 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.Compass;
+import org.axsl.common.value.Compass;
+import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
-import org.axsl.foR.FoContext;
/**
* Manages the "top", "bottom", "left", and "right" properties.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundPosition.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundPosition.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BackgroundPosition.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -40,10 +40,10 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.AbsoluteAxis;
+import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
-import org.axsl.foR.FoContext;
import java.util.StringTokenizer;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -38,7 +38,7 @@
import org.foray.fotree.value.PropertyCollection;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.Compass;
+import org.axsl.common.value.Compass;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -43,10 +43,10 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.Compass;
+import org.axsl.common.value.Compass;
+import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
-import org.axsl.foR.FoContext;
/**
* The "border-before-precedence", "border-after-precedence",
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderSeparation.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderSeparation.java 2007-04-07 22:04:34 UTC (rev 9140)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderSeparation.java 2007-04-07 22:20:24 UTC (rev 9141)
@@ -39,10 +39,10 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
+import org.axsl.common.value.RelativeAxis;
+import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
-import org.axsl.common.RelativeAxis;
-import org.axsl.foR.FoCon...
[truncated message content] |
|
From: <vic...@us...> - 2007-04-07 22:37:16
|
Revision: 9142
http://svn.sourceforge.net/foray/?rev=9142&view=rev
Author: victormote
Date: 2007-04-07 15:37:17 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
Conform to axsl change moving classes.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Clip.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextShadow.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtShadowEffect.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtShape.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 22:20:24 UTC (rev 9141)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-07 22:37:17 UTC (rev 9142)
@@ -42,7 +42,7 @@
import org.axsl.common.value.Scaling;
import org.axsl.foR.Fo;
import org.axsl.foR.FoContext;
-import org.axsl.foR.WritingMode;
+import org.axsl.common.value.WritingMode;
import org.axsl.foR.fo.BasicLink;
import org.axsl.foR.fo.FoValue;
import org.axsl.fontR.Font;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 22:20:24 UTC (rev 9141)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 22:37:17 UTC (rev 9142)
@@ -48,9 +48,9 @@
import org.axsl.common.value.Scaling;
import org.axsl.foR.FoContext;
import org.axsl.foR.FoTreeException;
-import org.axsl.foR.ShadowEffect;
-import org.axsl.foR.Shape;
-import org.axsl.foR.WritingMode;
+import org.axsl.common.value.ShadowEffect;
+import org.axsl.common.value.Shape;
+import org.axsl.common.value.WritingMode;
import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.Marker;
import org.axsl.fontR.Font;
@@ -2786,7 +2786,7 @@
/**
* {@inheritDoc}
*/
- public org.axsl.foR.WritingMode getWritingMode(final FoContext context) {
+ public WritingMode getWritingMode(final FoContext context) {
return propertyList.getWritingMode(context);
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 22:20:24 UTC (rev 9141)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-07 22:37:17 UTC (rev 9142)
@@ -152,8 +152,8 @@
import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.xml.XmlProperty;
import org.axsl.foR.FoContext;
-import org.axsl.foR.ShadowEffect;
-import org.axsl.foR.Shape;
+import org.axsl.common.value.ShadowEffect;
+import org.axsl.common.value.Shape;
import org.axsl.fontR.FontException;
import org.axsl.graphicR.Graphic;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Clip.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Clip.java 2007-04-07 22:20:24 UTC (rev 9141)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Clip.java 2007-04-07 22:37:17 UTC (rev 9142)
@@ -39,7 +39,7 @@
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FoContext;
-import org.axsl.foR.Shape;
+import org.axsl.common.value.Shape;
/**
* The "clip" property in XSL-FO.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextShadow.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextShadow.java 2007-04-07 22:20:24 UTC (rev 9141)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextShadow.java 2007-04-07 22:37:17 UTC (rev 9142)
@@ -39,7 +39,7 @@
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
import org.axsl.foR.FoContext;
-import org.axsl.foR.ShadowEffect;
+import org.axsl.common.value.ShadowEffect;
/**
* The "text-shadow" property in XSL-FO.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtShadowEffect.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtShadowEffect.java 2007-04-07 22:20:24 UTC (rev 9141)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtShadowEffect.java 2007-04-07 22:37:17 UTC (rev 9142)
@@ -37,7 +37,7 @@
* compound data structure of some kind to handle its options.
*/
public class DtShadowEffect extends Datatype implements
- org.axsl.foR.ShadowEffect {
+ org.axsl.common.value.ShadowEffect {
private static final byte MIN_QTY_DESCRIPTOR_ELEMENTS = 2;
private static final byte MAX_QTY_DESCRIPTOR_ELEMENTS = 4;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtShape.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtShape.java 2007-04-07 22:20:24 UTC (rev 9141)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtShape.java 2007-04-07 22:37:17 UTC (rev 9142)
@@ -35,7 +35,7 @@
* and in the CSS 2.1 Specification at 11.1.2 and other places.
*/
public abstract class DtShape extends Datatype implements
- org.axsl.foR.Shape {
+ org.axsl.common.value.Shape {
/**
* Tries to construct an instance of each of the subclasses, returning the
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java 2007-04-07 22:20:24 UTC (rev 9141)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java 2007-04-07 22:37:17 UTC (rev 9142)
@@ -48,7 +48,7 @@
* odd value for each.
*/
public final class DtWritingMode extends Datatype implements
- org.axsl.foR.WritingMode {
+ org.axsl.common.value.WritingMode {
private static Map<String, DtWritingMode> writingModes
= new HashMap<String, DtWritingMode>();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-07 23:14:31
|
Revision: 9143
http://svn.sourceforge.net/foray/?rev=9143&view=rev
Author: victormote
Date: 2007-04-07 16:14:30 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
Conform to axsl changes of return types to more generic enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RetrieveMarker.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 22:37:17 UTC (rev 9142)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 23:14:30 UTC (rev 9143)
@@ -36,6 +36,7 @@
import org.axsl.common.value.AbsoluteDirection;
import org.axsl.common.value.Compass;
import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.RetrievePosition;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.Marker;
@@ -510,7 +511,7 @@
// search forward if 'first-starting-within-page' or
// 'first-including-carryover'
if (retrieve.traitRetrievePosition()
- == FoValue.FIRST_INCLUDING_CARRYOVER) {
+ == RetrievePosition.FIRST_INCLUDING_CARRYOVER) {
for (int i = 0; i < pageMarkers.size(); i++) {
final Marker currentMarker = pageMarkers.get(i);
if (currentMarker.traitMarkerClassName().equals(
@@ -519,7 +520,7 @@
}
}
} else if (retrieve.traitRetrievePosition()
- == FoValue.FIRST_STARTING_WITHIN_PAGE) {
+ == RetrievePosition.FIRST_STARTING_WITHIN_PAGE) {
for (int i = 0; i < pageMarkers.size(); i++) {
final Marker currentMarker = pageMarkers.get(i);
if (currentMarker.traitMarkerClassName().equals(
@@ -530,7 +531,7 @@
}
}
} else if (retrieve.traitRetrievePosition()
- == FoValue.LAST_STARTING_WITHIN_PAGE) {
+ == RetrievePosition.LAST_STARTING_WITHIN_PAGE) {
for (int i = pageMarkers.size() - 1; i >= 0; i--) {
final Marker currentMarker = pageMarkers.get(i);
if (currentMarker.traitMarkerClassName().equals(
@@ -541,7 +542,7 @@
}
}
} else if (retrieve.traitRetrievePosition()
- == FoValue.LAST_ENDING_WITHIN_PAGE) {
+ == RetrievePosition.LAST_ENDING_WITHIN_PAGE) {
for (int i = pageMarkers.size() - 1; i >= 0; i--) {
final Marker currentMarker = pageMarkers.get(i);
if (currentMarker.traitMarkerClassName().equals(
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 22:37:17 UTC (rev 9142)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-07 23:14:30 UTC (rev 9143)
@@ -46,11 +46,11 @@
import org.axsl.common.value.RelativeAxis;
import org.axsl.common.value.RuleStyle;
import org.axsl.common.value.Scaling;
-import org.axsl.foR.FoContext;
-import org.axsl.foR.FoTreeException;
import org.axsl.common.value.ShadowEffect;
import org.axsl.common.value.Shape;
import org.axsl.common.value.WritingMode;
+import org.axsl.foR.FoContext;
+import org.axsl.foR.FoTreeException;
import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.Marker;
import org.axsl.fontR.Font;
@@ -682,22 +682,6 @@
}
/**
- * Returns the "retrieve-position" trait.
- * @return The "retrieve-position" trait.
- */
- public FoValue traitRetrievePosition() {
- return propertyList.getRetrievePosition();
- }
-
- /**
- * Returns the "retrieve-boundary" trait.
- * @return The "retrieve-boundary" trait.
- */
- public FoValue traitRetrieveBoundary() {
- return propertyList.getRetrieveBoundary();
- }
-
- /**
* Returns the "column-number" trait.
* @param context An object that knows how to resolve FO Tree context
* issues.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RetrieveMarker.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RetrieveMarker.java 2007-04-07 22:37:17 UTC (rev 9142)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RetrieveMarker.java 2007-04-07 23:14:30 UTC (rev 9143)
@@ -32,8 +32,10 @@
import org.foray.fotree.Namespace;
import org.foray.fotree.PropertyList;
+import org.axsl.common.value.RetrievePosition;
import org.axsl.foR.FoTreeException;
import org.axsl.foR.ProxyFactory;
+import org.axsl.foR.fo.FoValue;
/**
* A "retrieve-marker" object in XSL-FO.
@@ -118,8 +120,49 @@
return factory.makeProxy(this);
}
+ /**
+ * {@inheritDoc}
+ */
public org.axsl.foR.fo.RetrieveMarker getRetrieveMarker() {
return this;
}
+ /**
+ * Converts an {@link FoValue} retrieve-position value to the more generic
+ * {@link RetrievePosition} value.
+ * @param foRetrievePosition The raw FO retrieve-position to be converted.
+ * @return The matching RetrievePosition instance.
+ */
+ private static RetrievePosition convertRetrievePosition(
+ final FoValue foRetrievePosition) {
+ switch (foRetrievePosition) {
+ case FIRST_STARTING_WITHIN_PAGE:
+ return RetrievePosition.FIRST_STARTING_WITHIN_PAGE;
+ case FIRST_INCLUDING_CARRYOVER:
+ return RetrievePosition.FIRST_INCLUDING_CARRYOVER;
+ case LAST_STARTING_WITHIN_PAGE:
+ return RetrievePosition.LAST_STARTING_WITHIN_PAGE;
+ case LAST_ENDING_WITHIN_PAGE:
+ return RetrievePosition.LAST_ENDING_WITHIN_PAGE;
+ default: throw new IllegalArgumentException(
+ "Illegal retrieve-position: " + foRetrievePosition.toXslFo());
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public RetrievePosition traitRetrievePosition() {
+ final FoValue foRetrievePosition = this.getPropertyList()
+ .getRetrievePosition();
+ return convertRetrievePosition(foRetrievePosition);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public FoValue traitRetrieveBoundary() {
+ return this.getPropertyList().getRetrieveBoundary();
+ }
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-07 23:28:23
|
Revision: 9144
http://svn.sourceforge.net/foray/?rev=9144&view=rev
Author: victormote
Date: 2007-04-07 16:28:25 -0700 (Sat, 07 Apr 2007)
Log Message:
-----------
Conform to axsl changes of return types to more generic enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RetrieveMarker.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 23:14:30 UTC (rev 9143)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-04-07 23:28:25 UTC (rev 9144)
@@ -36,9 +36,9 @@
import org.axsl.common.value.AbsoluteDirection;
import org.axsl.common.value.Compass;
import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.RetrieveBoundary;
import org.axsl.common.value.RetrievePosition;
import org.axsl.foR.Fo;
-import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.Marker;
import org.axsl.foR.fo.PageSequence;
import org.axsl.foR.fo.Region;
@@ -558,14 +558,14 @@
List<Marker> additionalMarkers = null;
final PageCollection pageCollection = getPageCollection();
if (retrieve.traitRetrieveBoundary()
- == FoValue.PAGE_SEQUENCE) {
+ == RetrieveBoundary.PAGE_SEQUENCE) {
final PageSequence pageSequence = pageCollection.getPageSequence();
if (pageSequence == getPageSequence()) {
additionalMarkers = pageCollection
.getCurrentPageSequenceMarkers();
}
} else if (retrieve.traitRetrieveBoundary()
- == FoValue.DOCUMENT) {
+ == RetrieveBoundary.DOCUMENT) {
additionalMarkers = pageCollection.getDocumentMarkers();
}
if (additionalMarkers == null) {
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RetrieveMarker.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RetrieveMarker.java 2007-04-07 23:14:30 UTC (rev 9143)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/RetrieveMarker.java 2007-04-07 23:28:25 UTC (rev 9144)
@@ -32,6 +32,7 @@
import org.foray.fotree.Namespace;
import org.foray.fotree.PropertyList;
+import org.axsl.common.value.RetrieveBoundary;
import org.axsl.common.value.RetrievePosition;
import org.axsl.foR.FoTreeException;
import org.axsl.foR.ProxyFactory;
@@ -159,10 +160,29 @@
}
/**
+ * Converts an {@link FoValue} retrieve-boundary value to the more generic
+ * {@link RetrieveBoundary} value.
+ * @param foRetrieveBoundary The raw FO retrieve-boundary to be converted.
+ * @return The matching RetrieveBoundary instance.
+ */
+ private static RetrieveBoundary convertRetrieveBoundary(
+ final FoValue foRetrieveBoundary) {
+ switch (foRetrieveBoundary) {
+ case PAGE: return RetrieveBoundary.PAGE;
+ case PAGE_SEQUENCE: return RetrieveBoundary.PAGE_SEQUENCE;
+ case DOCUMENT: return RetrieveBoundary.DOCUMENT;
+ default: throw new IllegalArgumentException(
+ "Illegal retrieve-position: " + foRetrieveBoundary.toXslFo());
+ }
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitRetrieveBoundary() {
- return this.getPropertyList().getRetrieveBoundary();
+ public RetrieveBoundary traitRetrieveBoundary() {
+ final FoValue foRetrieveBoundary = this.getPropertyList()
+ .getRetrieveBoundary();
+ return convertRetrieveBoundary(foRetrieveBoundary);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-09 20:45:37
|
Revision: 9155
http://svn.sourceforge.net/foray/?rev=9155&view=rev
Author: victormote
Date: 2007-04-09 13:45:25 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
1. Javadoc improvements.
2. Make an enum for the various page number format types.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequence.java
trunk/foray/scripts/checkstyle-suppressions.xml
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java 2007-04-09 20:33:26 UTC (rev 9154)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageNumberGenerator.java 2007-04-09 20:45:25 UTC (rev 9155)
@@ -28,8 +28,6 @@
package org.foray.fotree.fo.obj;
-import org.axsl.foR.fo.FoValue;
-
/**
* This class uses the 'format', 'groupingSeparator', 'groupingSize',
* and 'letterValue' properties on fo:page-sequence to return a String
@@ -37,18 +35,36 @@
*/
public class PageNumberGenerator {
- // constants
- private static final int DECIMAL = 1; // '0*1'
- private static final int LOWERALPHA = 2; // 'a'
- private static final int UPPERALPHA = 3; // 'A'
- private static final int LOWERROMAN = 4; // 'i'
- private static final int UPPERROMAN = 5; // 'I'
+ /**
+ * Enumeration of valid format types.
+ */
+ public enum FormatType {
- // flags
- private int formatType = DECIMAL;
- private int minPadding = 0; // for decimal formats
+ /** Decimal format, that is 0, 1, 2, 3, etc. */
+ DECIMAL,
- // preloaded strings of zeros
+ /** Lowercase alpha format, that is a, b, c, d, etc. */
+ LOWERALPHA,
+
+ /** Uppercase alpha format, that is A, B, C, D, etc. */
+ UPPERALPHA,
+
+ /** Lowercase roman format, that is i, ii, iii, iv, etc. */
+ LOWERROMAN,
+
+ /** Uppercase roman format, that is I, II, III, IV, etc. */
+ UPPERROMAN;
+
+ }
+
+ /** The format type that should be used by this formatter. */
+ private FormatType formatType = FormatType.DECIMAL;
+
+ /** The minimum amount of padding for decimal formats. */
+ private int minPadding = 0;
+
+ /** Array of constants with preloaded strings of zeros, useful for padding
+ * page numbers. */
private String zeros[] = {
"", "0", "00", "000", "0000", "00000"
};
@@ -59,31 +75,29 @@
* this generator.
* @param groupingSeparator The grouping separator which should be used.
* @param groupingSize The grouping size which should be used.
- * @param letterValue
*/
public PageNumberGenerator(final String format,
- final char groupingSeparator, final int groupingSize,
- final FoValue letterValue) {
+ final char groupingSeparator, final int groupingSize) {
// the only accepted format strings are currently '0*1' 'a', 'A', 'i'
// and 'I'
final int fmtLen = format.length();
if (fmtLen == 1) {
if (format.equals("1")) {
- formatType = DECIMAL;
+ formatType = FormatType.DECIMAL;
minPadding = 0;
} else if (format.equals("a")) {
- formatType = LOWERALPHA;
+ formatType = FormatType.LOWERALPHA;
} else if (format.equals("A")) {
- formatType = UPPERALPHA;
+ formatType = FormatType.UPPERALPHA;
} else if (format.equals("i")) {
- formatType = LOWERROMAN;
+ formatType = FormatType.LOWERROMAN;
} else if (format.equals("I")) {
- formatType = UPPERROMAN;
+ formatType = FormatType.UPPERROMAN;
} else {
// token not handled
//log.debug("'format' token not recognized; using '1'");
- formatType = DECIMAL;
+ formatType = FormatType.DECIMAL;
minPadding = 0;
}
} else {
@@ -93,7 +107,7 @@
for (int i = 0; i < fmtLen - 1; i++) {
if (format.charAt(i) != '0') {
//log.debug("'format' token not recognized; using '1'");
- formatType = DECIMAL;
+ formatType = FormatType.DECIMAL;
minPadding = 0;
} else {
minPadding = fmtLen - 1;
@@ -110,21 +124,22 @@
*/
public String makeFormattedPageNumber(final int number) {
String pn = null;
- if (formatType == DECIMAL) {
+ if (formatType == FormatType.DECIMAL) {
pn = Integer.toString(number);
if (minPadding >= pn.length()) {
final int nz = minPadding - pn.length() + 1;
pn = zeros[nz] + pn;
}
- } else if ((formatType == LOWERROMAN) || (formatType == UPPERROMAN)) {
+ } else if ((formatType == FormatType.LOWERROMAN)
+ || (formatType == FormatType.UPPERROMAN)) {
pn = makeRoman(number);
- if (formatType == UPPERROMAN) {
+ if (formatType == FormatType.UPPERROMAN) {
pn = pn.toUpperCase();
}
} else {
// alphabetic
pn = makeAlpha(number);
- if (formatType == UPPERALPHA) {
+ if (formatType == FormatType.UPPERALPHA) {
pn = pn.toUpperCase();
}
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequence.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequence.java 2007-04-09 20:33:26 UTC (rev 9154)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/PageSequence.java 2007-04-09 20:45:25 UTC (rev 9155)
@@ -125,8 +125,7 @@
*/
public void setup() throws FoTreeException {
this.pageNumberGenerator = new PageNumberGenerator(this.traitFormat(),
- this.traitGroupingSeparator(), this.traitGroupingSize(), this
- .traitLetterValue());
+ this.traitGroupingSeparator(), this.traitGroupingSize());
}
/**
Modified: trunk/foray/scripts/checkstyle-suppressions.xml
===================================================================
--- trunk/foray/scripts/checkstyle-suppressions.xml 2007-04-09 20:33:26 UTC (rev 9154)
+++ trunk/foray/scripts/checkstyle-suppressions.xml 2007-04-09 20:45:25 UTC (rev 9155)
@@ -9,8 +9,6 @@
<!-- Suppress partially-implemented checks where not yet implemented. -->
<suppress checks="Javadoc[MV].*"
- files="org.foray.fotree.fo.obj.*"/>
- <suppress checks="Javadoc[MV].*"
files="org.foray.fotree.fo.prop.*"/>
<suppress checks="Javadoc[MV].*"
files="org.foray.fotree.value.*"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-09 21:10:46
|
Revision: 9156
http://svn.sourceforge.net/foray/?rev=9156&view=rev
Author: victormote
Date: 2007-04-09 14:10:47 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
Conform to axsl change adding new typesafe enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-09 20:45:25 UTC (rev 9155)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-09 21:10:47 UTC (rev 9156)
@@ -40,9 +40,10 @@
import org.axsl.common.value.Overflow;
import org.axsl.common.value.RelativeAxis;
import org.axsl.common.value.Scaling;
+import org.axsl.common.value.WrapOption;
+import org.axsl.common.value.WritingMode;
import org.axsl.foR.Fo;
import org.axsl.foR.FoContext;
-import org.axsl.common.value.WritingMode;
import org.axsl.foR.fo.BasicLink;
import org.axsl.foR.fo.FoValue;
import org.axsl.fontR.Font;
@@ -1365,7 +1366,7 @@
* @return The wrap-option trait for this area.
* @see Fo#traitWrapOption(FoContext)
*/
- public FoValue traitWrapOption() {
+ public WrapOption traitWrapOption() {
return traitGeneratedBy().traitWrapOption(this);
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java 2007-04-09 20:45:25 UTC (rev 9155)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FOText.java 2007-04-09 21:10:47 UTC (rev 9156)
@@ -32,11 +32,12 @@
import org.foray.common.XMLCharacter;
import org.foray.fotree.fo.obj.BookmarkTitle;
-import org.axsl.foR.fo.FoValue;
+import org.axsl.common.value.WrapOption;
import org.axsl.foR.FoContext;
import org.axsl.foR.FoLineText;
import org.axsl.foR.ProxyFactory;
import org.axsl.foR.fo.Block;
+import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.Leader;
import org.axsl.foR.fo.Marker;
import org.axsl.foR.fo.RetrieveMarker;
@@ -657,7 +658,7 @@
public boolean inlineWrapOption(final FoContext context) {
final FObj effectiveParent = effectiveParent(context);
return effectiveParent.traitWrapOption(context)
- == FoValue.WRAP;
+ == WrapOption.WRAP;
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-09 20:45:25 UTC (rev 9155)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-09 21:10:47 UTC (rev 9156)
@@ -49,6 +49,7 @@
import org.axsl.common.value.Scaling;
import org.axsl.common.value.ShadowEffect;
import org.axsl.common.value.Shape;
+import org.axsl.common.value.WrapOption;
import org.axsl.common.value.WritingMode;
import org.axsl.foR.FoContext;
import org.axsl.foR.FoTreeException;
@@ -549,10 +550,27 @@
}
/**
+ * Converts an {@link FoValue} wrap-option value to the more generic
+ * {@link WrapOption} value.
+ * @param foWrapOption The raw FO wrap-option value to be converted.
+ * @return The matching WrapOption instance.
+ */
+ private WrapOption convertWrapOption(final FoValue foWrapOption) {
+ switch (foWrapOption) {
+ case NO_WRAP: return WrapOption.NO_WRAP;
+ case WRAP: return WrapOption.WRAP;
+ default: throw new IllegalArgumentException(
+ "Illegal wrap-option value: " + foWrapOption.toXslFo());
+ }
+
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitWrapOption(final FoContext context) {
- return propertyList.getWrapOption(context);
+ public WrapOption traitWrapOption(final FoContext context) {
+ final FoValue foWrapOption = propertyList.getWrapOption(context);
+ return convertWrapOption(foWrapOption);
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-09 20:45:25 UTC (rev 9155)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-09 21:10:47 UTC (rev 9156)
@@ -185,7 +185,7 @@
}
case WRAP_OPTION: {
if (parent != null) {
- return parent.traitWrapOption(context);
+ return parent.getPropertyList().getWrapOption(context);
}
return FoValue.WRAP;
}
@@ -442,7 +442,7 @@
return fobj.traitWhiteSpaceTreatment(context);
}
case WRAP_OPTION: {
- return fobj.traitWrapOption(context);
+ return fobj.getPropertyList().getWrapOption(context);
}
case CLEAR: {
return fobj.traitClear(context);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-09 21:22:49
|
Revision: 9157
http://svn.sourceforge.net/foray/?rev=9157&view=rev
Author: victormote
Date: 2007-04-09 14:22:46 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
Conform to axsl change adding new typesafe enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-04-09 21:10:47 UTC (rev 9156)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-04-09 21:22:46 UTC (rev 9157)
@@ -32,10 +32,10 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.Span;
import org.axsl.foR.Fo;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.BlockContainer;
-import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.RegionBody;
import java.util.ArrayList;
@@ -96,7 +96,7 @@
* or before-float reference area.*/
isNewSpanArea = false;
- FoValue span = FoValue.NONE;
+ Span span = Span.NONE;
if (fo instanceof Block) {
span = ((Block) fo).traitSpan(this);
} else if (fo instanceof BlockContainer) {
@@ -104,7 +104,7 @@
}
if (this.getChildren().isEmpty()) {
- if (span == FoValue.ALL) {
+ if (span == Span.ALL) {
return addSpanArea(1);
}
return addSpanArea(traitColumnCount());
@@ -113,19 +113,19 @@
final List<AreaNode> spanAreas = this.getChildren();
final SpanRA spanArea = (SpanRA) spanAreas.get(spanAreas.size() - 1);
- if ((span == FoValue.ALL)
+ if ((span == Span.ALL)
&& (spanArea.traitColumnCount() == 1)) {
// return the single column area in the same span area
return spanArea.getCurrentColumnArea();
- } else if ((span == FoValue.NONE)
+ } else if ((span == Span.NONE)
&& (spanArea.traitColumnCount()
== this.traitColumnCount())) {
// return the current column area in the same span area
return spanArea.getCurrentColumnArea();
- } else if (span == FoValue.ALL) {
+ } else if (span == Span.ALL) {
// create new span area with one column; return column area
return addSpanArea(1);
- } else if (span == FoValue.NONE) {
+ } else if (span == Span.NONE) {
/* create new span area with multiple columns; return first column
* area */
return addSpanArea(this.traitColumnCount());
@@ -178,22 +178,22 @@
return false;
}
- FoValue span = FoValue.NONE;
+ Span span = Span.NONE;
if (fo instanceof Block) {
span = ((Block) fo).traitSpan(this);
} else if (fo instanceof BlockContainer) {
span = ((BlockContainer) fo).traitSpan(this);
}
- if ((span == FoValue.ALL)
+ if ((span == Span.ALL)
&& (spanArea.traitColumnCount() == 1)) {
return false;
- } else if ((span == FoValue.NONE)
+ } else if ((span == Span.NONE)
&& (spanArea.traitColumnCount() == traitColumnCount())) {
return false;
- } else if (span == FoValue.ALL) {
+ } else if (span == Span.ALL) {
return true;
- } else if (span == FoValue.NONE) {
+ } else if (span == Span.NONE) {
return false;
} else {
return false;
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-04-09 21:10:47 UTC (rev 9156)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-04-09 21:22:46 UTC (rev 9157)
@@ -31,8 +31,8 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.Span;
import org.axsl.foR.Fo;
-import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.RegionBody;
import java.util.ArrayList;
@@ -242,7 +242,7 @@
* If the span requirement is for multiple columns & this has them,
* then the requirements match & simply return this.
*/
- if (fo.traitSpan(this) == FoValue.NONE
+ if (fo.traitSpan(this) == Span.NONE
&& this.traitColumnCount() > 1) {
return this;
}
@@ -250,13 +250,13 @@
* If the span requirement is for only one column & this has only one,
* then the requirements match & simply return this.
*/
- if (fo.traitSpan(this) == FoValue.ALL
+ if (fo.traitSpan(this) == Span.ALL
&& this.traitColumnCount() == 1) {
return this;
}
// The requirements do not match, so we need to create a new span area.
int numColumns = 0;
- if (fo.traitSpan(this) == FoValue.ALL) {
+ if (fo.traitSpan(this) == Span.ALL) {
numColumns = 1;
} else {
numColumns = fo.traitColumnCount(this);
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-09 21:10:47 UTC (rev 9156)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-09 21:22:46 UTC (rev 9157)
@@ -49,6 +49,7 @@
import org.axsl.common.value.Scaling;
import org.axsl.common.value.ShadowEffect;
import org.axsl.common.value.Shape;
+import org.axsl.common.value.Span;
import org.axsl.common.value.WrapOption;
import org.axsl.common.value.WritingMode;
import org.axsl.foR.FoContext;
@@ -664,17 +665,32 @@
}
/**
+ * Converts an {@link FoValue} span value to the more generic
+ * {@link Span} value.
+ * @param foSpan The raw FO span value to be converted.
+ * @return The matching Span instance.
+ */
+ private Span convertSpan(final FoValue foSpan) {
+ switch (foSpan) {
+ case NONE: return Span.NONE;
+ case ALL: return Span.ALL;
+ default: throw new IllegalArgumentException(
+ "Illegal span value: " + foSpan.toXslFo());
+ }
+
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitSpan(final FoContext context) {
- /*
- * Only block-level FOs are affected by column-count, so, for all other
- * FOs, treat them as if the span trait were "all".
- */
+ public Span traitSpan(final FoContext context) {
+ /* Only block-level FOs are affected by column-count, so, for all other
+ * FOs, treat them as if the span trait were "all". */
if (this.isBlockLevelFO()) {
- return propertyList.getSpan(context);
+ final FoValue foSpan = propertyList.getSpan(context);
+ return convertSpan(foSpan);
}
- return FoValue.ALL;
+ return Span.ALL;
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-09 21:10:47 UTC (rev 9156)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-09 21:22:46 UTC (rev 9157)
@@ -427,7 +427,7 @@
return fobj.traitScalingMethod(context);
}
case SPAN: {
- return fobj.traitSpan(context);
+ return fobj.getPropertyList().getSpan(context);
}
case SUPPRESS_AT_LINE_BREAK: {
return fobj.traitSuppressAtLineBreak(context);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-09 21:56:26
|
Revision: 9158
http://svn.sourceforge.net/foray/?rev=9158&view=rev
Author: victormote
Date: 2007-04-09 14:56:26 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
Conform to axsl change adding new typesafe enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItem.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableCell.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DisplayAlign.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-09 21:22:46 UTC (rev 9157)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-09 21:56:26 UTC (rev 9158)
@@ -36,6 +36,7 @@
import org.axsl.common.value.AbsoluteDirection;
import org.axsl.common.value.Baseline;
import org.axsl.common.value.BorderStyle;
+import org.axsl.common.value.DisplayAlign;
import org.axsl.common.value.LinkType;
import org.axsl.common.value.Overflow;
import org.axsl.common.value.RelativeAxis;
@@ -1675,4 +1676,12 @@
return traitGeneratedBy().traitBorderAfterStyle(this);
}
+ /**
+ * Returns the display-align trait for this Area.
+ * @return The display-align trait.
+ */
+ public DisplayAlign traitDisplayAlign() {
+ return this.traitGeneratedBy().traitDisplayAlign(this);
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-04-09 21:22:46 UTC (rev 9157)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-04-09 21:56:26 UTC (rev 9158)
@@ -32,10 +32,10 @@
import org.axsl.areaR.TableCellArea;
import org.axsl.areaW.AreaWException;
import org.axsl.common.value.BorderModel;
+import org.axsl.common.value.DisplayAlign;
import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.BlockContainer;
-import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.ListBlock;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.fo.Table;
@@ -350,13 +350,7 @@
if (delta <= 0) {
return;
}
- FoValue displayAlign = this.traitGeneratedBy().traitDisplayAlign(
- this);
- if (displayAlign == FoValue.AUTO) {
- /* TODO: This is not right. */
- displayAlign = this.traitGeneratedBy().traitAlignmentBaseline(
- this);
- }
+ final DisplayAlign displayAlign = this.traitDisplayAlign();
switch (displayAlign) {
case CENTER:
/* Increase cell padding before and after. */
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-09 21:22:46 UTC (rev 9157)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-09 21:56:26 UTC (rev 9158)
@@ -42,6 +42,7 @@
import org.axsl.common.value.BorderModel;
import org.axsl.common.value.BorderStyle;
import org.axsl.common.value.Compass;
+import org.axsl.common.value.DisplayAlign;
import org.axsl.common.value.LeaderPattern;
import org.axsl.common.value.Overflow;
import org.axsl.common.value.RelativeAxis;
@@ -670,7 +671,7 @@
* @param foSpan The raw FO span value to be converted.
* @return The matching Span instance.
*/
- private Span convertSpan(final FoValue foSpan) {
+ private static Span convertSpan(final FoValue foSpan) {
switch (foSpan) {
case NONE: return Span.NONE;
case ALL: return Span.ALL;
@@ -760,10 +761,36 @@
}
/**
+ * Converts an {@link FoValue} display-align value to the more generic
+ * {@link DisplayAlign} value.
+ * @param foDisplayAlign The raw FO display-align value to be converted.
+ * @return The matching DisplayAlign instance.
+ */
+ private static DisplayAlign convertDisplayAlign(
+ final FoValue foDisplayAlign) {
+ switch (foDisplayAlign) {
+ case BEFORE: return DisplayAlign.BEFORE;
+ case CENTER: return DisplayAlign.CENTER;
+ case AFTER: return DisplayAlign.AFTER;
+ default: throw new IllegalArgumentException(
+ "Illegal display-align value: " + foDisplayAlign.toXslFo());
+ }
+
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitDisplayAlign(final FoContext context) {
- return propertyList.getDisplayAlign(context);
+ public DisplayAlign traitDisplayAlign(final FoContext context) {
+ final FoValue foDisplayAlign = propertyList.getDisplayAlign(context);
+ if (this.relativeAlignApplies()) {
+ final FoValue foRelativeAlign = this.traitRelativeAlign(context);
+ switch (foRelativeAlign) {
+ case BEFORE: return DisplayAlign.BEFORE;
+ case BASELINE: return DisplayAlign.BASELINE;
+ }
+ }
+ return convertDisplayAlign(foDisplayAlign);
}
/**
@@ -2963,4 +2990,12 @@
return qtyMarkers;
}
+ /**
+ * Indicates whether the relative-align property applies to this Fo.
+ * @return True iff the relative-align property applies to this Fo.
+ */
+ public boolean relativeAlignApplies() {
+ return false;
+ }
+
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItem.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItem.java 2007-04-09 21:22:46 UTC (rev 9157)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/ListItem.java 2007-04-09 21:56:26 UTC (rev 9158)
@@ -141,4 +141,13 @@
return this.parent;
}
+ /**
+ * {@inheritDoc}
+ * Overrides the standard implementation, because relative-align does apply
+ * to this object.
+ */
+ public boolean relativeAlignApplies() {
+ return true;
+ }
+
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableCell.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableCell.java 2007-04-09 21:22:46 UTC (rev 9157)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/TableCell.java 2007-04-09 21:56:26 UTC (rev 9158)
@@ -245,4 +245,13 @@
this.parent.addChild(this);
}
+ /**
+ * {@inheritDoc}
+ * Overrides the standard implementation, because relative-align does apply
+ * to this object.
+ */
+ public boolean relativeAlignApplies() {
+ return true;
+ }
+
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DisplayAlign.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DisplayAlign.java 2007-04-09 21:22:46 UTC (rev 9157)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/DisplayAlign.java 2007-04-09 21:56:26 UTC (rev 9158)
@@ -75,7 +75,8 @@
final FoValue keyword = ((PropertyKeyword) value()).getValue();
switch (keyword) {
case INHERIT: {
- return fobj.effectiveParent(context).traitDisplayAlign(context);
+ final FObj parent = fobj.effectiveParent(context);
+ return parent.getPropertyList().getDisplayAlign(context);
}
default: {
return keyword;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-10 00:06:07
|
Revision: 9160
http://svn.sourceforge.net/foray/?rev=9160&view=rev
Author: victormote
Date: 2007-04-09 17:06:08 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
Conform to axsl change adding new typesafe enum.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-09 23:48:55 UTC (rev 9159)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 00:06:08 UTC (rev 9160)
@@ -41,6 +41,7 @@
import org.axsl.common.value.Baseline;
import org.axsl.common.value.BorderModel;
import org.axsl.common.value.BorderStyle;
+import org.axsl.common.value.Break;
import org.axsl.common.value.Compass;
import org.axsl.common.value.DisplayAlign;
import org.axsl.common.value.LeaderPattern;
@@ -809,7 +810,6 @@
default: throw new IllegalArgumentException(
"Illegal display-align value: " + foRelativeAlign.toXslFo());
}
-
}
/**
@@ -849,10 +849,30 @@
}
/**
+ * Converts a {@link FoValue} break-after or break-before value to the more
+ * generic {@link Break} value.
+ * @param foBreak The raw FO break-after or break-before value to be
+ * converted.
+ * @return The matching Break instance.
+ */
+ private static Break convertBreak(final FoValue foBreak) {
+ switch (foBreak) {
+ case AUTO: return Break.AUTO;
+ case COLUMN: return Break.COLUMN;
+ case PAGE: return Break.PAGE;
+ case EVEN_PAGE: return Break.EVEN_PAGE;
+ case ODD_PAGE: return Break.ODD_PAGE;
+ default: throw new IllegalArgumentException(
+ "Illegal break value: " + foBreak.toXslFo());
+ }
+
+ }
+ /**
* {@inheritDoc}
*/
- public FoValue traitBreakAfter(final FoContext context) {
- return propertyList.getBreakAfter(context);
+ public Break traitBreakAfter(final FoContext context) {
+ final FoValue foBreak = propertyList.getBreakAfter(context);
+ return convertBreak(foBreak);
}
/**
@@ -1334,8 +1354,9 @@
/**
* {@inheritDoc}
*/
- public FoValue traitBreakBefore(final FoContext context) {
- return propertyList.getBreakBefore(context);
+ public Break traitBreakBefore(final FoContext context) {
+ final FoValue foBreak = propertyList.getBreakBefore(context);
+ return convertBreak(foBreak);
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-09 23:48:55 UTC (rev 9159)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-10 00:06:08 UTC (rev 9160)
@@ -367,10 +367,10 @@
return fobj.getPropertyList().getBorderCollapse(context);
}
case BREAK_AFTER: {
- return fobj.traitBreakAfter(context);
+ return fobj.getPropertyList().getBreakAfter(context);
}
case BREAK_BEFORE: {
- return fobj.traitBreakBefore(context);
+ return fobj.getPropertyList().getBreakBefore(context);
}
case CAPTION_SIDE: {
return fobj.traitCaptionSide(context);
Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java
===================================================================
--- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java 2007-04-09 23:48:55 UTC (rev 9159)
+++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/Status.java 2007-04-10 00:06:08 UTC (rev 9160)
@@ -28,7 +28,7 @@
package org.foray.pioneer;
-import org.axsl.foR.fo.FoValue;
+import org.axsl.common.value.Break;
/**
* Enumeration of the possible Pioneer Layout status of an FO.
@@ -112,7 +112,7 @@
* @param breakAfter The "break-after" constant.
* @return The Status matching <code>breakAfter</code>.
*/
- public static Status checkBreakAfter(final FoValue breakAfter) {
+ public static Status checkBreakAfter(final Break breakAfter) {
switch (breakAfter) {
case PAGE:
return Status.FORCE_PAGE_BREAK;
Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java
===================================================================
--- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java 2007-04-09 23:48:55 UTC (rev 9159)
+++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TablePL.java 2007-04-10 00:06:08 UTC (rev 9160)
@@ -35,7 +35,7 @@
import org.axsl.areaW.TableArea;
import org.axsl.areaW.TableFooterContainer;
import org.axsl.areaW.TableHeaderContainer;
-import org.axsl.foR.fo.FoValue;
+import org.axsl.common.value.Break;
import org.axsl.foR.FoNode;
import org.axsl.foR.fo.Marker;
import org.axsl.foR.fo.RetrieveMarker;
@@ -87,15 +87,15 @@
}
setProgress(0);
- if (table.traitBreakBefore(area) == FoValue.PAGE) {
+ if (table.traitBreakBefore(area) == Break.PAGE) {
return Status.FORCE_PAGE_BREAK;
}
- if (table.traitBreakBefore(area) == FoValue.ODD_PAGE) {
+ if (table.traitBreakBefore(area) == Break.ODD_PAGE) {
return Status.FORCE_PAGE_BREAK_ODD;
}
- if (table.traitBreakBefore(area) == FoValue.EVEN_PAGE) {
+ if (table.traitBreakBefore(area) == Break.EVEN_PAGE) {
return Status.FORCE_PAGE_BREAK_EVEN;
}
@@ -188,17 +188,17 @@
}
}
- if (table.traitBreakAfter(area) == FoValue.PAGE) {
+ if (table.traitBreakAfter(area) == Break.PAGE) {
setProgress(FONodePL.BREAK_AFTER);
return Status.FORCE_PAGE_BREAK;
}
- if (table.traitBreakAfter(area) == FoValue.ODD_PAGE) {
+ if (table.traitBreakAfter(area) == Break.ODD_PAGE) {
setProgress(FONodePL.BREAK_AFTER);
return Status.FORCE_PAGE_BREAK_ODD;
}
- if (table.traitBreakAfter(area) == FoValue.EVEN_PAGE) {
+ if (table.traitBreakAfter(area) == Break.EVEN_PAGE) {
setProgress(FONodePL.BREAK_AFTER);
return Status.FORCE_PAGE_BREAK_EVEN;
}
Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java
===================================================================
--- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java 2007-04-09 23:48:55 UTC (rev 9159)
+++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/TableRowPL.java 2007-04-10 00:06:08 UTC (rev 9160)
@@ -32,7 +32,7 @@
import org.axsl.areaW.Area;
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.TableRowContainer;
-import org.axsl.foR.fo.FoValue;
+import org.axsl.common.value.Break;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.fo.TableCell;
import org.axsl.foR.fo.TableRow;
@@ -137,23 +137,23 @@
// Ignore break after if row span!
return Status.KEEP_WITH_NEXT;
}
- final FoValue breakAfter = this.node.traitBreakAfter(area);
- if (breakAfter == FoValue.PAGE) {
+ final Break breakAfter = this.node.traitBreakAfter(area);
+ if (breakAfter == Break.PAGE) {
setProgress(FONodePL.BREAK_AFTER);
return Status.FORCE_PAGE_BREAK;
}
- if (breakAfter == FoValue.ODD_PAGE) {
+ if (breakAfter == Break.ODD_PAGE) {
setProgress(FONodePL.BREAK_AFTER);
return Status.FORCE_PAGE_BREAK_ODD;
}
- if (breakAfter == FoValue.EVEN_PAGE) {
+ if (breakAfter == Break.EVEN_PAGE) {
setProgress(FONodePL.BREAK_AFTER);
return Status.FORCE_PAGE_BREAK_EVEN;
}
- if (breakAfter == FoValue.COLUMN) {
+ if (breakAfter == Break.COLUMN) {
setProgress(FONodePL.BREAK_AFTER);
return Status.FORCE_COLUMN_BREAK;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-10 00:28:08
|
Revision: 9161
http://svn.sourceforge.net/foray/?rev=9161&view=rev
Author: victormote
Date: 2007-04-09 17:28:09 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
Conform to axsl change adding new typesafe enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ForcePageCount.java
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/fo/prop/TestForcePageCount.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java 2007-04-10 00:06:08 UTC (rev 9160)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageCollection.java 2007-04-10 00:28:09 UTC (rev 9161)
@@ -31,7 +31,7 @@
import org.axsl.areaR.RenderVisitor;
import org.axsl.areaW.AreaWException;
import org.axsl.areaW.PageArea;
-import org.axsl.foR.fo.FoValue;
+import org.axsl.common.value.ForcePageCount;
import org.axsl.foR.FoTreeException;
import org.axsl.foR.fo.Marker;
import org.axsl.foR.fo.PageMasterResolver;
@@ -296,7 +296,7 @@
final PageSequence previousPageSequence
= previousPageCollection.getPageSequence();
if (previousPageSequence.traitForcePageCount(this)
- == FoValue.AUTO) {
+ == ForcePageCount.AUTO) {
/*
* In this case we'll try to put the added page in the previous
* page-sequence, to comply with the standard.
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 00:06:08 UTC (rev 9160)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 00:28:09 UTC (rev 9161)
@@ -44,6 +44,7 @@
import org.axsl.common.value.Break;
import org.axsl.common.value.Compass;
import org.axsl.common.value.DisplayAlign;
+import org.axsl.common.value.ForcePageCount;
import org.axsl.common.value.LeaderPattern;
import org.axsl.common.value.Overflow;
import org.axsl.common.value.RelativeAlign;
@@ -865,8 +866,8 @@
default: throw new IllegalArgumentException(
"Illegal break value: " + foBreak.toXslFo());
}
+ }
- }
/**
* {@inheritDoc}
*/
@@ -1019,10 +1020,34 @@
}
/**
+ * Converts a {@link FoValue} force-page-count value to the more
+ * generic {@link ForcePageCount} value.
+ * @param foForcePageCount The raw FO force-page-count value to be
+ * converted.
+ * @return The matching ForcePageCount instance.
+ */
+ private static ForcePageCount convertForcePageCount(
+ final FoValue foForcePageCount) {
+ switch (foForcePageCount) {
+ case AUTO: return ForcePageCount.AUTO;
+ case EVEN: return ForcePageCount.EVEN;
+ case ODD: return ForcePageCount.ODD;
+ case END_ON_EVEN: return ForcePageCount.END_ON_EVEN;
+ case END_ON_ODD: return ForcePageCount.END_ON_ODD;
+ case NO_FORCE: return ForcePageCount.NO_FORCE;
+ default: throw new IllegalArgumentException(
+ "Illegal force-page-count value: "
+ + foForcePageCount.toXslFo());
+ }
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitForcePageCount(final FoContext context) {
- return propertyList.getForcePageCount(context);
+ public ForcePageCount traitForcePageCount(final FoContext context) {
+ final FoValue foForcePageCount = propertyList.getForcePageCount(
+ context);
+ return convertForcePageCount(foForcePageCount);
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ForcePageCount.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ForcePageCount.java 2007-04-10 00:06:08 UTC (rev 9160)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ForcePageCount.java 2007-04-10 00:28:09 UTC (rev 9161)
@@ -79,7 +79,7 @@
case INHERIT: {
final FObj parent = fobj.effectiveParent(context);
if (parent != null) {
- return parent.traitForcePageCount(context);
+ return parent.getPropertyList().getForcePageCount(context);
}
}
default: {
Modified: trunk/foray/foray-fotree/src/javatest/org/foray/fotree/fo/prop/TestForcePageCount.java
===================================================================
--- trunk/foray/foray-fotree/src/javatest/org/foray/fotree/fo/prop/TestForcePageCount.java 2007-04-10 00:06:08 UTC (rev 9160)
+++ trunk/foray/foray-fotree/src/javatest/org/foray/fotree/fo/prop/TestForcePageCount.java 2007-04-10 00:28:09 UTC (rev 9161)
@@ -47,8 +47,8 @@
* @return The parsed and stored value.
* @throws PropertyException For errors during parsing.
*/
- private FoValue keywordSetup(final String keyword)
- throws PropertyException {
+ private org.axsl.common.value.ForcePageCount keywordSetup(
+ final String keyword) throws PropertyException {
final PropertyList propertyList = makePropertyList();
final ForcePageCount property = new ForcePageCount(propertyList,
FoProperty.FORCE_PAGE_COUNT, "", keyword);
@@ -61,7 +61,8 @@
* Unit test for an "auto" value.
*/
public void testAuto() throws PropertyException {
- final FoValue propertyValue = keywordSetup("auto");
+ final org.axsl.common.value.ForcePageCount propertyValue = keywordSetup(
+ "auto");
assertEquals(FoValue.AUTO, propertyValue);
}
@@ -69,7 +70,8 @@
* Unit test for an "even" value.
*/
public void testEven() throws PropertyException {
- final FoValue propertyValue = keywordSetup("even");
+ final org.axsl.common.value.ForcePageCount propertyValue = keywordSetup(
+ "even");
assertEquals(FoValue.EVEN, propertyValue);
}
@@ -77,7 +79,8 @@
* Unit test for an "odd" value.
*/
public void testOdd() throws PropertyException {
- final FoValue propertyValue = keywordSetup("odd");
+ final org.axsl.common.value.ForcePageCount propertyValue = keywordSetup(
+ "odd");
assertEquals(FoValue.ODD, propertyValue);
}
@@ -85,7 +88,8 @@
* Unit test for an "end-on-even" value.
*/
public void testEndOnEven() throws PropertyException {
- final FoValue propertyValue = keywordSetup("end-on-even");
+ final org.axsl.common.value.ForcePageCount propertyValue = keywordSetup(
+ "end-on-even");
assertEquals(FoValue.END_ON_EVEN, propertyValue);
}
@@ -93,7 +97,8 @@
* Unit test for an "end-on-odd" value.
*/
public void testEndOnOdd() throws PropertyException {
- final FoValue propertyValue = keywordSetup("end-on-odd");
+ final org.axsl.common.value.ForcePageCount propertyValue = keywordSetup(
+ "end-on-odd");
assertEquals(FoValue.END_ON_ODD, propertyValue);
}
@@ -101,7 +106,8 @@
* Unit test for an "no-force" value.
*/
public void testNoForce() throws PropertyException {
- final FoValue propertyValue = keywordSetup("no-force");
+ final org.axsl.common.value.ForcePageCount propertyValue = keywordSetup(
+ "no-force");
assertEquals(FoValue.NO_FORCE, propertyValue);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-10 01:52:00
|
Revision: 9162
http://svn.sourceforge.net/foray/?rev=9162&view=rev
Author: victormote
Date: 2007-04-09 18:51:57 -0700 (Mon, 09 Apr 2007)
Log Message:
-----------
Conform to axsl change adding new typesafe enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlign.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlignLast.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-10 00:28:09 UTC (rev 9161)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-10 01:51:57 UTC (rev 9162)
@@ -41,6 +41,7 @@
import org.axsl.common.value.Overflow;
import org.axsl.common.value.RelativeAxis;
import org.axsl.common.value.Scaling;
+import org.axsl.common.value.TextAlign;
import org.axsl.common.value.WrapOption;
import org.axsl.common.value.WritingMode;
import org.axsl.foR.Fo;
@@ -1392,7 +1393,7 @@
* @return The text-align trait for this area.
* @see Fo#traitTextAlign(FoContext)
*/
- public FoValue traitTextAlign() {
+ public TextAlign traitTextAlign() {
return traitGeneratedBy().traitTextAlign(this);
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-10 00:28:09 UTC (rev 9161)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-10 01:51:57 UTC (rev 9162)
@@ -34,12 +34,13 @@
import org.axsl.common.value.Baseline;
import org.axsl.common.value.Compass;
import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.TextAlign;
+import org.axsl.common.value.TextAlignLast;
import org.axsl.foR.FoContext;
import org.axsl.foR.FoText;
import org.axsl.foR.FoTextContent;
import org.axsl.foR.fo.Block;
import org.axsl.foR.fo.ExternalGraphic;
-import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.InstreamForeignObject;
import org.axsl.foR.fo.Leader;
import org.axsl.foR.fo.PageNumber;
@@ -126,7 +127,7 @@
return this.pdAvailable() / 2;
case JUSTIFY:
return 0;
- case NOT_A_KEYWORD: {
+ case STRING: {
/*
* This is a valid setting, and means that we should find the
* string to align the text on by using
@@ -169,7 +170,7 @@
}
}
// No need to optimize unless we are justifying the line.
- if (traitTextAlign() != FoValue.JUSTIFY) {
+ if (traitTextAlign() != TextAlign.JUSTIFY) {
return false;
}
/*
@@ -627,10 +628,9 @@
* that results from aligning the line.
*/
public int startAlignmentAdjustment() {
- final FoValue textAlign = traitGeneratedBy().traitTextAlign(this);
+ final TextAlign textAlign = traitGeneratedBy().traitTextAlign(this);
switch (textAlign) {
- case END:
- case RIGHT: {
+ case END: {
return totalAlignmentAdjustment();
}
case CENTER: {
@@ -804,45 +804,40 @@
* Returns the effective text alignment value for <em>this</em> line.
* This method uses either the text-align or text-align-last properties, as
* appropriate.
- * It also resolves the values of RELATIVE, LEFT, RIGHT, INSIDE, and
- * OUTSIDE, converting them, as appropriate to the one of the cardinal
- * values (START, END, CENTER, JUSTIFY).
+ * It also resolves the values of {@link TextAlign#INSIDE} and
+ * {@link TextAlign#OUTSIDE}, converting them, as appropriate, to the one of
+ * the cardinal values (START, END, CENTER, JUSTIFY).
* @return One of the following TraitEnumeration constants: START, END,
* CENTER, JUSTIFY.
*/
- public FoValue traitTextAlign() {
- FoValue textAlign = traitGeneratedBy().traitTextAlign(this);
+ public TextAlign traitTextAlign() {
+ final Block generatedBy = traitGeneratedBy();
+ TextAlign textAlign = generatedBy.traitTextAlign(this);
if (this.textAlignLastApplies()) {
- final FoValue textAlignLast = traitGeneratedBy().traitTextAlignLast(
+ final TextAlignLast textAlignLast = generatedBy.traitTextAlignLast(
this);
- if (textAlignLast == FoValue.RELATIVE) {
- if (textAlign == FoValue.JUSTIFY) {
- return FoValue.START;
+ if (textAlignLast == TextAlignLast.RELATIVE) {
+ if (textAlign == TextAlign.JUSTIFY) {
+ return TextAlign.START;
}
} else {
- textAlign = textAlignLast;
+ textAlign = textAlignLast.getRelatedTextAlign();
}
}
switch (textAlign) {
- case LEFT: {
- return FoValue.START;
- }
- case RIGHT: {
- return FoValue.END;
- }
case INSIDE: {
if (this.getPage().getBindingEdge()
== Compass.END) {
- return FoValue.END;
+ return TextAlign.END;
}
- return FoValue.START;
+ return TextAlign.START;
}
case OUTSIDE: {
if (this.getPage().getBindingEdge()
== Compass.END) {
- return FoValue.START;
+ return TextAlign.START;
}
- return FoValue.END;
+ return TextAlign.END;
}
default: {
return textAlign;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 00:28:09 UTC (rev 9161)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 01:51:57 UTC (rev 9162)
@@ -54,6 +54,8 @@
import org.axsl.common.value.ShadowEffect;
import org.axsl.common.value.Shape;
import org.axsl.common.value.Span;
+import org.axsl.common.value.TextAlign;
+import org.axsl.common.value.TextAlignLast;
import org.axsl.common.value.WrapOption;
import org.axsl.common.value.WritingMode;
import org.axsl.foR.FoContext;
@@ -1137,10 +1139,31 @@
}
/**
+ * Converts an {@link FoValue} text-align value to the more generic
+ * {@link TextAlign} value.
+ * @param foTextAlign The raw FO text-align value to be converted.
+ * @return The matching TextAlign instance.
+ */
+ private static TextAlign convertTextAlign(final FoValue foTextAlign) {
+ switch (foTextAlign) {
+ case START: return TextAlign.START;
+ case CENTER: return TextAlign.CENTER;
+ case END: return TextAlign.END;
+ case JUSTIFY: return TextAlign.JUSTIFY;
+ case INSIDE: return TextAlign.INSIDE;
+ case OUTSIDE: return TextAlign.OUTSIDE;
+ case NOT_A_KEYWORD: return TextAlign.STRING;
+ default: throw new IllegalArgumentException("Illegal text-align value: "
+ + foTextAlign.toXslFo());
+ }
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitTextAlign(final FoContext context) {
- return propertyList.getTextAlign(context);
+ public TextAlign traitTextAlign(final FoContext context) {
+ final FoValue foTextAlign = propertyList.getTextAlign(context);
+ return convertTextAlign(foTextAlign);
}
/**
@@ -1151,10 +1174,33 @@
}
/**
+ * Converts an {@link FoValue} text-align-last value to the more generic
+ * {@link TextAlignLast} value.
+ * @param foTextAlignLast The raw FO text-align-last value to be converted.
+ * @return The matching TextAlignLast instance.
+ */
+ private static TextAlignLast convertTextAlignLast(
+ final FoValue foTextAlignLast) {
+ switch (foTextAlignLast) {
+ case RELATIVE: return TextAlignLast.RELATIVE;
+ case START: return TextAlignLast.START;
+ case CENTER: return TextAlignLast.CENTER;
+ case END: return TextAlignLast.END;
+ case JUSTIFY: return TextAlignLast.JUSTIFY;
+ case INSIDE: return TextAlignLast.INSIDE;
+ case OUTSIDE: return TextAlignLast.OUTSIDE;
+ default: throw new IllegalArgumentException(
+ "Illegal text-align-last value: "
+ + foTextAlignLast.toXslFo());
+ }
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitTextAlignLast(final FoContext context) {
- return propertyList.getTextAlignLast(context);
+ public TextAlignLast traitTextAlignLast(final FoContext context) {
+ final FoValue foTextAlignLast = propertyList.getTextAlignLast(context);
+ return convertTextAlignLast(foTextAlignLast);
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlign.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlign.java 2007-04-10 00:28:09 UTC (rev 9161)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlign.java 2007-04-10 01:51:57 UTC (rev 9162)
@@ -107,7 +107,7 @@
return FoValue.START;
}
// If you can find the parent, use its value.
- return parent.traitTextAlign(context);
+ return parent.getPropertyList().getTextAlign(context);
}
protected FoValue[] getValidKeywords() {
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlignLast.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlignLast.java 2007-04-10 00:28:09 UTC (rev 9161)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/TextAlignLast.java 2007-04-10 01:51:57 UTC (rev 9162)
@@ -93,7 +93,7 @@
return FoValue.RELATIVE;
}
// If you can find the parent, use its value.
- return parent.traitTextAlignLast(context);
+ return parent.getPropertyList().getTextAlignLast(context);
}
protected FoValue[] getValidKeywords() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-10 17:30:25
|
Revision: 9164
http://svn.sourceforge.net/foray/?rev=9164&view=rev
Author: victormote
Date: 2007-04-10 10:30:17 -0700 (Tue, 10 Apr 2007)
Log Message:
-----------
Conform to axsl change adding new typesafe enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-10 17:16:22 UTC (rev 9163)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-04-10 17:30:17 UTC (rev 9164)
@@ -29,12 +29,12 @@
package org.foray.area;
import org.axsl.areaR.RenderVisitor;
+import org.axsl.common.value.LeaderAlignment;
import org.axsl.common.value.LeaderPattern;
import org.axsl.common.value.RuleStyle;
import org.axsl.foR.Fo;
import org.axsl.foR.FoText;
import org.axsl.foR.fo.ExternalGraphic;
-import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.InstreamForeignObject;
import org.axsl.foR.fo.Leader;
import org.axsl.foR.fo.PageNumber;
@@ -201,7 +201,7 @@
* @return The leader alignment.
* @see Fo#traitLeaderAlignment
*/
- public FoValue traitLeaderAlignment() {
+ public LeaderAlignment traitLeaderAlignment() {
return traitGeneratedBy().traitLeaderAlignment(this);
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 17:16:22 UTC (rev 9163)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 17:30:17 UTC (rev 9164)
@@ -46,6 +46,7 @@
import org.axsl.common.value.Conditionality;
import org.axsl.common.value.DisplayAlign;
import org.axsl.common.value.ForcePageCount;
+import org.axsl.common.value.LeaderAlignment;
import org.axsl.common.value.LeaderPattern;
import org.axsl.common.value.Overflow;
import org.axsl.common.value.RelativeAlign;
@@ -1580,10 +1581,29 @@
}
/**
+ * Converts an {@link FoValue} leader-alignment value to the more generic
+ * {@link LeaderAlignment} value.
+ * @param foLeaderAlignment The raw FO leader-alignment to be converted.
+ * @return The matching LeaderAlignment instance.
+ */
+ private static LeaderAlignment convertLeaderAlignment(
+ final FoValue foLeaderAlignment) {
+ switch (foLeaderAlignment) {
+ case NONE: return LeaderAlignment.NONE;
+ case REFERENCE_AREA: return LeaderAlignment.REFERENCE_AREA;
+ case PAGE: return LeaderAlignment.PAGE;
+ default: throw new IllegalArgumentException("Illegal leader-alignment: "
+ + foLeaderAlignment.toXslFo());
+ }
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitLeaderAlignment(final FoContext context) {
- return propertyList.getLeaderAlignment(context);
+ public LeaderAlignment traitLeaderAlignment(final FoContext context) {
+ final FoValue foLeaderAlignment = propertyList.getLeaderAlignment(
+ context);
+ return convertLeaderAlignment(foLeaderAlignment);
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-10 17:16:22 UTC (rev 9163)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-10 17:30:17 UTC (rev 9164)
@@ -131,7 +131,7 @@
}
case LEADER_ALIGNMENT: {
if (parent != null) {
- return parent.traitLeaderAlignment(context);
+ return parent.getPropertyList().getLeaderAlignment(context);
}
return FoValue.NONE;
}
@@ -385,7 +385,7 @@
return fobj.traitHyphenationKeep(context);
}
case LEADER_ALIGNMENT: {
- return fobj.traitLeaderAlignment(context);
+ return fobj.getPropertyList().getLeaderAlignment(context);
}
case LEADER_PATTERN: {
return fobj.getPropertyList().getLeaderPattern(context);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-10 17:40:05
|
Revision: 9165
http://svn.sourceforge.net/foray/?rev=9165&view=rev
Author: victormote
Date: 2007-04-10 10:39:38 -0700 (Tue, 10 Apr 2007)
Log Message:
-----------
Conform to axsl change adding new typesafe enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnProportionalColWidth.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-04-10 17:30:17 UTC (rev 9164)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-04-10 17:39:38 UTC (rev 9165)
@@ -34,8 +34,8 @@
import org.axsl.areaW.AreaWException;
import org.axsl.common.value.BorderModel;
import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.TableLayout;
import org.axsl.foR.FoContext;
-import org.axsl.foR.fo.FoValue;
import org.axsl.foR.fo.RetrieveMarker;
import org.axsl.foR.fo.Table;
import org.axsl.foR.fo.TableBody;
@@ -244,7 +244,7 @@
* @return The new width of the table.
*/
private int calcColumnWidths(final int maxAllocationIPD) {
- if (this.traitGeneratedBy().traitTableLayout() == FoValue.AUTO) {
+ if (this.traitGeneratedBy().traitTableLayout() == TableLayout.AUTO) {
/* For "auto" column width, start by just making all of the columns
* equal. */
final Table table = this.traitGeneratedBy();
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 17:30:17 UTC (rev 9164)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 17:39:38 UTC (rev 9165)
@@ -56,6 +56,7 @@
import org.axsl.common.value.ShadowEffect;
import org.axsl.common.value.Shape;
import org.axsl.common.value.Span;
+import org.axsl.common.value.TableLayout;
import org.axsl.common.value.TextAlign;
import org.axsl.common.value.TextAlignLast;
import org.axsl.common.value.WrapOption;
@@ -1614,10 +1615,27 @@
}
/**
+ * Converts an {@link FoValue} table-layout value to the more generic
+ * {@link TableLayout} value.
+ * @param foTableLayout The raw FO leader-alignment to be converted.
+ * @return The matching TableLayout instance.
+ */
+ private static TableLayout convertTableLayout(
+ final FoValue foTableLayout) {
+ switch (foTableLayout) {
+ case AUTO: return TableLayout.AUTO;
+ case FIXED: return TableLayout.FIXED;
+ default: throw new IllegalArgumentException("Illegal table-layout: "
+ + foTableLayout.toXslFo());
+ }
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitTableLayout() {
- return propertyList.getTableLayout();
+ public TableLayout traitTableLayout() {
+ final FoValue foTableLayout = propertyList.getTableLayout();
+ return convertTableLayout(foTableLayout);
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnProportionalColWidth.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnProportionalColWidth.java 2007-04-10 17:30:17 UTC (rev 9164)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnProportionalColWidth.java 2007-04-10 17:39:38 UTC (rev 9165)
@@ -32,7 +32,7 @@
import org.foray.fotree.PropertyList;
import org.foray.fotree.fo.obj.TableColumn;
-import org.axsl.foR.fo.FoValue;
+import org.axsl.common.value.TableLayout;
import org.axsl.foR.fo.Table;
/**
@@ -80,7 +80,7 @@
throw new PropertyException("Ancestor 'table' object not found "
+ "for function \"" + getFunctionName() + "\".");
}
- if (table.traitTableLayout() != FoValue.FIXED) {
+ if (table.traitTableLayout() != TableLayout.FIXED) {
throw new PropertyException("Table layout must be \"fixed\" for "
+ "function \"" + getFunctionName() + "\".");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-10 18:00:11
|
Revision: 9167
http://svn.sourceforge.net/foray/?rev=9167&view=rev
Author: victormote
Date: 2007-04-10 10:58:17 -0700 (Tue, 10 Apr 2007)
Log Message:
-----------
Conform to axsl change adding new typesafe enum.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-10 17:45:14 UTC (rev 9166)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-04-10 17:58:17 UTC (rev 9167)
@@ -34,6 +34,7 @@
import org.axsl.areaW.BlockContainerRA;
import org.axsl.common.value.AbsoluteAxis;
import org.axsl.common.value.AbsoluteDirection;
+import org.axsl.common.value.BackgroundRepeat;
import org.axsl.common.value.Baseline;
import org.axsl.common.value.BorderStyle;
import org.axsl.common.value.DisplayAlign;
@@ -73,7 +74,7 @@
* @return The background-repeat trait.
* @see Fo#traitBackgroundRepeat(FoContext)
*/
- public FoValue traitBackgroundRepeat() {
+ public BackgroundRepeat traitBackgroundRepeat() {
return this.traitGeneratedBy().traitBackgroundRepeat(this);
}
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 17:45:14 UTC (rev 9166)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-10 17:58:17 UTC (rev 9167)
@@ -38,6 +38,7 @@
import org.axsl.common.value.AbsoluteAxis;
import org.axsl.common.value.AbsoluteDirection;
+import org.axsl.common.value.BackgroundRepeat;
import org.axsl.common.value.Baseline;
import org.axsl.common.value.BorderModel;
import org.axsl.common.value.BorderStyle;
@@ -2103,10 +2104,31 @@
}
/**
+ * Converts an {@link FoValue} background-repeat value to the more generic
+ * {@link BackgroundRepeat} value.
+ * @param foBackgroundRepeat The raw FO background-repeat to be converted.
+ * @return The matching BackgroundRepeat instance.
+ */
+ private static BackgroundRepeat convertBackgroundRepeat(
+ final FoValue foBackgroundRepeat) {
+ switch (foBackgroundRepeat) {
+ case REPEAT: return BackgroundRepeat.REPEAT;
+ case REPEAT_X: return BackgroundRepeat.REPEAT_X;
+ case REPEAT_Y: return BackgroundRepeat.REPEAT_Y;
+ case NO_REPEAT: return BackgroundRepeat.NO_REPEAT;
+ default: throw new IllegalArgumentException(
+ "Illegal background-repeat: "
+ + foBackgroundRepeat.toXslFo());
+ }
+ }
+
+ /**
* {@inheritDoc}
*/
- public FoValue traitBackgroundRepeat(final FoContext context) {
- return propertyList.getBackgroundRepeat(context);
+ public BackgroundRepeat traitBackgroundRepeat(final FoContext context) {
+ final FoValue foBackgroundRepeat = propertyList.getBackgroundRepeat(
+ context);
+ return convertBackgroundRepeat(foBackgroundRepeat);
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-10 17:45:14 UTC (rev 9166)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Enumerated.java 2007-04-10 17:58:17 UTC (rev 9167)
@@ -358,7 +358,7 @@
return fobj.traitBackgroundAttachment(context);
}
case BACKGROUND_REPEAT: {
- return fobj.traitBackgroundRepeat(context);
+ return fobj.getPropertyList().getBackgroundRepeat(context);
}
case BLANK_OR_NOT_BLANK: {
return fobj.traitBlankOrNotBlank();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-12 20:29:37
|
Revision: 9176
http://svn.sourceforge.net/foray/?rev=9176&view=rev
Author: victormote
Date: 2007-04-12 13:29:38 -0700 (Thu, 12 Apr 2007)
Log Message:
-----------
1. Handle whitespace and linefeeds in bookmarks properly.
2. Add test of same to the example document.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BookmarkTitle.java
trunk/foray/resource/fo-examples/basic/pdfoutline.fo
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BookmarkTitle.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BookmarkTitle.java 2007-04-12 19:29:41 UTC (rev 9175)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/BookmarkTitle.java 2007-04-12 20:29:38 UTC (rev 9176)
@@ -34,8 +34,10 @@
import org.foray.fotree.Namespace;
import org.foray.fotree.PropertyList;
+import org.axsl.foR.FoContext;
import org.axsl.foR.FoTreeException;
import org.axsl.foR.ProxyFactory;
+import org.axsl.foR.fo.FoValue;
/**
* A "bookmark-title" object in XSL-FO.
@@ -110,7 +112,7 @@
* {@inheritDoc}
*/
public char[] getContent() {
- return getText().getRawText();
+ return getText().getAreaTreeText(null);
}
/**
@@ -148,4 +150,43 @@
return this.parent;
}
+ /**
+ * {@inheritDoc}
+ * Overrides standard logic as text-transform does not apply to a bookmark.
+ */
+ @Override
+ public FoValue traitTextTransform(final FoContext context) {
+ return FoValue.NONE;
+ }
+
+ /**
+ * {@inheritDoc}
+ * Overrides standard logic as white-space-treatment for a bookmark-title
+ * is always the initial value.
+ */
+ @Override
+ public FoValue traitWhiteSpaceTreatment(final FoContext context) {
+ return FoValue.IGNORE_IF_SURROUNDING_LINEFEED;
+ }
+
+ /**
+ * {@inheritDoc}
+ * Overrides standard logic as linefeed-treatment for a bookmark-title
+ * is always the initial value.
+ */
+ @Override
+ public FoValue traitLinefeedTreatment(final FoContext context) {
+ return FoValue.TREAT_AS_SPACE;
+ }
+
+ /**
+ * {@inheritDoc}
+ * Overrides standard logic as linefeed-treatment for a bookmark-title
+ * is always the initial value.
+ */
+ @Override
+ public boolean traitWhiteSpaceCollapse(final FoContext context) {
+ return true;
+ }
+
}
Modified: trunk/foray/resource/fo-examples/basic/pdfoutline.fo
===================================================================
--- trunk/foray/resource/fo-examples/basic/pdfoutline.fo 2007-04-12 19:29:41 UTC (rev 9175)
+++ trunk/foray/resource/fo-examples/basic/pdfoutline.fo 2007-04-12 20:29:38 UTC (rev 9176)
@@ -63,10 +63,15 @@
</fo:bookmark>
</fo:bookmark>
<fo:bookmark internal-destination="Section-04">
- <fo:bookmark-title>Section 4</fo:bookmark-title>
+ <fo:bookmark-title text-transform="uppercase">Section 4. This bookmark has
+two linefeeds here
+
+and a lot of white-space here as a test. Neither
+should be visible in the bookmark.</fo:bookmark-title>
</fo:bookmark>
<fo:bookmark internal-destination="Section-05">
- <fo:bookmark-title>Section 5</fo:bookmark-title>
+ <fo:bookmark-title>Section 5. "text-transform" has been set to "upper"
+which should be ignored.</fo:bookmark-title>
</fo:bookmark>
<fo:bookmark internal-destination="Section-06">
<fo:bookmark-title>Section 6</fo:bookmark-title>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <vic...@us...> - 2007-04-13 17:33:10
|
Revision: 9180
http://svn.sourceforge.net/foray/?rev=9180&view=rev
Author: victormote
Date: 2007-04-13 10:33:09 -0700 (Fri, 13 Apr 2007)
Log Message:
-----------
Conform to axsl changes splitting the Compass enum into AbsoluteCompass and RelativeCompass.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderStyle.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderWidth.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Indent.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Margin.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/Padding.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/RelativeSpace.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/DtWritingMode.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/PropertyCollection.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-13 16:26:49 UTC (rev 9179)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2007-04-13 17:33:09 UTC (rev 9180)
@@ -32,8 +32,8 @@
import org.axsl.areaW.AreaWException;
import org.axsl.common.value.AbsoluteAxis;
import org.axsl.common.value.Baseline;
-import org.axsl.common.value.Compass;
import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.RelativeCompass;
import org.axsl.common.value.TextAlign;
import org.axsl.common.value.TextAlignLast;
import org.axsl.foR.FoContext;
@@ -826,15 +826,13 @@
}
switch (textAlign) {
case INSIDE: {
- if (this.getPage().getBindingEdge()
- == Compass.END) {
+ if (this.getPage().getBindingEdge() == RelativeCompass.END) {
return TextAlign.END;
}
return TextAlign.START;
}
case OUTSIDE: {
- if (this.getPage().getBindingEdge()
- == Compass.END) {
+ if (this.getPage().getBindingEdge() == RelativeCompass.END) {
return TextAlign.START;
}
return TextAlign.END;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-13 16:26:49 UTC (rev 9179)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-04-13 17:33:09 UTC (rev 9180)
@@ -37,13 +37,13 @@
import org.foray.fotree.fo.obj.Table;
import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.AbsoluteCompass;
import org.axsl.common.value.AbsoluteDirection;
import org.axsl.common.value.BackgroundRepeat;
import org.axsl.common.value.Baseline;
import org.axsl.common.value.BorderModel;
import org.axsl.common.value.BorderStyle;
import org.axsl.common.value.Break;
-import org.axsl.common.value.Compass;
import org.axsl.common.value.Conditionality;
import org.axsl.common.value.DisplayAlign;
import org.axsl.common.value.ForcePageCount;
@@ -52,6 +52,7 @@
import org.axsl.common.value.Overflow;
import org.axsl.common.value.RelativeAlign;
import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.RelativeCompass;
import org.axsl.common.value.RuleStyle;
import org.axsl.common.value.Scaling;
import org.axsl.common.value.ShadowEffect;
@@ -670,7 +671,7 @@
*/
public int traitStartIndent(final FoContext context,
final int ipdContainingRA) {
- return propertyList.getIndent(context, Compass.START,
+ return propertyList.getIndent(context, RelativeCompass.START,
ipdContainingRA);
}
@@ -1220,7 +1221,7 @@
*/
public int traitEndIndent(final FoContext context,
final int ipdContainingRA) {
- return propertyList.getIndent(context, Compass.END,
+ return propertyList.getIndent(context, RelativeCompass.END,
ipdContainingRA);
}
@@ -1773,28 +1774,28 @@
* {@inheritDoc}
*/
public Color traitBorderBeforeColor(final FoContext context) {
- return propertyList.getBorderColor(context, Compass.BEFORE);
+ return propertyList.getBorderColor(context, RelativeCompass.BEFORE);
}
/**
* {@inheritDoc}
*/
public Color traitBorderAfterColor(final FoContext context) {
- return propertyList.getBorderColor(context, Compass.AFTER);
+ return propertyList.getBorderColor(context, RelativeCompass.AFTER);
}
/**
* {@inheritDoc}
*/
public Color traitBorderStartColor(final FoContext context) {
- return propertyList.getBorderColor(context, Compass.START);
+ return propertyList.getBorderColor(context, RelativeCompass.START);
}
/**
* {@inheritDoc}
*/
public Color traitBorderEndColor(final FoContext context) {
- return propertyList.getBorderColor(context, Compass.END);
+ return propertyList.getBorderColor(context, RelativeCompass.END);
}
/**
@@ -1825,7 +1826,7 @@
*/
public BorderStyle traitBorderBeforeStyle(final FoContext context) {
final FoValue foValue = propertyList.getBorderStyle(context,
- Compass.BEFORE);
+ RelativeCompass.BEFORE);
return convertBorderStyle(foValue);
}
@@ -1834,7 +1835,7 @@
*/
public BorderStyle traitBorderAfterStyle(final FoContext context) {
final FoValue foValue = propertyList.getBorderStyle(context,
- Compass.AFTER);
+ RelativeCompass.AFTER);
return convertBorderStyle(foValue);
}
@@ -1843,7 +1844,7 @@
*/
public BorderStyle traitBorderStartStyle(final FoContext context) {
final FoValue foValue = propertyList.getBorderStyle(context,
- Compass.START);
+ RelativeCompass.START);
return convertBorderStyle(foValue);
}
@@ -1852,7 +1853,7 @@
*/
public BorderStyle traitBorderEndStyle(final FoContext context) {
final FoValue foValue = propertyList.getBorderStyle(context,
- Compass.END);
+ RelativeCompass.END);
return convertBorderStyle(foValue);
}
@@ -1861,7 +1862,7 @@
*/
public int traitBorderBeforeWidth(final FoContext context,
final boolean isFirst) {
- return propertyList.getBorderWidth(context, Compass.BEFORE,
+ return propertyList.getBorderWidth(context, RelativeCompass.BEFORE,
isFirst);
}
@@ -1870,7 +1871,7 @@
*/
public int traitBorderAfterWidth(final FoContext context,
final boolean isLast) {
- return propertyList.getBorderWidth(context, Compass.AFTER,
+ return propertyList.getBorderWidth(context, RelativeCompass.AFTER,
isLast);
}
@@ -1879,7 +1880,7 @@
*/
public int traitBorderStartWidth(final FoContext context,
final boolean isFirst) {
- return propertyList.getBorderWidth(context, Compass.START,
+ return propertyList.getBorderWidth(context, RelativeCompass.START,
isFirst);
}
@@ -1888,7 +1889,7 @@
*/
public int traitBorderEndWidth(final FoContext context,
final boolean isLast) {
- return propertyList.getBorderWidth(context, Compass.END,
+ return propertyList.getBorderWidth(context, RelativeCompass.END,
isLast);
}
@@ -1896,7 +1897,7 @@
* {@inheritDoc}
*/
public int traitBorderLeftWidth(final FoContext context) {
- return propertyList.getBorderWidth(context, Compass.LEFT,
+ return propertyList.getBorderWidth(context, AbsoluteCompass.LEFT,
true);
}
@@ -1904,7 +1905,7 @@
* {@inheritDoc}
*/
public int traitBorderRightWidth(final FoContext context) {
- return propertyList.getBorderWidth(context, Compass.RIGHT,
+ return propertyList.getBorderWidth(context, AbsoluteCompass.RIGHT,
true);
}
@@ -1912,7 +1913,7 @@
* {@inheritDoc}
*/
public int traitBorderTopWidth(final FoContext context) {
- return propertyList.getBorderWidth(context, Compass.TOP,
+ return propertyList.getBorderWidth(context, AbsoluteCompass.TOP,
true);
}
@@ -1920,7 +1921,7 @@
* {@inheritDoc}
*/
public int traitBorderBottomWidth(final FoContext context) {
- return propertyList.getBorderWidth(context, Compass.BOTTOM,
+ return propertyList.getBorderWidth(context, AbsoluteCompass.BOTTOM,
true);
}
@@ -1929,7 +1930,7 @@
*/
public int traitPaddingBefore(final FoContext context,
final boolean isFirst) {
- return propertyList.getPadding(context, Compass.BEFORE,
+ return propertyList.getPadding(context, RelativeCompass.BEFORE,
isFirst);
}
@@ -1938,7 +1939,7 @@
*/
public int traitPaddingAfter(final FoContext context,
final boolean isLast) {
- return propertyList.getPadding(context, Compass.AFTER,
+ return propertyList.getPadding(context, RelativeCompass.AFTER,
isLast);
}
@@ -1947,7 +1948,7 @@
*/
public int traitPaddingStart(final FoContext context,
final boolean isFirst) {
- return propertyList.getPadding(context, Compass.START,
+ return propertyList.getPadding(context, RelativeCompass.START,
isFirst);
}
@@ -1955,7 +1956,7 @@
* {@inheritDoc}
*/
public int traitPaddingEnd(final FoContext context, final boolean isLast) {
- return propertyList.getPadding(context, Compass.END,
+ return propertyList.getPadding(context, RelativeCompass.END,
isLast);
}
@@ -1963,7 +1964,7 @@
* {@inheritDoc}
*/
public int traitPaddingLeft(final FoContext context) {
- return propertyList.getPadding(context, Compass.LEFT,
+ return propertyList.getPadding(context, AbsoluteCompass.LEFT,
true);
}
@@ -1971,7 +1972,7 @@
* {@inheritDoc}
*/
public int traitPaddingRight(final FoContext context) {
- return propertyList.getPadding(context, Compass.RIGHT,
+ return propertyList.getPadding(context, AbsoluteCompass.RIGHT,
true);
}
@@ -1979,7 +1980,7 @@
* {@inheritDoc}
*/
public int traitPaddingTop(final FoContext context) {
- return propertyList.getPadding(context, Compass.TOP,
+ return propertyList.getPadding(context, AbsoluteCompass.TOP,
true);
}
@@ -1987,7 +1988,7 @@
* {@inheritDoc}
*/
public int traitPaddingBottom(final FoContext context) {
- return propertyList.getPadding(context, Compass.BOTTOM,
+ return propertyList.getPadding(context, AbsoluteCompass.BOTTOM,
true);
}
@@ -2665,7 +2666,7 @@
*/
public int traitBorderBeforePrecedence(final FoContext context) {
return propertyList.getBorderPrecedence(context,
- Compass.BEFORE);
+ RelativeCompass.BEFORE);
}
/**
@@ -2673,7 +2674,7 @@
*/
public int traitBorderAfterPrecedence(final FoContext context) {
return propertyList.getBorderPrecedence(context,
- Compass.AFTER);
+ RelativeCompass.AFTER);
}
/**
@@ -2681,7 +2682,7 @@
*/
public int traitBorderStartPrecedence(final FoContext context) {
return propertyList.getBorderPrecedence(context,
- Compass.START);
+ RelativeCompass.START);
}
/**
@@ -2689,7 +2690,7 @@
*/
public int traitBorderEndPrecedence(final FoContext context) {
return propertyList.getBorderPrecedence(context,
- Compass.END);
+ RelativeCompass.END);
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-13 16:26:49 UTC (rev 9179)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/PropertyList.java 2007-04-13 17:33:09 UTC (rev 9180)
@@ -144,16 +144,18 @@
import org.foray.fotree.xml.prop.Lang;
import org.axsl.common.value.AbsoluteAxis;
+import org.axsl.common.value.AbsoluteCompass;
import org.axsl.common.value.AbsoluteDirection;
import org.axsl.common.value.Compass;
+import org.axsl.common.value.RelativeAxis;
+import org.axsl.common.value.RelativeCompass;
+import org.axsl.common.value.ShadowEffect;
+import org.axsl.common.value.Shape;
+import org.axsl.foR.FoContext;
+import org.axsl.foR.PropertyType;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
-import org.axsl.foR.PropertyType;
-import org.axsl.common.value.RelativeAxis;
import org.axsl.foR.xml.XmlProperty;
-import org.axsl.foR.FoContext;
-import org.axsl.common.value.ShadowEffect;
-import org.axsl.common.value.Shape;
import org.axsl.fontR.FontException;
import org.axsl.graphicR.Graphic;
@@ -394,7 +396,8 @@
* @return The margin value, in millipoints.
*/
public int getAbsoluteMargin(final FoContext context,
- final Compass absoluteDirection, final int widthContainingBlock) {
+ final AbsoluteCompass absoluteDirection,
+ final int widthContainingBlock) {
// Try the specific property first (e.g. "margin-top")
final FoProperty propertyType = Margin.rawPropertyType(
absoluteDirection);
@@ -424,8 +427,8 @@
* @return True if the property (or a shorthand) exists, false otherwise.
*/
private boolean correspondingMarginExists(final FoContext context,
- final Compass relativeDirection) {
- final Compass absoluteDirection = getWritingMode(context)
+ final RelativeCompass relativeDirection) {
+ final AbsoluteCompass absoluteDirection = getWritingMode(context)
.getAbsoluteDirection(relativeDirection);
final FoProperty propertyType = Margin.rawPropertyType(
absoluteDirection);
@@ -449,7 +452,7 @@
*/
public int getMarginTop(final FoContext context,
final int widthContainingBlock) {
- return getAbsoluteMargin(context, Compass.TOP,
+ return getAbsoluteMargin(context, AbsoluteCompass.TOP,
widthContainingBlock);
}
@@ -462,7 +465,7 @@
*/
public int getMarginBottom(final FoContext context,
final int widthContainingBlock) {
- return getAbsoluteMargin(context, Compass.BOTTOM,
+ return getAbsoluteMargin(context, AbsoluteCompass.BOTTOM,
widthContainingBlock);
}
@@ -475,7 +478,7 @@
*/
public int getMarginLeft(final FoContext context,
final int widthContainingBlock) {
- return getAbsoluteMargin(context, Compass.LEFT,
+ return getAbsoluteMargin(context, AbsoluteCompass.LEFT,
widthContainingBlock);
}
@@ -488,7 +491,7 @@
*/
public int getMarginRight(final FoContext context,
final int widthContainingBlock) {
- return getAbsoluteMargin(context, Compass.RIGHT,
+ return getAbsoluteMargin(context, AbsoluteCompass.RIGHT,
widthContainingBlock);
}
@@ -632,7 +635,8 @@
* a percentage.
* @return The start-indent value, in millipoints.
*/
- public int getIndent(final FoContext context, final Compass direction,
+ public int getIndent(final FoContext context,
+ final RelativeCompass direction,
final int ipdContainingRA) {
Indent indent = null;
final FoProperty rawPropertyType = Indent.rawPropertyType(direction);
@@ -1597,7 +1601,7 @@
if (property == null) {
return RelativeSpace.getValueNoInstance();
}
- return property.getValue(context, Compass.BEFORE,
+ return property.getValue(context, RelativeCompass.BEFORE,
subProperty, fobj, 0);
}
@@ -1617,7 +1621,7 @@
* If a corresponding margin property exists, conditionality must be
* set to "retain". See XSL-FO Std. 1.0, Section 5.3.2, Para 1.
*/
- if (correspondingMarginExists(context, Compass.BEFORE)) {
+ if (correspondingMarginExists(context, RelativeCompass.BEFORE)) {
return FoValue.RETAIN;
}
return RelativeSpace.getConditionalityNoInstance();
@@ -1650,7 +1654,7 @@
if (property == null) {
return RelativeSpace.getValueNoInstance();
}
- return property.getValue(context, Compass.AFTER,
+ return property.getValue(context, RelativeCompass.AFTER,
subProperty, fobj, 0);
}
@@ -1670,7 +1674,7 @@
* If a corresponding margin property exists, conditionality must be
* set to "retain". See XSL-FO Std. 1.0, Section 5.3.2, Para 1.
*/
- if (correspondingMarginExists(context, Compass.AFTER)) {
+ if (correspondingMarginExists(context, RelativeCompass.AFTER)) {
return FoValue.RETAIN;
}
return RelativeSpace.getConditionalityNoInstance();
@@ -1705,7 +1709,7 @@
if (property == null) {
return RelativeSpace.getValueNoInstance();
}
- return property.getValue(context, Compass.START,
+ return property.getValue(context, RelativeCompass.START,
subProperty, fobj, ipdAncestorBlockArea);
}
@@ -1750,7 +1754,7 @@
if (property == null) {
return RelativeSpace.getValueNoInstance();
}
- return property.getValue(context, Compass.END, subProperty,
+ return property.getValue(context, RelativeCompass.END, subProperty,
fobj, ipdAncestorBlockArea);
}
@@ -1825,7 +1829,7 @@
* @return The specified absolute offset.
*/
public int getAbsoluteOffset(final FoContext context,
- final Compass absoluteDirection,
+ final AbsoluteCompass absoluteDirection,
final int dimensionContainingBlock) {
final FoProperty propertyType = AbsoluteOffset.rawPropertyName(
absoluteDirection);
@@ -1847,7 +1851,7 @@
*/
public int getTop(final FoContext context,
final int heightContainingBlock) {
- return getAbsoluteOffset(context, Compass.TOP,
+ return getAbsoluteOffset(context, AbsoluteCompass.TOP,
heightContainingBlock);
}
@@ -1861,7 +1865,7 @@
*/
public int getBottom(final FoContext context,
final int heightContainingBlock) {
- return getAbsoluteOffset(context, Compass.BOTTOM,
+ return getAbsoluteOffset(context, AbsoluteCompass.BOTTOM,
heightContainingBlock);
}
@@ -1875,7 +1879,7 @@
*/
public int getLeft(final FoContext context,
final int widthContainingBlock) {
- return getAbsoluteOffset(context, Compass.LEFT,
+ return getAbsoluteOffset(context, AbsoluteCompass.LEFT,
widthContainingBlock);
}
@@ -1889,7 +1893,7 @@
*/
public int getRight(final FoContext context,
final int widthContainingBlock) {
- return getAbsoluteOffset(context, Compass.RIGHT,
+ return getAbsoluteOffset(context, AbsoluteCompass.RIGHT,
widthContainingBlock);
}
@@ -4171,7 +4175,7 @@
* @return The specified border precedence property.
*/
public int getBorderPrecedence(final FoContext context,
- final Compass direction) {
+ final RelativeCompass direction) {
final FoProperty propertyType = BorderPrecedence.getPropertyType(
direction);
final BorderPrecedence property = (BorderPrecedence)
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 2007-04-13 16:26:49 UTC (rev 9179)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/AbsoluteOffset.java 2007-04-13 17:33:09 UTC (rev 9180)
@@ -38,7 +38,7 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
-import org.axsl.common.value.Compass;
+import org.axsl.common.value.AbsoluteCompass;
import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
@@ -126,17 +126,17 @@
* @param direction One of the absolute directional constants.
* @return The property associated with <code>direction</code>.
*/
- public static FoProperty rawPropertyName(final Compass direction) {
- if (direction == Compass.TOP) {
+ public static FoProperty rawPropertyName(final AbsoluteCompass direction) {
+ if (direction == AbsoluteCompass.TOP) {
return FoProperty.TOP;
}
- if (direction == Compass.BOTTOM) {
+ if (direction == AbsoluteCompass.BOTTOM) {
return FoProperty.BOTTOM;
}
- if (direction == Compass.LEFT) {
+ if (direction == AbsoluteCompass.LEFT) {
return FoProperty.LEFT;
}
- if (direction == Compass.RIGHT) {
+ if (direction == AbsoluteCompass.RIGHT) {
return FoProperty.RIGHT;
}
return null;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java 2007-04-13 16:26:49 UTC (rev 9179)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderColor.java 2007-04-13 17:33:09 UTC (rev 9180)
@@ -38,7 +38,9 @@
import org.foray.fotree.value.PropertyCollection;
import org.foray.fotree.value.PropertyValue;
+import org.axsl.common.value.AbsoluteCompass;
import org.axsl.common.value.Compass;
+import org.axsl.common.value.RelativeCompass;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
@@ -138,28 +140,28 @@
* @return The property associated with <code>direction</code>.
*/
public static FoProperty rawPropertyType(final Compass direction) {
- if (direction == Compass.BEFORE) {
+ if (direction == RelativeCompass.BEFORE) {
return FoProperty.BORDER_BEFORE_COLOR;
}
- if (direction == Compass.AFTER) {
+ if (direction == RelativeCompass.AFTER) {
return FoProperty.BORDER_AFTER_COLOR;
}
- if (direction == Compass.START) {
+ if (direction == RelativeCompass.START) {
return FoProperty.BORDER_START_COLOR;
}
- if (direction == Compass.END) {
+ if (direction == RelativeCompass.END) {
return FoProperty.BORDER_END_COLOR;
}
- if (direction == Compass.LEFT) {
+ if (direction == AbsoluteCompass.LEFT) {
return FoProperty.BORDER_LEFT_COLOR;
}
- if (direction == Compass.RIGHT) {
+ if (direction == AbsoluteCompass.RIGHT) {
return FoProperty.BORDER_RIGHT_COLOR;
}
- if (direction == Compass.TOP) {
+ if (direction == AbsoluteCompass.TOP) {
return FoProperty.BORDER_TOP_COLOR;
}
- if (direction == Compass.BOTTOM) {
+ if (direction == AbsoluteCompass.BOTTOM) {
return FoProperty.BORDER_BOTTOM_COLOR;
}
return null;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java 2007-04-13 16:26:49 UTC (rev 9179)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderPrecedence.java 2007-04-13 17:33:09 UTC (rev 9180)
@@ -44,6 +44,7 @@
import org.foray.fotree.value.PropertyValue;
import org.axsl.common.value.Compass;
+import org.axsl.common.value.RelativeCompass;
import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
@@ -111,16 +112,16 @@
case INHERIT: {
final FObj parent = fobj.effectiveParent(context);
if (parent != null) {
- if (direction == Compass.BEFORE) {
+ if (direction == RelativeCompass.BEFORE) {
return parent.traitBorderBeforePrecedence(context);
}
- if (direction == Compass.AFTER) {
+ if (direction == RelativeCompass.AFTER) {
return parent.traitBorderAfterPrecedence(context);
}
- if (direction == Compass.START) {
+ if (direction == RelativeCompass.START) {
return parent.traitBorderStartPrecedence(context);
}
- if (direction == Compass.END) {
+ if (direction == RelativeCompass.END) {
return parent.traitBorderEndPrecedence(context);
}
}
@@ -153,17 +154,17 @@
return VALID_KEYWORDS;
}
- public static FoProperty getPropertyType(final Compass direction) {
- if (direction == Compass.BEFORE) {
+ public static FoProperty getPropertyType(final RelativeCompass direction) {
+ if (direction == RelativeCompass.BEFORE) {
return FoProperty.BORDER_BEFORE_PRECEDENCE;
}
- if (direction == Compass.AFTER) {
+ if (direction == RelativeCompass.AFTER) {
return FoProperty.BORDER_AFTER_PRECEDENCE;
}
- if (direction == Compass.START) {
+ if (direction == RelativeCompass.START) {
return FoProperty.BORDER_START_PRECEDENCE;
}
- if (direction == Compass.END) {
+ if (direction == RelativeCompass.END) {
return FoProperty.BORDER_END_PRECEDENCE;
}
return null;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderStyle.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderStyle.java 2007-04-13 16:26:49 UTC (rev 9179)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderStyle.java 2007-04-13 17:33:09 UTC (rev 9180)
@@ -37,7 +37,9 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
+import org.axsl.common.value.AbsoluteCompass;
import org.axsl.common.value.Compass;
+import org.axsl.common.value.RelativeCompass;
import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
@@ -159,28 +161,28 @@
* @return The property related to <code>direction</code>.
*/
public static FoProperty rawPropertyType(final Compass direction) {
- if (direction == Compass.BEFORE) {
+ if (direction == RelativeCompass.BEFORE) {
return FoProperty.BORDER_BEFORE_STYLE;
}
- if (direction == Compass.AFTER) {
+ if (direction == RelativeCompass.AFTER) {
return FoProperty.BORDER_AFTER_STYLE;
}
- if (direction == Compass.START) {
+ if (direction == RelativeCompass.START) {
return FoProperty.BORDER_START_STYLE;
}
- if (direction == Compass.END) {
+ if (direction == RelativeCompass.END) {
return FoProperty.BORDER_END_STYLE;
}
- if (direction == Compass.LEFT) {
+ if (direction == AbsoluteCompass.LEFT) {
return FoProperty.BORDER_LEFT_STYLE;
}
- if (direction == Compass.RIGHT) {
+ if (direction == AbsoluteCompass.RIGHT) {
return FoProperty.BORDER_RIGHT_STYLE;
}
- if (direction == Compass.TOP) {
+ if (direction == AbsoluteCompass.TOP) {
return FoProperty.BORDER_TOP_STYLE;
}
- if (direction == Compass.BOTTOM) {
+ if (direction == AbsoluteCompass.BOTTOM) {
return FoProperty.BORDER_BOTTOM_STYLE;
}
return null;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderWidth.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderWidth.java 2007-04-13 16:26:49 UTC (rev 9179)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/BorderWidth.java 2007-04-13 17:33:09 UTC (rev 9180)
@@ -40,7 +40,9 @@
import org.foray.fotree.value.PropertyKeyword;
import org.foray.fotree.value.PropertyValue;
+import org.axsl.common.value.AbsoluteCompass;
import org.axsl.common.value.Compass;
+import org.axsl.common.value.RelativeCompass;
import org.axsl.foR.FoContext;
import org.axsl.foR.fo.FoProperty;
import org.axsl.foR.fo.FoValue;
@@ -191,32 +193,32 @@
}
case INHERIT: {
final FObj effectiveParent = fobj.effectiveParent(context);
- if (direction == Compass.BEFORE) {
+ if (direction == RelativeCompass.BEFORE) {
return effectiveParent.traitBorderBeforeWidth(context,
isOuterEdge);
}
- if (direction == Compass.AFTER) {
+ if (direction == RelativeCompass.AFTER) {
...
[truncated message content] |