Package | Description |
---|---|
org.odftoolkit.simple.style |
Provide convenient methods to handle style definitions in ODF document.
|
Modifier and Type | Method and Description |
---|---|
StyleTypeDefinitions.TextLinePosition |
Font.getTextLinePosition()
Get the font text line position
|
StyleTypeDefinitions.TextLinePosition |
TextProperties.getTextLineStyle()
Return the font text line style
TextLineStyle.REGULAR will be returned if there is no text line style setting
|
static StyleTypeDefinitions.TextLinePosition |
StyleTypeDefinitions.TextLinePosition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StyleTypeDefinitions.TextLinePosition[] |
StyleTypeDefinitions.TextLinePosition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Font.setTextLinePosition(StyleTypeDefinitions.TextLinePosition textLinePosition)
Set the font text line position
|
void |
TextProperties.setTextLineStyle(StyleTypeDefinitions.TextLinePosition style)
Set the font text line style for characters
If the parameter
style is REGULAR, the font text line style
setting for characters will be removed. |
Constructor and Description |
---|
Font(String fontFamilyName,
StyleTypeDefinitions.FontStyle simpleFontStyle,
double fontSize,
Color color,
StyleTypeDefinitions.TextLinePosition textLinePosition)
Create a font with specific family name, style, size, front color and line position
|
Font(String fontFamilyName,
StyleTypeDefinitions.FontStyle simpleFontStyle,
double fontSize,
Color color,
StyleTypeDefinitions.TextLinePosition textLinePosition,
Locale language)
Create a font with specific family name, style, size, color, and line position for a
specific character.
|
Font(String fontFamilyName,
StyleTypeDefinitions.FontStyle simpleFontStyle,
double fontSize,
StyleTypeDefinitions.TextLinePosition textLinePosition)
Create a font with specific family name, font style, size and line position.
|
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.