From 37d588c2610f156838e7ae1c0a31f2b05ff80a1b Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Thu, 2 Oct 2003 00:32:02 +0000 Subject: 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 --- src/java/org/apache/fop/area/BodyRegion.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/java/org/apache/fop/area') 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; } } -- cgit v1.2.3