summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Bernard West <pbwest@apache.org>2004-07-10 16:36:55 +0000
committerPeter Bernard West <pbwest@apache.org>2004-07-10 16:36:55 +0000
commit36c261543e618374d333ebcdf28eac21330bf1a1 (patch)
treea6ae5ffddf17b0d7dbe6a8640fc67a5f7a5ced6a
parentaabfba480046f5c33e9644db69d2a38a759a89bf (diff)
downloadxmlgraphics-fop-36c261543e618374d333ebcdf28eac21330bf1a1.tar.gz
xmlgraphics-fop-36c261543e618374d333ebcdf28eac21330bf1a1.zip
setIPDimPts and setBPDimPts modified to update PaddingRectangle
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197781 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/area/ContentRectangle.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/area/ContentRectangle.java b/src/java/org/apache/fop/area/ContentRectangle.java
index 962649d20..59f882457 100644
--- a/src/java/org/apache/fop/area/ContentRectangle.java
+++ b/src/java/org/apache/fop/area/ContentRectangle.java
@@ -37,7 +37,7 @@ public class ContentRectangle extends AreaGeometry {
private final Area area;
/**
- * @param writingMode
+ * @param area the containing <code>Area</code> instance
*/
public ContentRectangle(Area area) {
area.super(area.contentWritingMode);
@@ -46,7 +46,7 @@ public class ContentRectangle extends AreaGeometry {
}
/**
- * @param writingMode
+ * @param area the containing <code>Area</code> instance
* @param ipOrigin
* @param bpOrigin
* @param ipDim
@@ -128,6 +128,7 @@ public class ContentRectangle extends AreaGeometry {
*/
public void setIPDimPts(double pts) {
super.setIPDimPts(pts);
+ padding.setContents(this);
area.notifyListeners();
}
@@ -138,6 +139,7 @@ public class ContentRectangle extends AreaGeometry {
*/
public void setBPDimPts(double pts) {
super.setBPDimPts(pts);
+ padding.setContents(this);
area.notifyListeners();
}