Package | Description |
---|---|
org.odftoolkit.simple |
Provide high level methods to frequently used ODF documents
|
org.odftoolkit.simple.style |
Provide convenient methods to handle style definitions in ODF document.
|
org.odftoolkit.simple.table |
Provide convenient methods to manipulate table in ODF text and spreadsheet document.
|
org.odftoolkit.simple.text |
Provide convenient methods to manipulate frequently used structures in ODF text document, such as list and section.
|
Modifier and Type | Method and Description |
---|---|
static Document.ScriptType |
Document.getScriptType(Locale locale) |
static Document.ScriptType |
Document.ScriptType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.ScriptType[] |
Document.ScriptType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Locale |
Document.getLocale(Document.ScriptType scriptType)
Get a locale information of a specific script type.
|
void |
Document.setLocale(Locale locale,
Document.ScriptType scriptType)
Set a locale of a specific script type.
|
Modifier and Type | Method and Description |
---|---|
String |
TextProperties.getCountry(Document.ScriptType type)
Return the country information for a specific script type
Null will be returned if there is no country information for this script
type.
|
Font |
TextProperties.getFont(Document.ScriptType type)
Return the font definition for a specific script type
Null will be returned if there is no font definition for this script
type.
|
String |
TextProperties.getFontFamilyName(Document.ScriptType type)
Return the font family name for a specific script type
Null will be returned if there is no font family name definition for this
script type.
|
String |
TextProperties.getFontName(Document.ScriptType type)
Return the font name for a specific script type
Null will be returned if there is no font name setting for this script
type.
|
double |
TextProperties.getFontSizeInPoint(Document.ScriptType type)
Return the font size definition in measurement point(PT) for a specific
script type.
|
StyleTypeDefinitions.FontStyle |
TextProperties.getFontStyle(Document.ScriptType type)
Return the font style for a specific script type
REGULAR will be returned if there is no font style setting for this
script type.
|
String |
TextProperties.getLanguage(Document.ScriptType type)
Return the language information for a specific script type
Null will be returned if there is no language information for this script
type.
|
void |
TextProperties.setCountry(String country,
Document.ScriptType type)
Set the country information for a specific script type.
|
void |
TextProperties.setFontName(String fontName,
Document.ScriptType type)
Set the font name for a specific script type
If the parameter
fontName is null, the font name for this
script type will be removed. |
void |
TextProperties.setFontSizeInPoint(double size,
Document.ScriptType type)
Set the font size in measurement point(PT) for a specific script type.
|
void |
TextProperties.setFontStyle(StyleTypeDefinitions.FontStyle style,
Document.ScriptType type)
Set the font style for a specific script type
If the parameter
style is REGULAR, the font style setting
for this script type will be removed. |
void |
TextProperties.setLanguage(String language,
Document.ScriptType type)
Set the language information for a specific script type
The consistency between country and script type is not verified.
|
Modifier and Type | Method and Description |
---|---|
String |
CellStyleHandler.getCountry(Document.ScriptType type)
Return the country information for a specific script type
The country information in its parent style and default style will be
taken into considered.
|
Font |
CellStyleHandler.getFont(Document.ScriptType type)
Return the font definition for a specific script type.
|
String |
CellStyleHandler.getLanguage(Document.ScriptType type)
Return the language information for a specific script type
The language definition in its parent style and default style will be
taken into considered.
|
void |
CellStyleHandler.setCountry(String country,
Document.ScriptType type)
Set the country information for a specific script type
The consistency between country and script type is not verified.
|
void |
CellStyleHandler.setLanguage(String language,
Document.ScriptType type)
Set the language information for a specific script type
If the parameter
language is null, the language information
for this script type will be removed. |
Modifier and Type | Method and Description |
---|---|
String |
ParagraphStyleHandler.getCountry(Document.ScriptType type)
Return the country information for a specific script type
The country information in its parent style and default style will be
taken into considered.
|
Font |
ParagraphStyleHandler.getFont(Document.ScriptType type)
Return the font definition for a specific script type.
|
String |
ParagraphStyleHandler.getLanguage(Document.ScriptType type)
Return the language information for a specific script type
The language definition in its parent style and default style will be
taken into considered.
|
void |
ParagraphStyleHandler.setCountry(String country,
Document.ScriptType type)
Set the country information for a specific script type
The consistency between country and script type is not verified.
|
void |
ParagraphStyleHandler.setLanguage(String language,
Document.ScriptType type)
Set the language information for a specific script type
If the parameter
language is null, the language information
for this script type will be removed. |
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.