From 3ace6b2c4f2cfeb7b308007db9cf7ca9c856e53a Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Fri, 26 Dec 2003 22:39:14 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/layoutmgr/AddLMVisitor.java | 10 ++++++++-- 1 file 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 */ -- 2.39.5