diff options
author | Peter Bernard West <pbwest@apache.org> | 2004-05-12 11:08:23 +0000 |
---|---|---|
committer | Peter Bernard West <pbwest@apache.org> | 2004-05-12 11:08:23 +0000 |
commit | a9b524585c4d486df59c6197a9def65c802523c9 (patch) | |
tree | e0e4faa2326e35d228107e73eaaa103dc38f725a /src | |
parent | ee9554f4dff7ba8545c749ed3cf0ea1aef5c4ed3 (diff) | |
download | xmlgraphics-fop-a9b524585c4d486df59c6197a9def65c802523c9.tar.gz xmlgraphics-fop-a9b524585c4d486df59c6197a9def65c802523c9.zip |
Set currentFlowArea from addNormalFlowRef
Added getCurrNormalFlowRefArea
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/area/SpanReferenceArea.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/SpanReferenceArea.java b/src/java/org/apache/fop/area/SpanReferenceArea.java index 5ce6a55da..fcf893945 100644 --- a/src/java/org/apache/fop/area/SpanReferenceArea.java +++ b/src/java/org/apache/fop/area/SpanReferenceArea.java @@ -124,6 +124,12 @@ implements ReferenceArea, Serializable { public void addNormalFlowRef(NormalFlowRefArea normal) { flowAreas.add(normal); + currentFlowArea = normal; } + + public NormalFlowRefArea getCurrNormalFlowRefArea() { + return currentFlowArea; + } + } |