Browse Source

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
tags/Defoe_export
Peter Bernard West 20 years ago
parent
commit
31964b7425
1 changed files with 21 additions and 0 deletions
  1. 21
    0
      src/java/org/apache/fop/area/ContentRectangle.java

+ 21
- 0
src/java/org/apache/fop/area/ContentRectangle.java View File

@@ -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();
}

}

Loading…
Cancel
Save