SourceForge.net Logo
aXSL API 0.2

org.axsl.fo.fo.prop
Interface CommonPositionPa

All Known Subinterfaces:
BasicLink, BidiOverride, Block, BlockContainer, CharacterSequence, CommonAbsolutePositionPa, CommonRelativePositionPa, ExternalGraphic, InitialPropertySet, Inline, InlineContainer, InstreamForeignObject, Leader, ListBlock, ListItem, PageNumber, PageNumberCitation, PageNumberCitationLast, ScalingValueCitation, Table, TableAndCaption, TableBody, TableCaption, TableCell, TableFooter, TableHeader, TableRow

public interface CommonPositionPa

The "top", "bottom", "left", and "right" properties, part of both the XSL-FO Common Absolute Position properties and the XSL-FO Common Relative Position properties.

See Also:
"XSL-FO 1.1, Section 7.6."

Field Summary
static int ABSOLUTE_POSITION_AUTO
          Used by FO Properties "top", "bottom", "left", and "right" to indicate that the value is "auto".
 
Method Summary
 int traitBottom(FoContext context)
          Returns the "bottom" trait for this FO.
 int traitLeft(FoContext context)
          Returns the "left" trait for this FO.
 int traitRight(FoContext context)
          Returns the "right" trait for this FO.
 int traitTop(FoContext context)
          Returns the "top" trait for this FO.
 

Field Detail

ABSOLUTE_POSITION_AUTO

static final int ABSOLUTE_POSITION_AUTO
Used by FO Properties "top", "bottom", "left", and "right" to indicate that the value is "auto".

See Also:
Constant Field Values
Method Detail

traitTop

int traitTop(FoContext context)
Returns the "top" trait for this FO.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The specified offset from the top of the containing block's top edge to the generated area's content-rectangle's top edge, or ABSOLUTE_POSITION_AUTO for "auto".
See Also:
"XSL-FO 1.0, Section 7.5.2", "XSL-FO 1.1, Section 7.6.2"

traitRight

int traitRight(FoContext context)
Returns the "right" trait for this FO.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The specified offset from the generated area's content-rectangle's left edge to the containing block's left edge, or ABSOLUTE_POSITION_AUTO for "auto".
See Also:
"XSL-FO 1.0, Section 7.5.3", "XSL-FO 1.1, Section 7.6.3"

traitBottom

int traitBottom(FoContext context)
Returns the "bottom" trait for this FO.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The specified offset from the generated area's content-rectangle's bottom edge to the containing block's bottom edge, or ABSOLUTE_POSITION_AUTO for "auto".
See Also:
"XSL-FO 1.0, Section 7.5.4", "XSL-FO 1.1, Section 7.6.4"

traitLeft

int traitLeft(FoContext context)
Returns the "left" trait for this FO.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The specified offset from the containing block's left edge to the generated area's content-rectangle's left edge, or ABSOLUTE_POSITION_AUTO for "auto".
See Also:
"XSL-FO 1.0, Section 7.5.5", "XSL-FO 1.1, Section 7.6.5"

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.