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 ar...@apache.org on 2001/02/11 00:05:01 UTC
cvs commit: xml-fop/src/org/apache/fop/layout BodyAreaContainer.java
arved 01/02/10 15:05:01
Modified: src/org/apache/fop/layout BodyAreaContainer.java
Log:
Adding reference areas as children
Revision Changes Path
1.4 +6 -3 xml-fop/src/org/apache/fop/layout/BodyAreaContainer.java
Index: BodyAreaContainer.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/BodyAreaContainer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BodyAreaContainer.java 2001/01/10 23:56:20 1.3
+++ BodyAreaContainer.java 2001/02/10 23:05:00 1.4
@@ -1,4 +1,4 @@
-/*-- $Id: BodyAreaContainer.java,v 1.3 2001/01/10 23:56:20 keiron Exp $ --
+/*-- $Id: BodyAreaContainer.java,v 1.4 2001/02/10 23:05:00 arved Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -112,11 +112,14 @@
mainRefAreaHeight = maxHeight - beforeFloatRefAreaHeight - footnoteRefAreaHeight;
beforeFloatReferenceArea = new AreaContainer(fontState, xPosition, yPosition,
allocationWidth, beforeFloatRefAreaHeight, Position.ABSOLUTE);
+ this.addChild(beforeFloatReferenceArea);
+ mainReferenceArea = new AreaContainer(fontState, xPosition, yPosition,
+ allocationWidth, mainRefAreaHeight, Position.ABSOLUTE);
+ this.addChild(mainReferenceArea);
int footnoteRefAreaYPosition = yPosition - mainRefAreaHeight;
footnoteReferenceArea = new AreaContainer(fontState, xPosition, footnoteRefAreaYPosition,
allocationWidth, footnoteRefAreaHeight, Position.ABSOLUTE);
- mainReferenceArea = new AreaContainer(fontState, xPosition, yPosition,
- allocationWidth, mainRefAreaHeight, Position.ABSOLUTE);
+ this.addChild(footnoteReferenceArea);
// all padding and border-width must be 0
setPadding(0, 0, 0, 0);