LibreOffice Module sw (master)  1
Classes | Functions
IGrammarContact.hxx File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IGrammarContact
 Organizer of the contact between SwTextNodes and grammar checker. More...
 

Functions

IGrammarContactcreateGrammarContact ()
 Factory for a grammar contact. More...
 
IGrammarContactgetGrammarContact (const SwTextNode &)
 getGrammarContact() delivers the grammar contact of the document (for a given textnode) More...
 
void finishGrammarCheck (SwTextNode &)
 finishGrammarCheck() calls the same function of the grammar contact of the document (for a given textnode) More...
 

Function Documentation

IGrammarContact* createGrammarContact ( )

Factory for a grammar contact.

Returns
a new created grammar contact object

Definition at line 176 of file SwGrammarContact.cxx.

void finishGrammarCheck ( SwTextNode )

finishGrammarCheck() calls the same function of the grammar contact of the document (for a given textnode)

Returns
void

Definition at line 181 of file SwGrammarContact.cxx.

References IGrammarContact::finishGrammarCheck(), and getGrammarContact().

Referenced by SwXTextMarkup::commitMultiTextMarkup(), SwXTextMarkup::commitStringMarkup(), and SwXFlatParagraph::setChecked().

IGrammarContact* getGrammarContact ( const SwTextNode )

getGrammarContact() delivers the grammar contact of the document (for a given textnode)

Returns
grammar contact

Definition at line 797 of file docnew.cxx.

References SwNode::GetDoc(), SwDoc::getGrammarContact(), and SwDoc::IsInDtor().

Referenced by SwXTextMarkup::commitMultiTextMarkup(), SwXTextMarkup::commitStringMarkup(), finishGrammarCheck(), and lcl_SetWrong().