diff options
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/acmplwrd.hxx | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sw/inc/acmplwrd.hxx b/sw/inc/acmplwrd.hxx index 72421c384c7b..8e0dd750141a 100644 --- a/sw/inc/acmplwrd.hxx +++ b/sw/inc/acmplwrd.hxx @@ -79,7 +79,21 @@ public: void CheckChangedList(const editeng::SortedAutoCompleteStrings& rNewLst); - bool GetWordsMatching(String aMatch, std::vector<String>& aWords) const; + // Resets the current position within the tree to its root node. + void returnToRoot(); + + // Advances to a given node within the AutoComplete tree. + void gotoNode(OUString sNode); + + // Advances from the current position towards the node keyed with cKey. + void advance(const sal_Unicode cKey); + + // Goes back one char within the tree, except if the current node is already the root node. + void goBack(); + + // Returns all words matching a given prefix aMatch. If bIgnoreCurrentPos is set, the current + // position within the tree is ignored and replaced by aMatch. + bool GetWordsMatching(String aMatch, std::vector<String>& aWords, sal_Bool bIgnoreCurrentPos) const; }; |