SourceForge.net Logo
aXSL API 0.2

org.axsl.fo.fo.proforma
Interface CommonFontExcludedPa

All Superinterfaces:
FontStylePa, FontWeightPa

public interface CommonFontExcludedPa
extends FontStylePa, FontWeightPa

The XSL-FO Common Font properties that are NOT currently exposed to client applications in the axsl API. This interface can be used by implementations for pro-forma purposes, and the methods in it may be exposed at a later time if it is found that they are needed by client applications.

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

Method Summary
 java.lang.String[] traitFontFamily(FoContext context)
          Returns the "font-family" trait for this FO.
 Font.SelectionStrategy traitFontSelectionStrategy(FoContext context)
          Returns the "font-selection-strategy" trait for this FO.
 int traitFontSize(FoContext context)
          Returns the "font-size" trait for this FO.
 double traitFontSizeAdjust(FoContext context)
          Retrieves the computed value for "font-size-adjust".
 Font.Stretch traitFontStretch(FoContext context)
          Returns the "font-stretch" trait for this FO.
 Font.Variant traitFontVariant(FoContext context)
          Returns the "font-variant" trait for this FO.
 
Methods inherited from interface org.axsl.fo.fo.prop.FontStylePa
traitFontStyle
 
Methods inherited from interface org.axsl.fo.fo.prop.FontWeightPa
traitFontWeight
 

Method Detail

traitFontFamily

java.lang.String[] traitFontFamily(FoContext context)
Returns the "font-family" trait for this FO.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
An ordered array of "font-family" possibilities for this FO. This may include both "family-name" and "generic-family" items as specified in the standard.
See Also:
"XSL-FO Standard 1.0, Section 7.8.2"

traitFontSelectionStrategy

Font.SelectionStrategy traitFontSelectionStrategy(FoContext context)
Returns the "font-selection-strategy" trait for this FO.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The "font-selection-strategy" trait.
See Also:
"XSL-FO Standard 1.0, Section 7.8.3"

traitFontSize

int traitFontSize(FoContext context)
Returns the "font-size" trait for this FO.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The "font-size", in millipoints.
See Also:
"XSL-FO Standard 1.0, Section 7.8.4"

traitFontStretch

Font.Stretch traitFontStretch(FoContext context)
Returns the "font-stretch" trait for this FO.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The "font-stretch" trait.
See Also:
"XSL-FO Standard 1.0, Section 7.8.5"

traitFontSizeAdjust

double traitFontSizeAdjust(FoContext context)
Retrieves the computed value for "font-size-adjust".

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The desired aspect ratio for the font, or Double.NEGATIVE_INFINITY if no adjustment should be made to the actual font-size.

traitFontVariant

Font.Variant traitFontVariant(FoContext context)
Returns the "font-variant" trait for this FO.

Parameters:
context - An object that knows how to resolve FO Tree context issues.
Returns:
The "font-variant" trait.
See Also:
"XSL-FO Standard 1.0, Section 7.8.8"

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.