Class TextNavigation

  • All Implemented Interfaces:
    Iterator<TextSelection>

    public class TextNavigation
    extends Navigation<TextSelection>
    A derived Navigation class used for navigate the text content it is used to search the document and find the matched text and would return TextSelection instance
    • Constructor Detail

      • TextNavigation

        public TextNavigation​(String pattern,
                              OdfTextDocument doc)
        Construct TextNavigation with matched condition and navigation scope
        Parameters:
        pattern - the matched pattern String
        doc - the navigation scope
      • TextNavigation

        public TextNavigation​(Pattern pattern,
                              OdfTextDocument doc)
        Construct TextNavigation with matched condition and navigation scope
        Parameters:
        pattern - the Pattern object to search with
        doc - the navigation scope