diff options
author | Glen Mazza <gmazza@apache.org> | 2003-12-26 22:39:14 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2003-12-26 22:39:14 +0000 |
commit | 3ace6b2c4f2cfeb7b308007db9cf7ca9c856e53a (patch) | |
tree | 696a44cd0437feb82229a62ceca159cd7b7ea7d0 /src/java/org/apache | |
parent | 76e4b6356c06ab387c6220c11998441bb38d161c (diff) | |
download | xmlgraphics-fop-3ace6b2c4f2cfeb7b308007db9cf7ca9c856e53a.tar.gz xmlgraphics-fop-3ace6b2c4f2cfeb7b308007db9cf7ca9c856e53a.zip |
Bug 25708 (Patch submitted by Simon Pepping) -- implementation of fo:wrapper in 1.0 version.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197055 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/AddLMVisitor.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java b/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java index 03f9e0786..cf924d700 100644 --- a/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java +++ b/src/java/org/apache/fop/layoutmgr/AddLMVisitor.java @@ -983,9 +983,15 @@ public class AddLMVisitor implements FOTreeVisitor { * @param node Wrapper object to process */ public void serveWrapper(Wrapper node) { - serveFObjMixed((FObjMixed)node); + ListIterator baseIter; + baseIter = node.getChildren(); + if (baseIter == null) return; + while (baseIter.hasNext()) { + FObj child = (FObj) baseIter.next(); + child.acceptVisitor(this); + } } - + /** * @param node FootnoteBody object to process */ |