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 TypeMethodDescriptionvoid
Add a hypertext reference to the selectionvoid
TextSelection.applyStyle
(OdfStyleBase style) Apply a style to the selection so that the text style of this selection will append the specified styleabstract void
Selection.cut()
cut the current selectionvoid
TextSelection.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 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
TextSelection.replaceWith
(String newText) Replace the text content of selection with a new string