|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FoContext
Provides the FO Tree with contextual information for cases where its contents may be used differently in one context than in another. FoContext allows client applications to look up and provide the context information only if it is actually needed by the FoTree.
Method Summary | |
---|---|
int |
bpdAncestorBlockOrRa()
Returns the block-progression-dimension of either 1) the nearest area ancestor that was generated by a block-level formatting object, or 2) if there is no such area ancestor, the nearest area ancestor that is a reference area. |
GraftingPoint |
getGraftingPoint()
Tells the FO Tree which RetrieveMarker or
RetrieveTableMarker instance should be the
grafting point if a Marker instance is found in the FO Tree. |
int |
heightContainingBlock()
Returns the height of the containing block. |
int |
ipdAncestorBlockArea()
Returns the inline-progression-dimension of the content-rectangle of the nearest ancestor block area that is not a line area. |
int |
ipdAncestorBlockOrRa()
Returns the inline-progression-dimension of either 1) the nearest area ancestor that was generated by a block-level formatting object, or 2) if there is no such area ancestor, the nearest area ancestor that is a reference area. |
int |
ipdContainingRefArea()
Returns the inline-progression-dimension of the containing reference area, in millipoints. |
int |
ipdParentArea()
Returns the inline-progression-dimension of the content rectangle of the parent Area, in millipoints. |
boolean |
isFirst()
Indicates whether the context is the first Area within its parent reference-area. |
boolean |
isLast()
Indicates whether the context is the last Area within its parent reference-area. |
int |
tableWidth()
Returns the width of the table for this context. |
int |
widthContainingBlock()
Returns the width of the containing block. |
Method Detail |
---|
GraftingPoint getGraftingPoint()
Tells the FO Tree which RetrieveMarker
or
RetrieveTableMarker
instance should be the
grafting point if a Marker
instance is found in the FO Tree.
marker
contents found should be
grafted.int ipdAncestorBlockOrRa()
int bpdAncestorBlockOrRa()
int tableWidth()
RuntimeException
.
int ipdAncestorBlockArea()
int widthContainingBlock()
int heightContainingBlock()
boolean isFirst()
boolean isLast()
int ipdContainingRefArea()
int ipdParentArea()
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.