Package | Description |
---|---|
org.odftoolkit.simple.style |
Provide convenient methods to handle style definitions in ODF document.
|
Modifier and Type | Method and Description |
---|---|
StyleTypeDefinitions.FontStyle |
TextProperties.getFontStyle()
Return the font style for western characters
|
StyleTypeDefinitions.FontStyle |
Font.getFontStyle()
Get the font style
|
StyleTypeDefinitions.FontStyle |
TextProperties.getFontStyle(Document.ScriptType type)
Return the font style for a specific script type
|
static StyleTypeDefinitions.FontStyle |
StyleTypeDefinitions.FontStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StyleTypeDefinitions.FontStyle[] |
StyleTypeDefinitions.FontStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
TextProperties.setFontStyle(StyleTypeDefinitions.FontStyle style)
Set the font style for western characters
|
void |
Font.setFontStyle(StyleTypeDefinitions.FontStyle simpleFontStyle)
Set the font style
|
void |
TextProperties.setFontStyle(StyleTypeDefinitions.FontStyle style,
Document.ScriptType type)
Set the font style for a specific script type
|
Constructor and Description |
---|
Font(String fontFamilyName,
StyleTypeDefinitions.FontStyle simpleFontStyle,
double fontSize)
Create a font with specific family name, font style, and size.
|
Font(String fontFamilyName,
StyleTypeDefinitions.FontStyle simpleFontStyle,
double fontSize,
Color color)
Create a font with specific family name, style, size, and front color.
|
Font(String fontFamilyName,
StyleTypeDefinitions.FontStyle simpleFontStyle,
double fontSize,
Color color,
Locale language)
Create a font with specific family name, style, size, and color for a
specific character.
|
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,
Locale language)
Create a font with specific family name, style, size 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-2014 The Apache Software Foundation. All Rights Reserved.