Package | Description |
---|---|
org.odftoolkit.simple |
Provide high level methods to frequently used ODF documents
|
org.odftoolkit.simple.common.field |
Provide convenient methods to manipulate Fields in ODF text document
|
org.odftoolkit.simple.common.navigation |
Provide classes to operate the content and style of the selected text content.
|
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 |
---|---|
VariableField |
TextDocument.declareVariable(String name,
VariableField.VariableType type) |
VariableField |
TextDocument.getVariableFieldByName(String name) |
Modifier and Type | Method and Description |
---|---|
static VariableField |
Fields.createSimpleVariableField(VariableContainer container,
String name)
Declare a simple variable field.
|
static VariableField |
Fields.createUserVariableField(VariableContainer container,
String name,
String value)
Declare a user variable field.
|
VariableField |
VariableContainer.declareVariable(String name,
VariableField.VariableType type)
Declare a new variable field to this container.
|
VariableField |
AbstractVariableContainer.declareVariable(String name,
VariableField.VariableType type) |
VariableField |
VariableContainer.getVariableFieldByName(String name)
Return the declared variable by name.
|
VariableField |
AbstractVariableContainer.getVariableFieldByName(String name) |
Modifier and Type | Method and Description |
---|---|
void |
FieldSelection.replaceWithVariableField(VariableField field)
Replace the content with a variable field.
|
Modifier and Type | Method and Description |
---|---|
VariableField |
Header.declareVariable(String name,
VariableField.VariableType type) |
VariableField |
Footer.declareVariable(String name,
VariableField.VariableType type) |
VariableField |
Header.getVariableFieldByName(String name) |
VariableField |
Footer.getVariableFieldByName(String name) |
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.