| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static ConditionField |
Fields.createConditionField(OdfElement odfElement,
String condition,
String trueText,
String falseText)
Declare a condition field, which specifies a condition for display of one text string or
another.
|
static ConditionField |
Fields.createHiddenTextField(OdfElement odfElement,
String condition,
String text)
Declare a hidden text field, which hides the text it contains when a specified condition is
true.
|
| Modifier and Type | Method and Description |
|---|---|
ConditionField |
FieldSelection.replaceWithConditionField(String condition,
String trueText,
String falseText)
Replace the content with a condition field.
|
ConditionField |
FieldSelection.replaceWithHiddenTextField(String condition,
String text)
Replace the content with a hidden text field.
|
Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.