Procházet zdrojové kódy

Override getFrameRelative{width,Height} from Area.AreaGeometry


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197820 13f79535-47bb-0310-9956-ffa450edef68
tags/Defoe_export
Peter Bernard West před 20 roky
rodič
revize
f4f0d630b3
1 změnil soubory, kde provedl 17 přidání a 0 odebrání
  1. 17
    0
      src/java/org/apache/fop/area/ContentRectangle.java

+ 17
- 0
src/java/org/apache/fop/area/ContentRectangle.java Zobrazit soubor

@@ -121,6 +121,23 @@ public class ContentRectangle extends AreaGeometry {
}
}

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

/**
* {@inheritDoc}
* <p>Any registered listeners are notified of the change in the

Načítá se…
Zrušit
Uložit