[FOray-commit] SF.net SVN: foray: [9921] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-07-03 22:36:43
|
Revision: 9921
http://svn.sourceforge.net/foray/?rev=9921&view=rev
Author: victormote
Date: 2007-07-03 15:36:45 -0700 (Tue, 03 Jul 2007)
Log Message:
-----------
Conform to axsl changes renaming method.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnWidth.java
trunk/foray/foray-fotree/src/javatest/org/foray/fotree/AbstractPropertyTest.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/OverrideGraftingContext.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java 2007-07-03 22:25:04 UTC (rev 9920)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/AreaNode.java 2007-07-03 22:36:45 UTC (rev 9921)
@@ -735,7 +735,7 @@
/**
* {@inheritDoc}
*/
- public int widthNearestTable() {
+ public int tableWidth() {
final TableRA tableRA = this.nearestTableArea();
if (tableRA == null) {
throw new IllegalStateException("Attempted to get the width of "
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnWidth.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnWidth.java 2007-07-03 22:25:04 UTC (rev 9920)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/prop/ColumnWidth.java 2007-07-03 22:36:45 UTC (rev 9921)
@@ -91,7 +91,7 @@
*/
public int getValue(final FoContext context, final FObj fobj) {
if (value().canEvalPercentage()) {
- final int tableWidth = context.widthNearestTable();
+ final int tableWidth = context.tableWidth();
final float percentage = value().evalPercentage();
return Math.round(percentage * tableWidth);
}
Modified: trunk/foray/foray-fotree/src/javatest/org/foray/fotree/AbstractPropertyTest.java
===================================================================
--- trunk/foray/foray-fotree/src/javatest/org/foray/fotree/AbstractPropertyTest.java 2007-07-03 22:25:04 UTC (rev 9920)
+++ trunk/foray/foray-fotree/src/javatest/org/foray/fotree/AbstractPropertyTest.java 2007-07-03 22:36:45 UTC (rev 9921)
@@ -52,7 +52,7 @@
public int bpdNearestBlockLevel() {
return 9 * 72000;
}
- public int widthNearestTable() {
+ public int tableWidth() {
return 9 * 72000;
}
};
Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/OverrideGraftingContext.java
===================================================================
--- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/OverrideGraftingContext.java 2007-07-03 22:25:04 UTC (rev 9920)
+++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/OverrideGraftingContext.java 2007-07-03 22:36:45 UTC (rev 9921)
@@ -86,8 +86,8 @@
/**
* {@inheritDoc}
*/
- public int widthNearestTable() {
- return this.wrappedContext.widthNearestTable();
+ public int tableWidth() {
+ return this.wrappedContext.tableWidth();
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|