SourceForge.net Logo
aXSL API 0.2

org.axsl.fo
Interface FoScaled

All Superinterfaces:
Fo, java.lang.Iterable<Fo>, javax.swing.tree.TreeNode
All Known Subinterfaces:
ExternalGraphic, InstreamForeignObject

public interface FoScaled
extends Fo

Subinterface for formatting objects that can be scaled and viewed inside a viewport.


Field Summary
 
Fields inherited from interface org.axsl.fo.Fo
DIMENSION_AUTO
 
Method Summary
 int referenceBpd(FoContext context)
          Returns the block-progression-dimension of the reference area for this item.
 int referenceIpd(FoContext context)
          Returns the inline-progression-dimension of the reference area for this item.
 int viewportBpd(FoContext context)
          Returns the BPD of the viewport for this item.
 int viewportIpd(FoContext context)
          Returns the IPD of the viewport for this item.
 
Methods inherited from interface org.axsl.fo.Fo
acceptProxyFactory, ancestorBasicLink, ancestorListRelatedObject, ancestorMarker, ancestorTable, getChildAt, getColumn, getContextMessage, getLine, getName, getParent, getSequentialIndex, getSystemId, isBlockLevelFo, qtyMarkerChildren, traitIsReferenceArea
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildCount, getIndex, isLeaf
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

viewportIpd

int viewportIpd(FoContext context)
Returns the IPD of the viewport for this item.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The IPD, in millipoints, of the viewport area from which this content should be viewed.

viewportBpd

int viewportBpd(FoContext context)
Returns the BPD of the viewport for this item.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The BPD, in millipoints, of the viewport area from which this content should be viewed.

referenceIpd

int referenceIpd(FoContext context)
Returns the inline-progression-dimension of the reference area for this item.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The IPD, in millipoints, of the reference area in which this content should be drawn.

referenceBpd

int referenceBpd(FoContext context)
Returns the block-progression-dimension of the reference area for this item.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The BPD, in millipoints, of the reference area in which this content should be drawn.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.