You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by bc...@apache.org on 2004/10/10 22:22:56 UTC
cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr BlockLayoutManager.java
bckfnn 2004/10/10 13:22:56
Modified: src/java/org/apache/fop/layoutmgr BlockLayoutManager.java
Log:
When the child LM is a RetrieveMarker, it need a valid parent before
generatesInlineAreas() are called.
Revision Changes Path
1.29 +2 -0 xml-fop/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java
Index: BlockLayoutManager.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/BlockLayoutManager.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- BlockLayoutManager.java 22 Sep 2004 08:22:14 -0000 1.28
+++ BlockLayoutManager.java 10 Oct 2004 20:22:56 -0000 1.29
@@ -134,6 +134,7 @@
while (proxyLMiter.hasNext()) {
LayoutManager lm = (LayoutManager) proxyLMiter.next();
+ lm.setParent(this);
if (lm.generatesInlineAreas()) {
LineLayoutManager lineLM = createLineManager(lm);
addChildLM(lineLM);
@@ -160,6 +161,7 @@
inlines.add(firstlm);
while (proxyLMiter.hasNext()) {
LayoutManager lm = (LayoutManager) proxyLMiter.next();
+ lm.setParent(this);
if (lm.generatesInlineAreas()) {
inlines.add(lm);
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org