xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r202359 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/area/NormalFlow.java
Date Wed, 29 Jun 2005 12:38:13 GMT
Author: jeremias
Date: Wed Jun 29 05:38:12 2005
New Revision: 202359

URL: http://svn.apache.org/viewcvs?rev=202359&view=rev
Log:
Accumulate the BPD extent used by the normal flow's children.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/area/NormalFlow.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/area/NormalFlow.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/area/NormalFlow.java?rev=202359&r1=202358&r2=202359&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/area/NormalFlow.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/area/NormalFlow.java Wed Jun 29 05:38:12
2005
@@ -32,5 +32,11 @@
         addTrait(Trait.IS_REFERENCE_AREA, Boolean.TRUE);
         setIPD(ipd);
     }
+    
+    /** @see org.apache.fop.area.BlockParent#addBlock(org.apache.fop.area.Block) */
+    public void addBlock(Block block) {
+        super.addBlock(block);
+        bpd += block.getAllocBPD();
+    }
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message