Uses of Class
org.odftoolkit.odfdom.incubator.search.Selection
Package
Description
Provide classes to operate the content and style of the selected text content.
-
Uses of Selection in org.odftoolkit.odfdom.incubator.search
Modifier and TypeClassDescriptionclass
Navigation<T extends Selection>
Abstract class Navigation used to navigate the document and find the matched element by the user defined conditionsModifier and TypeClassDescriptionclass
A TextSelection can describe a sub element in a mParagraph element or a mHeading element. it is recognized by the container element(which type should be OdfTextParagraph or OdfTextHeadingt), the start index of the text content of the container element and the text content of this selection.Modifier and TypeMethodDescriptionabstract void
Selection.pasteAtEndOf
(Selection positionitem) paste the current selection at end of the specified position selectionvoid
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 selectionvoid
TextSelection.pasteAtFrontOf
(Selection positionItem) Paste this selection just before a specific selection.void
SelectionManager.refreshAfterCut
(Selection cutItem) Refresh the selections in repository after a item is cut.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 changedprotected 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 changedprotected void
TextSelection.refreshAfterFrontalInsert
(Selection pasteItem) void
SelectionManager.refreshAfterPasteAtEndOf
(Selection item, Selection positionItem) Refresh the selections in repository after a pastedAtEndOf operation is called.void
SelectionManager.refreshAfterPasteAtFrontOf
(Selection item, Selection positionItem) Refresh the selections in repository after a pastedAtFrontOf operation is called.void
SelectionManager.registerItem
(Selection item) Register the selection itemvoid
SelectionManager.unregisterItem
(Selection item) Remove the selection from repository.