]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
When the child LM is a RetrieveMarker, it need a valid parent before
authorFinn Bock <bckfnn@apache.org>
Sun, 10 Oct 2004 20:22:56 +0000 (20:22 +0000)
committerFinn Bock <bckfnn@apache.org>
Sun, 10 Oct 2004 20:22:56 +0000 (20:22 +0000)
generatesInlineAreas() are called.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198029 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java

index 3b08e66c2dfc081e26a43b9d456d8ca1522b247f..53a9919c0d83cff66d4a3cbc4ba0dee5691988dc 100644 (file)
@@ -134,6 +134,7 @@ public class BlockLayoutManager extends BlockStackingLayoutManager {
 
         while (proxyLMiter.hasNext()) {
             LayoutManager lm = (LayoutManager) proxyLMiter.next();
+            lm.setParent(this);
             if (lm.generatesInlineAreas()) {
                 LineLayoutManager lineLM = createLineManager(lm);
                 addChildLM(lineLM);
@@ -160,6 +161,7 @@ public class BlockLayoutManager extends BlockStackingLayoutManager {
         inlines.add(firstlm);
         while (proxyLMiter.hasNext()) {
             LayoutManager lm = (LayoutManager) proxyLMiter.next();
+            lm.setParent(this);
             if (lm.generatesInlineAreas()) {
                 inlines.add(lm);
             } else {