pbwest      2004/07/23 21:26:50

  Modified:    src/java/org/apache/fop/area Tag: FOP_0-20-0_Alt-Design
                        ContentRectangle.java
  Log:
  Override getFrameRelative{width,Height} from Area.AreaGeometry
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.11  +20 -3     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.10
  retrieving revision 1.1.2.11
  diff -u -r1.1.2.10 -r1.1.2.11
  --- ContentRectangle.java     10 Jul 2004 16:36:55 -0000      1.1.2.10
  +++ ContentRectangle.java     24 Jul 2004 04:26:50 -0000      1.1.2.11
  @@ -122,6 +122,23 @@
       }
   
       /**
  +     * Gets the width of this <code>AreaGeometry</code> as seen from any
  +     * enclosing frame
  +     * @return the frame-view width
  +     */
  +    protected double getFrameRelativeWidth() {
  +        return getFrameRelativeDimensions().getWidth();
  +    }
  +    /**
  +     * Gets the height of this <code>AreaGeometry</code> as seen from any
  +     * enclosing frame
  +     * @return the frame-view height
  +     */
  +    protected double getFrameRelativeHeight() {
  +        return getFrameRelativeDimensions().getHeight();
  +    }
  +
  +    /**
        * [EMAIL PROTECTED]
        * <p>Any registered listeners are notified of the change in the
        * dimension.
  
  
  

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

Reply via email to