diff options
author | Peter Bernard West <pbwest@apache.org> | 2004-05-30 16:44:49 +0000 |
---|---|---|
committer | Peter Bernard West <pbwest@apache.org> | 2004-05-30 16:44:49 +0000 |
commit | 578a051ba41abd9a552718163bf4ecb317703ecb (patch) | |
tree | 50a466ff17f644d0d84b4d8bf4d6d57652366307 /src | |
parent | 377bd19ae286093081a5a40063b99a50777be74e (diff) | |
download | xmlgraphics-fop-578a051ba41abd9a552718163bf4ecb317703ecb.tar.gz xmlgraphics-fop-578a051ba41abd9a552718163bf4ecb317703ecb.zip |
Added prototype area creation.
Changed FONode to FoPageSequence in signature.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197676 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/FoPcdata.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/flow/FoPcdata.java b/src/java/org/apache/fop/fo/flow/FoPcdata.java index e3d9378b1..c7b49b555 100644 --- a/src/java/org/apache/fop/fo/flow/FoPcdata.java +++ b/src/java/org/apache/fop/fo/flow/FoPcdata.java @@ -23,8 +23,8 @@ package org.apache.fop.fo.flow; import java.util.Arrays; import java.util.BitSet; import org.apache.fop.apps.FOPException; +import org.apache.fop.area.LineArea; import org.apache.fop.datastructs.TreeException; -import org.apache.fop.fo.FONode; import org.apache.fop.fo.FOPageSeqNode; import org.apache.fop.fo.FOTree; import org.apache.fop.fo.FObjectNames; @@ -121,13 +121,17 @@ public class FoPcdata extends FOPageSeqNode { * attribute set information. */ public FoPcdata - (FOTree foTree, FONode pageSequence, FOPageSeqNode parent, + (FOTree foTree, FoPageSequence pageSequence, FOPageSeqNode parent, XmlEvent event, int stateFlags) throws TreeException, FOPException { super(foTree, FObjectNames.PCDATA, pageSequence, parent, event, stateFlags, sparsePropsMap, sparseIndices); characters = event.getChars(); + // Generate the prototype LineArea + currentArea = new LineArea( + characters, pageSequence, this, layoutContext, + layoutContext.getSync()); makeSparsePropsSet(); } |