[aXSL-commit] SF.net SVN: axsl: [586] trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaNode.java
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-05-25 19:17:32
|
Revision: 586 Author: victormote Date: 2006-05-25 12:17:22 -0700 (Thu, 25 May 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=586&view=rev Log Message: ----------- Add some convenience methods. Modified Paths: -------------- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaNode.java Modified: trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaNode.java =================================================================== --- trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaNode.java 2006-05-25 16:04:40 UTC (rev 585) +++ trunk/axsl/axsl-area-w/src/java/org/axsl/areaW/AreaNode.java 2006-05-25 19:17:22 UTC (rev 586) @@ -20,6 +20,7 @@ package org.axsl.areaW; +import org.axsl.common.Constants; import org.axsl.common.OrderedTreeNode; import org.axsl.foR.FONode; import org.axsl.foR.FObj; @@ -62,6 +63,24 @@ */ public Area nearestGeneratedByBlockLevelFO() ; + /** + * Convenience method to return the BPD of the content rectangle of the Area + * returned by {@link #nearestGeneratedByBlockLevelFO()}. + * @return The BPD of the content rectangle of the nearest Area that was + * generated by a block-level FO, or {@link Constants#DIMENSION_AUTO} if + * there is none. + */ + public int crBPDNearestGeneratedByBlockLevelFO() ; + + /** + * Convenience method to return the IPD of the content rectangle of the Area + * returned by {@link #nearestGeneratedByBlockLevelFO()}. + * @return The IPD of the content rectangle of the nearest Area that was + * generated by a block-level FO, or {@link Constants#DIMENSION_AUTO} if + * there is none. + */ + public int crIPDNearestGeneratedByBlockLevelFO() ; + public TableArea ancestorTableArea(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |