Uses of Class
org.odftoolkit.odfdom.incubator.search.InvalidNavigationException
Packages that use InvalidNavigationException
Package
Description
Provide classes to operate the content and style of the selected text content.
-
Uses of InvalidNavigationException in org.odftoolkit.odfdom.incubator.search
Methods in org.odftoolkit.odfdom.incubator.search that throw InvalidNavigationExceptionModifier and TypeMethodDescriptionvoidAdd a hypertext reference to the selectionvoidTextSelection.applyStyle(OdfStyleBase style) Apply a style to the selection so that the text style of this selection will append the specified styleabstract voidSelection.cut()cut the current selectionvoidTextSelection.cut()Delete the selection from the document the other matched selection in the same container element will be updated automatically because the start index of the following selections will be changed when the previous selection has been deletedabstract 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.voidTextSelection.replaceWith(String newText) Replace the text content of selection with a new string