LibreOffice Module sw (master) 1
|
#include <DocumentStateManager.hxx>
Public Member Functions | |
DocumentStateManager (SwDoc &i_rSwdoc) | |
void | SetModified () override |
Must be called manually at changes of format. More... | |
void | ResetModified () override |
bool | IsModified () const override |
Changes of document? More... | |
bool | IsEnableSetModified () const override |
void | SetEnableSetModified (bool bEnableSetModified) override |
bool | IsInCallModified () const override |
bool | IsUpdateExpField () const override |
bool | IsNewDoc () const override |
void | SetNewDoc (bool b) override |
void | SetUpdateExpFieldStat (bool b) override |
virtual void | SetModified ()=0 |
Must be called manually at changes of format. More... | |
virtual void | ResetModified ()=0 |
virtual bool | IsModified () const =0 |
Changes of document? More... | |
virtual bool | IsInCallModified () const =0 |
virtual bool | IsUpdateExpField () const =0 |
virtual bool | IsNewDoc () const =0 |
virtual void | SetNewDoc (bool b)=0 |
virtual void | SetUpdateExpFieldStat (bool b)=0 |
virtual bool | IsEnableSetModified () const =0 |
virtual void | SetEnableSetModified (bool bEnableSetModified)=0 |
Private Member Functions | |
DocumentStateManager (DocumentStateManager const &)=delete | |
DocumentStateManager & | operator= (DocumentStateManager const &)=delete |
Private Attributes | |
SwDoc & | m_rDoc |
bool | mbEnableSetModified |
bool | mbModified |
bool | mbUpdateExpField |
bool | mbNewDoc |
bool | mbInCallModified |
Additional Inherited Members | |
Protected Member Functions inherited from IDocumentState | |
virtual | ~IDocumentState () |
Definition at line 29 of file DocumentStateManager.hxx.
sw::DocumentStateManager::DocumentStateManager | ( | SwDoc & | i_rSwdoc | ) |
Definition at line 29 of file DocumentStateManager.cxx.
References mbModified.
|
privatedelete |
|
overridevirtual |
Implements IDocumentState.
Definition at line 80 of file DocumentStateManager.cxx.
References mbEnableSetModified.
Referenced by SetModified().
|
overridevirtual |
Implements IDocumentState.
Definition at line 90 of file DocumentStateManager.cxx.
References mbInCallModified.
|
overridevirtual |
Changes of document?
Implements IDocumentState.
Definition at line 75 of file DocumentStateManager.cxx.
References mbModified.
|
overridevirtual |
Implements IDocumentState.
Definition at line 100 of file DocumentStateManager.cxx.
References mbNewDoc.
|
overridevirtual |
Implements IDocumentState.
Definition at line 95 of file DocumentStateManager.cxx.
References mbUpdateExpField.
|
privatedelete |
|
overridevirtual |
Implements IDocumentState.
Definition at line 58 of file DocumentStateManager.cxx.
References Link< typename Arg, typename Ret >::Call(), SwDoc::GetDocumentStatisticsManager(), SwDoc::GetIDocumentUndoRedo(), SwDoc::GetOle2Link(), Link< typename Arg, typename Ret >::IsSet(), m_rDoc, mbInCallModified, mbModified, and sw::DocumentStatisticsManager::SetDocStatModified().
|
overridevirtual |
Implements IDocumentState.
Definition at line 85 of file DocumentStateManager.cxx.
References mbEnableSetModified.
|
overridevirtual |
Must be called manually at changes of format.
Implements IDocumentState.
Definition at line 39 of file DocumentStateManager.cxx.
References Link< typename Arg, typename Ret >::Call(), sw::DocumentLayoutManager::ClearSwLayouterEntries(), SwDoc::DeleteAutoCorrExceptWord(), SwDoc::GetAutoCorrExceptWord(), SwDoc::GetDocumentLayoutManager(), SwDoc::GetDocumentStatisticsManager(), SwDoc::GetOle2Link(), SwAutoCorrExceptWord::IsDeleted(), IsEnableSetModified(), Link< typename Arg, typename Ret >::IsSet(), m_rDoc, mbInCallModified, mbModified, and sw::DocumentStatisticsManager::SetDocStatModified().
|
overridevirtual |
Implements IDocumentState.
Definition at line 105 of file DocumentStateManager.cxx.
References mbNewDoc.
|
overridevirtual |
Implements IDocumentState.
Definition at line 110 of file DocumentStateManager.cxx.
References mbUpdateExpField.
|
private |
Definition at line 51 of file DocumentStateManager.hxx.
Referenced by ResetModified(), and SetModified().
|
private |
Definition at line 53 of file DocumentStateManager.hxx.
Referenced by IsEnableSetModified(), and SetEnableSetModified().
|
private |
Definition at line 57 of file DocumentStateManager.hxx.
Referenced by IsInCallModified(), ResetModified(), and SetModified().
|
private |
Definition at line 54 of file DocumentStateManager.hxx.
Referenced by IsModified(), ResetModified(), and SetModified().
|
private |
Definition at line 56 of file DocumentStateManager.hxx.
Referenced by IsNewDoc(), and SetNewDoc().
|
private |
Definition at line 55 of file DocumentStateManager.hxx.
Referenced by IsUpdateExpField(), and SetUpdateExpFieldStat().