| Package | Description |
|---|---|
| org.odftoolkit.simple.common.navigation |
Provide classes to operate the content and style of the selected text content.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TextNavigation
A derived
Navigation class used to navigate the text content, which can search the
document and find the matched text and return TextSelection instance. |
class |
TextStyleNavigation
A derived
Navigation class used to navigate the text content, which can search the
document and find matched style properties and return TextSelection instance(s). |
| Modifier and Type | Field and Description |
|---|---|
protected Navigation |
Selection.search |
| Modifier and Type | Method and Description |
|---|---|
Navigation |
Selection.getNavigation() |
| Modifier and Type | Method and Description |
|---|---|
static TextSelection |
TextSelection.newTextSelection(Navigation search,
String text,
OdfElement containerElement,
int index)
Create a new
TextSelection. |
Copyright © 2010–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.