Revision: 7432
Author: victormote
Date: 2006-06-06 14:59:57 -0700 (Tue, 06 Jun 2006)
ViewCVS: http://svn.sourceforge.net/foray/?rev=7432&view=rev
Log Message:
-----------
1. Implement new axsl methods related to handling of text content.
2. Use new FOTextContent to unify the FOText constructor.
3. Allow FONodes in Area Tree constructors (so that FOText items can be used).
4. If TextArea encapsulates an FOText, for the "generated by", have the FOText return its parent.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Character.java
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Character.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Character.java 2006-06-06 21:59:40 UTC (rev 7431)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/fo/obj/Character.java 2006-06-06 21:59:57 UTC (rev 7432)
@@ -71,4 +71,9 @@
super.addChild(text);
}
+ public char[] getAreaTreeText() {
+ FOText text = (FOText) this.children.get(0);
+ return text.getAreaTreeText();
+ }
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|