]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bug 25708 (Patch submitted by Simon Pepping) -- implementation of fo:wrapper in 1...
authorGlen Mazza <gmazza@apache.org>
Fri, 26 Dec 2003 22:39:14 +0000 (22:39 +0000)
committerGlen Mazza <gmazza@apache.org>
Fri, 26 Dec 2003 22:39:14 +0000 (22:39 +0000)
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

index 03f9e0786cb0b3e696ff1790b2cd593c8dc4603a..cf924d70073c09693ccc173938c3fb143e8afe7f 100644 (file)
@@ -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
      */