aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2003-10-02 00:32:02 +0000
committerGlen Mazza <gmazza@apache.org>2003-10-02 00:32:02 +0000
commit37d588c2610f156838e7ae1c0a31f2b05ff80a1b (patch)
tree3e4625df22cb54809331e5a2ee3a89008134887f /src/java/org/apache/fop/area
parent41ab38708af87dc5e46ac4e56e6f00025b38c8dd (diff)
downloadxmlgraphics-fop-37d588c2610f156838e7ae1c0a31f2b05ff80a1b.tar.gz
xmlgraphics-fop-37d588c2610f156838e7ae1c0a31f2b05ff80a1b.zip
1. BodyRegion's clone() now including child areas (makes it a bona fide clone()
function, also AWTRenderer() needs it.) 2. Starting implementation of RenderWord() in AWTRenderer; also looking at an alternate implementation (storing a series of BufferedImages instead of the area tree elements); temporarily storing both strategies in this commit. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196941 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area')
-rw-r--r--src/java/org/apache/fop/area/BodyRegion.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/area/BodyRegion.java b/src/java/org/apache/fop/area/BodyRegion.java
index e6116bf79..c8b3087c3 100644
--- a/src/java/org/apache/fop/area/BodyRegion.java
+++ b/src/java/org/apache/fop/area/BodyRegion.java
@@ -159,8 +159,6 @@ public class BodyRegion extends RegionReference {
/**
* Clone this object.
- * This is only used to clone the current object, the child areas
- * are assumed to be null and are not cloned.
*
* @return a shallow copy of this object
*/
@@ -170,6 +168,9 @@ public class BodyRegion extends RegionReference {
br.setIPD(getIPD());
br.columnGap = columnGap;
br.columnCount = columnCount;
+ br.beforeFloat = beforeFloat;
+ br.mainReference = mainReference;
+ br.footnote = footnote;
return br;
}
}