LibreOffice Module sw (master)
1
|
Organizer of the contact between SwTextNodes and grammar checker. More...
#include <IGrammarContact.hxx>
Public Member Functions | |
virtual void | updateCursorPosition (const SwPosition &rNewPos)=0 |
Update cursor position reacts to a change of the current input cursor As long as the cursor in inside a paragraph, the grammar checking does not show new grammar faults. More... | |
virtual SwGrammarMarkUp * | getGrammarCheck (SwTextNode &rTextNode, bool bCreate)=0 |
getGrammarCheck checks if the given text node is blocked by the current cursor if not, the normal markup list is returned if blocked, it will return a markup list "proxy" More... | |
virtual void | finishGrammarCheck (SwTextNode &rTextNode)=0 |
finishGrammarCheck() has to be called if a grammar checking has been completed for a text node. More... | |
virtual | ~IGrammarContact () |
Organizer of the contact between SwTextNodes and grammar checker.
Definition at line 29 of file IGrammarContact.hxx.
|
inlinevirtual |
Definition at line 56 of file IGrammarContact.hxx.
|
pure virtual |
finishGrammarCheck() has to be called if a grammar checking has been completed for a text node.
If this text node has not been hidden by the current proxy list it will be repainted. Otherwise the proxy list replaces the old list and the repaint will be triggered by a timer
Referenced by finishGrammarCheck().
|
pure virtual |
getGrammarCheck checks if the given text node is blocked by the current cursor if not, the normal markup list is returned if blocked, it will return a markup list "proxy"
Referenced by SwXTextMarkup::commitMultiTextMarkup(), SwXTextMarkup::commitStringMarkup(), and lcl_SetWrong().
|
pure virtual |
Update cursor position reacts to a change of the current input cursor As long as the cursor in inside a paragraph, the grammar checking does not show new grammar faults.
When the cursor leaves the paragraph, these faults are shown.
Referenced by SwCursorShell::UpdateCursorPos().