diff options
-rw-r--r-- | src/java/org/apache/fop/area/PaddingRectangle.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/PaddingRectangle.java b/src/java/org/apache/fop/area/PaddingRectangle.java index 2e72d2ca5..065b2165f 100644 --- a/src/java/org/apache/fop/area/PaddingRectangle.java +++ b/src/java/org/apache/fop/area/PaddingRectangle.java @@ -21,6 +21,7 @@ package org.apache.fop.area; import java.awt.geom.Point2D; import java.awt.geom.Rectangle2D; +import org.apache.fop.area.Area.AreaGeometry; /** * @author pbw @@ -81,6 +82,11 @@ public class PaddingRectangle extends AreaFrame { return borders; } + public void setContents(AreaGeometry contents) { + super.setContents(contents); + borders.setContents(this); + } + /** * {@inheritDoc} * <p>The containing <code>BorderRectangle</code> is notified of the |