Uses of Class
org.odftoolkit.odfdom.incubator.search.Selection
Packages that use 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
Classes in org.odftoolkit.odfdom.incubator.search with type parameters of type SelectionModifier and TypeClassDescriptionclassNavigation<T extends Selection>Abstract class Navigation used to navigate the document and find the matched element by the user defined conditionsSubclasses of Selection in org.odftoolkit.odfdom.incubator.searchModifier and TypeClassDescriptionclassA TextSelection can describe a sub element in a mParagraph element or a mHeading element.Methods in org.odftoolkit.odfdom.incubator.search with parameters of type SelectionModifier and TypeMethodDescriptionabstract voidSelection.pasteAtEndOf(Selection positionitem) paste the current selection at end of the specified position selectionvoidTextSelection.pasteAtEndOf(Selection positionItem) Paste this selection just after a specific selection.abstract voidSelection.pasteAtFrontOf(Selection positionitem) paste the current selection at front of the specified position selectionvoidTextSelection.pasteAtFrontOf(Selection positionItem) Paste this selection just before a specific selection.voidSelectionManager.refreshAfterCut(Selection cutItem) Refresh the selections in repository after a item is cut.protected abstract voidSelection.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 voidTextSelection.refreshAfterFrontalDelete(Selection deleteItem) protected abstract voidSelection.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 voidTextSelection.refreshAfterFrontalInsert(Selection pasteItem) voidSelectionManager.refreshAfterPasteAtEndOf(Selection item, Selection positionItem) Refresh the selections in repository after a pastedAtEndOf operation is called.voidSelectionManager.refreshAfterPasteAtFrontOf(Selection item, Selection positionItem) Refresh the selections in repository after a pastedAtFrontOf operation is called.voidSelectionManager.registerItem(Selection item) Register the selection itemvoidSelectionManager.unregisterItem(Selection item) Remove the selection from repository.