pbwest      2004/07/08 17:31:11

  Modified:    src/java/org/apache/fop/area Tag: FOP_0-20-0_Alt-Design
                        ContentRectangle.java
  Log:
  Override setIPDimPts and setBPDimPts in AreaGeometry.
  The override supplements the setting by calling notifyListeners in the parent area.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.9   +25 -4     xml-fop/src/java/org/apache/fop/area/Attic/ContentRectangle.java
  
  Index: ContentRectangle.java
  ===================================================================
  RCS file: 
/home/cvs/xml-fop/src/java/org/apache/fop/area/Attic/ContentRectangle.java,v
  retrieving revision 1.1.2.8
  retrieving revision 1.1.2.9
  diff -u -r1.1.2.8 -r1.1.2.9
  --- ContentRectangle.java     6 Jul 2004 14:25:44 -0000       1.1.2.8
  +++ ContentRectangle.java     9 Jul 2004 00:31:10 -0000       1.1.2.9
  @@ -120,4 +120,25 @@
               return super.getFrameRelativeDimensions();
           }
       }
  +
  +    /**
  +     * [EMAIL PROTECTED]
  +     * <p>Any registered listeners are notified of the change in the
  +     * dimension.
  +     */
  +    public void setIPDimPts(double pts) {
  +        super.setIPDimPts(pts);
  +        area.notifyListeners();
  +    }
  +
  +    /**
  +     * [EMAIL PROTECTED]
  +     * <p>Any registered listeners are notified of the change in the
  +     * dimension.
  +     */
  +    public void setBPDimPts(double pts) {
  +        super.setBPDimPts(pts);
  +        area.notifyListeners();
  +    }
  +
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to