Browse Source

Accumulate the BPD extent used by the normal flow's children.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202359 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_90-alpha1
Jeremias Maerki 19 years ago
parent
commit
8ec1a0e041
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/java/org/apache/fop/area/NormalFlow.java

+ 6
- 0
src/java/org/apache/fop/area/NormalFlow.java View File

@@ -32,5 +32,11 @@ public class NormalFlow extends BlockParent {
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();
}
}


Loading…
Cancel
Save