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 pb...@apache.org on 2004/06/03 15:33:36 UTC
cvs commit: xml-fop/src/java/org/apache/fop/area RegionBodyRefArea.java
pbwest 2004/06/03 06:33:36
Modified: src/java/org/apache/fop/area Tag: FOP_0-20-0_Alt-Design
RegionBodyRefArea.java
Log:
Acknowledge before-float-reference-area and footnote-reference-area
Revision Changes Path
No revision
No revision
1.1.2.9 +23 -19 xml-fop/src/java/org/apache/fop/area/Attic/RegionBodyRefArea.java
Index: RegionBodyRefArea.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/area/Attic/RegionBodyRefArea.java,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -r1.1.2.8 -r1.1.2.9
--- RegionBodyRefArea.java 1 Jun 2004 06:27:05 -0000 1.1.2.8
+++ RegionBodyRefArea.java 3 Jun 2004 13:33:36 -0000 1.1.2.9
@@ -31,9 +31,9 @@
public class RegionBodyRefArea
extends RegionRefArea
implements ReferenceArea {
- //private BeforeFloat beforeFloat;
private MainReferenceArea mainReference;
- //private Footnote footnote;
+ private BeforeFloatRefArea beforeFloatRefArea;
+ private FootnoteRefArea footnoteRefArea;
private int columnGap = 0;
private int columnCount = 1;
@@ -68,6 +68,10 @@
new RegionBodyRefArea(pageSeq, parent, sync);
bodyRef.setMainReference(MainReferenceArea.nullMainRefArea(
pageSeq, pageSeq, bodyRef, sync));
+ bodyRef.setBeforeFloatRefArea(
+ new BeforeFloatRefArea(pageSeq, pageSeq, bodyRef, sync));
+ bodyRef.setFootnoteRefArea(
+ new FootnoteRefArea(pageSeq, pageSeq, bodyRef, sync));
return bodyRef;
}
/**
@@ -115,11 +119,11 @@
/**
* Set the before float area.
*
- * @param bf the before float area
+ * @param bf the before float reference area
*/
-// public void setBeforeFloat(BeforeFloat bf) {
-// beforeFloat = bf;
-// }
+ public void setBeforeFloatRefArea(BeforeFloatRefArea bf) {
+ beforeFloatRefArea = bf;
+ }
/**
* Set the main reference area.
@@ -135,20 +139,20 @@
/**
* Set the footnote area.
*
- * @param foot the footnote area
+ * @param foot the footnote reference area
*/
-// public void setFootnote(Footnote foot) {
-// footnote = foot;
-// }
+ public void setFootnoteRefArea(FootnoteRefArea foot) {
+ footnoteRefArea = foot;
+ }
/**
* Get the before float area.
*
* @return the before float area
*/
-// public BeforeFloat getBeforeFloat() {
-// return beforeFloat;
-// }
+ public BeforeFloatRefArea getBeforeFloatRefArea() {
+ return beforeFloatRefArea;
+ }
/**
* Get the main reference area.
@@ -166,9 +170,9 @@
*
* @return the footnote area
*/
-// public Footnote getFootnote() {
-// return footnote;
-// }
+ public FootnoteRefArea getFootnoteRefArea() {
+ return footnoteRefArea;
+ }
/**
* Clone this object.
@@ -180,9 +184,9 @@
RegionBodyRefArea br = (RegionBodyRefArea)(super.clone());
br.columnGap = columnGap;
br.columnCount = columnCount;
- //br.beforeFloat = beforeFloat;
+ br.beforeFloatRefArea = beforeFloatRefArea;
br.mainReference = mainReference;
- //br.footnote = footnote;
+ br.footnoteRefArea = footnoteRefArea;
return br;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org