[FOray-commit] SF.net SVN: foray: [10071] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-07-20 20:49:08
|
Revision: 10071
http://svn.sourceforge.net/foray/?rev=10071&view=rev
Author: victormote
Date: 2007-07-20 13:49:08 -0700 (Fri, 20 Jul 2007)
Log Message:
-----------
Conform to axsl changes removing unneeded methods.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.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-07-20 20:39:33 UTC (rev 10070)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-07-20 20:49:08 UTC (rev 10071)
@@ -629,7 +629,7 @@
* {@link AbsoluteAxis#VERTICAL}, or null if writing-mode is invalid.
*/
public AbsoluteAxis getBPAxis() {
- return traitGeneratedBy().getBpAxis(this);
+ return getWritingMode().getBpAxis();
}
/**
@@ -638,7 +638,7 @@
* {@link AbsoluteAxis#VERTICAL}, or null if writing-mode is invalid.
*/
public AbsoluteAxis getIPAxis() {
- return traitGeneratedBy().getIpAxis(this);
+ return getWritingMode().getIpAxis();
}
/**
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-07-20 20:39:33 UTC (rev 10070)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java 2007-07-20 20:49:08 UTC (rev 10071)
@@ -921,7 +921,6 @@
default: throw new IllegalArgumentException(
"Illegal wrap-option value: " + foWrapOption.toXslFo());
}
-
}
/**
@@ -3861,20 +3860,6 @@
}
/**
- * {@inheritDoc}
- */
- public AbsoluteAxis getBpAxis(final FoContext context) {
- return this.getPropertyList().getBPAxis(this, context);
- }
-
- /**
- * {@inheritDoc}
- */
- public AbsoluteAxis getIpAxis(final FoContext context) {
- return this.getPropertyList().getIPAxis(this, context);
- }
-
- /**
* Returns the writing-mode for this FO.
* @param context An object that knows how to resolve FO Tree context
* issues.
@@ -3892,20 +3877,6 @@
}
/**
- * {@inheritDoc}
- */
- public FObj getPreviousSiblingFo() {
- AbstractOrderedTreeNode node = this;
- while (node != null) {
- node = (FObj) node.getPreviousSibling();
- if (node instanceof FObj) {
- return (FObj) node;
- }
- }
- return null;
- }
-
- /**
* Reports whether the object fits the %block parameter entity described
* in XSL-FO Std 1.0, Section 6.2. This includes not just the %block
* definition, but also all other objects, such as the neutral containers
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|