| Package | Description |
|---|---|
| org.odftoolkit.odfdom.incubator.search |
Provide classes to operate the content and style of the selected text content.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TextSelection
A TextSelection can describe a sub element in a mParagraph element or a mHeading element.
|
| Modifier and Type | Method and Description |
|---|---|
Selection |
TextNavigation.getCurrentItem() |
abstract Selection |
Navigation.getCurrentItem()
get the current Selection result
|
Selection |
TextStyleNavigation.getCurrentItem() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Selection.pasteAtEndOf(Selection positionitem)
paste the current selection at end of the specified position selection
|
void |
TextSelection.pasteAtEndOf(Selection positionItem)
Paste this selection just after a specific selection.
|
abstract void |
Selection.pasteAtFrontOf(Selection positionitem)
paste the current selection at front of the specified position selection
|
void |
TextSelection.pasteAtFrontOf(Selection positionItem)
Paste this selection just before a specific selection.
|
protected abstract void |
Selection.refreshAfterFrontalDelete(Selection deleteditem)
when a selected item has been delete, the selections after this deleted selection should be
refresh because these selections mIndex will be changed
|
protected void |
TextSelection.refreshAfterFrontalDelete(Selection deleteItem) |
protected abstract void |
Selection.refreshAfterFrontalInsert(Selection inserteditem)
when a selected item has been inserted, the selection after the inserted item should be refresh
because these selections mIndex will be changed
|
protected void |
TextSelection.refreshAfterFrontalInsert(Selection pasteItem) |
Copyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2020 The Document Foundation. All rights reserved.