[FOray-commit] SF.net SVN: foray: [9022] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-03-26 22:05:25
|
Revision: 9022
http://svn.sourceforge.net/foray/?rev=9022&view=rev
Author: victormote
Date: 2007-03-26 15:05:24 -0700 (Mon, 26 Mar 2007)
Log Message:
-----------
Conform to axsl changes renaming a method.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockPL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java
trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FOTextPL.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java 2007-03-26 21:54:48 UTC (rev 9021)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java 2007-03-26 22:05:24 UTC (rev 9022)
@@ -98,7 +98,7 @@
/**
* {@inheritDoc}
*/
- public LineArea createNextLineArea(
+ public LineArea makeLineArea(
final boolean allowOverflow) throws AreaWException {
/* The size of the next line does not need to consider the half-leading
* that follows the line. That half-leading will be automatically
@@ -111,7 +111,7 @@
if (allowOverflow) {
final NormalBlockArea newArea = (NormalBlockArea)
this.getOverflowArea(this);
- return newArea.createNextLineArea(allowOverflow);
+ return newArea.makeLineArea(allowOverflow);
} else {
return null;
}
Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockPL.java
===================================================================
--- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockPL.java 2007-03-26 21:54:48 UTC (rev 9021)
+++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/BlockPL.java 2007-03-26 22:05:24 UTC (rev 9022)
@@ -197,7 +197,7 @@
* this passed as a parameter.
* TODO: Rename this method. */
if (this.currentLineArea == null) {
- this.currentLineArea = blockArea.createNextLineArea(false);
+ this.currentLineArea = blockArea.makeLineArea(false);
}
return this.currentLineArea;
}
Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java
===================================================================
--- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java 2007-03-26 21:54:48 UTC (rev 9021)
+++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FONodePL.java 2007-03-26 22:05:24 UTC (rev 9022)
@@ -296,7 +296,7 @@
// It did not fit on the line. Create new line & try again.
final NormalBlockArea blockArea
= (NormalBlockArea) lineArea.getParentArea();
- lineArea = blockArea.createNextLineArea(false);
+ lineArea = blockArea.makeLineArea(false);
final BlockPL blockPL = this.layout.getBlockPL(blockArea);
blockPL.setCurrentLineArea(lineArea);
Modified: trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FOTextPL.java
===================================================================
--- trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FOTextPL.java 2007-03-26 21:54:48 UTC (rev 9021)
+++ trunk/foray/foray-pioneer/src/java/org/foray/pioneer/FOTextPL.java 2007-03-26 22:05:24 UTC (rev 9022)
@@ -101,7 +101,7 @@
start = addTextItemToLine(la, lineText, start, end, retrieveMarker);
while (start != -1) {
final BlockPL blockPL = getLayout().getBlockPL(ba);
- la = ba.createNextLineArea(false);
+ la = ba.makeLineArea(false);
blockPL.setCurrentLineArea(la);
if (la == null) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|