summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Bernard West <pbwest@apache.org>2004-07-09 00:31:10 +0000
committerPeter Bernard West <pbwest@apache.org>2004-07-09 00:31:10 +0000
commit31964b74256b6f0dd878190241d97b9ae058fd9d (patch)
tree48bfaf0caf4ca1bb659292aa4aea24706838cdf3 /src
parent63d6af553d31e7aa51d624b200fc8044cda32e5d (diff)
downloadxmlgraphics-fop-31964b74256b6f0dd878190241d97b9ae058fd9d.tar.gz
xmlgraphics-fop-31964b74256b6f0dd878190241d97b9ae058fd9d.zip
Override setIPDimPts and setBPDimPts in AreaGeometry.
The override supplements the setting by calling notifyListeners in the parent area. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197772 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/area/ContentRectangle.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/ContentRectangle.java b/src/java/org/apache/fop/area/ContentRectangle.java
index b6162402f..962649d20 100644
--- a/src/java/org/apache/fop/area/ContentRectangle.java
+++ b/src/java/org/apache/fop/area/ContentRectangle.java
@@ -120,4 +120,25 @@ public class ContentRectangle extends AreaGeometry {
return super.getFrameRelativeDimensions();
}
}
+
+ /**
+ * {@inheritDoc}
+ * <p>Any registered listeners are notified of the change in the
+ * dimension.
+ */
+ public void setIPDimPts(double pts) {
+ super.setIPDimPts(pts);
+ area.notifyListeners();
+ }
+
+ /**
+ * {@inheritDoc}
+ * <p>Any registered listeners are notified of the change in the
+ * dimension.
+ */
+ public void setBPDimPts(double pts) {
+ super.setBPDimPts(pts);
+ area.notifyListeners();
+ }
+
}