Package | Description |
---|---|
org.axsl.fo.fo.prop |
Interfaces describing methods for obtaining property or trait values from the Fo Tree objects.
|
org.axsl.font |
Interfaces allowing client applications to register, track, and use fonts in a vendor-neutral way.
|
org.axsl.galley |
Interfaces useful for client applications that wish to read an AreaTree, usually to create an output document.
|
Modifier and Type | Method and Description |
---|---|
Font.Style |
FontStylePa.traitFontStyle(FoContext context)
Returns the "font-style" trait for this FO.
|
Modifier and Type | Method and Description |
---|---|
static Font.Style |
Font.Style.parseCss(java.lang.String input,
boolean lowerCaseOnly)
Parses a CSS2-style String into an instance of
Font.Style . |
static Font.Style |
Font.Style.parseFo(java.lang.String input,
boolean lowerCaseOnly)
Parses an XSL-FO String into an instance of
Font.Style . |
static Font.Style |
Font.Style.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Font.Style[] |
Font.Style.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
FontServer.registerFontDescription(java.lang.String fontFamily,
java.lang.String fontID,
Encoding encoding,
Font.Style style,
Font.Weight weight,
Font.Variant variant,
Font.Stretch stretch,
float simulatedSmallCaps,
float simulatedOblique,
float simulatedBackslant,
float[] simulatedStretch)
Register a font description for use by the system.
|
FontUse |
FontConsumer.selectFontCss(java.util.List<java.lang.String> familyList,
Font.Style style,
Font.Weight weight,
Font.Variant variant,
Font.Stretch stretch,
int size,
int codePoint)
The same as
FontConsumer.selectFontXsl(org.axsl.font.Font.SelectionStrategy, java.util.List<java.lang.String>, org.axsl.font.Font.Style, org.axsl.font.Font.Weight, org.axsl.font.Font.Variant, org.axsl.font.Font.Stretch, int, int) , except that the algorithm specified
by CSS 2.1 is used instead. |
FontUse |
FontConsumer.selectFontXsl(Font.SelectionStrategy selectionStrategy,
java.util.List<java.lang.String> familyList,
Font.Style style,
Font.Weight weight,
Font.Variant variant,
Font.Stretch stretch,
int size,
int codePoint)
Accepts the client's description of the desired font, and returns the
best-fitting Font found, using the algorithm specified by the XSL-FO
1.1 Recommendation.
|
Modifier and Type | Method and Description |
---|---|
Font.Style |
Bookmark.traitFontStyle()
Returns the font style (normal, italic, etc.) for this area.
|
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.