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

◆ createGrammarContact()

IGrammarContact * createGrammarContact ( )

Factory for a grammar contact.

Returns
a new created grammar contact object

Definition at line 178 of file SwGrammarContact.cxx.

◆ finishGrammarCheck()

void finishGrammarCheck ( SwTextNode rTextNode)

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

Returns
void

Definition at line 183 of file SwGrammarContact.cxx.

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

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

◆ getGrammarContact()

IGrammarContact * getGrammarContact ( const SwTextNode rTextNode)

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

Returns
grammar contact

Definition at line 806 of file docnew.cxx.

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

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