LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::DocumentStateManager Class Reference

#include <DocumentStateManager.hxx>

Inheritance diagram for sw::DocumentStateManager:
[legend]
Collaboration diagram for sw::DocumentStateManager:
[legend]

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
 
void SetLoaded () override
 

Private Member Functions

 DocumentStateManager (DocumentStateManager const &)=delete
 
DocumentStateManageroperator= (DocumentStateManager const &)=delete
 

Private Attributes

SwDocm_rDoc
 
bool mbEnableSetModified
 
bool mbModified
 
bool mbUpdateExpField
 
bool mbNewDoc
 
bool mbInCallModified
 

Additional Inherited Members

- Protected Member Functions inherited from IDocumentState
virtual ~IDocumentState ()
 

Detailed Description

Definition at line 30 of file DocumentStateManager.hxx.

Constructor & Destructor Documentation

sw::DocumentStateManager::DocumentStateManager ( SwDoc i_rSwdoc)

Definition at line 30 of file DocumentStateManager.cxx.

sw::DocumentStateManager::DocumentStateManager ( DocumentStateManager const &  )
privatedelete

Member Function Documentation

bool sw::DocumentStateManager::IsEnableSetModified ( ) const
overridevirtual

Implements IDocumentState.

Definition at line 81 of file DocumentStateManager.cxx.

References mbEnableSetModified.

Referenced by SetModified().

bool sw::DocumentStateManager::IsInCallModified ( ) const
overridevirtual

Implements IDocumentState.

Definition at line 91 of file DocumentStateManager.cxx.

References mbInCallModified.

bool sw::DocumentStateManager::IsModified ( ) const
overridevirtual

Changes of document?

Implements IDocumentState.

Definition at line 76 of file DocumentStateManager.cxx.

References mbModified.

bool sw::DocumentStateManager::IsNewDoc ( ) const
overridevirtual

Implements IDocumentState.

Definition at line 101 of file DocumentStateManager.cxx.

References mbNewDoc.

bool sw::DocumentStateManager::IsUpdateExpField ( ) const
overridevirtual

Implements IDocumentState.

Definition at line 96 of file DocumentStateManager.cxx.

References mbUpdateExpField.

DocumentStateManager& sw::DocumentStateManager::operator= ( DocumentStateManager const &  )
privatedelete
void sw::DocumentStateManager::ResetModified ( )
overridevirtual
void sw::DocumentStateManager::SetEnableSetModified ( bool  bEnableSetModified)
overridevirtual

Implements IDocumentState.

Definition at line 86 of file DocumentStateManager.cxx.

References mbEnableSetModified.

void sw::DocumentStateManager::SetLoaded ( )
overridevirtual

Implements IDocumentState.

Definition at line 116 of file DocumentStateManager.cxx.

void sw::DocumentStateManager::SetModified ( )
overridevirtual
void sw::DocumentStateManager::SetNewDoc ( bool  b)
overridevirtual

Implements IDocumentState.

Definition at line 106 of file DocumentStateManager.cxx.

References mbNewDoc.

void sw::DocumentStateManager::SetUpdateExpFieldStat ( bool  b)
overridevirtual

Implements IDocumentState.

Definition at line 111 of file DocumentStateManager.cxx.

References mbUpdateExpField.

Member Data Documentation

SwDoc& sw::DocumentStateManager::m_rDoc
private

Definition at line 53 of file DocumentStateManager.hxx.

Referenced by ResetModified(), and SetModified().

bool sw::DocumentStateManager::mbEnableSetModified
private

Definition at line 55 of file DocumentStateManager.hxx.

Referenced by IsEnableSetModified(), and SetEnableSetModified().

bool sw::DocumentStateManager::mbInCallModified
private

Definition at line 59 of file DocumentStateManager.hxx.

Referenced by IsInCallModified(), ResetModified(), and SetModified().

bool sw::DocumentStateManager::mbModified
private

Definition at line 56 of file DocumentStateManager.hxx.

Referenced by IsModified(), ResetModified(), and SetModified().

bool sw::DocumentStateManager::mbNewDoc
private

Definition at line 58 of file DocumentStateManager.hxx.

Referenced by IsNewDoc(), and SetNewDoc().

bool sw::DocumentStateManager::mbUpdateExpField
private

Definition at line 57 of file DocumentStateManager.hxx.

Referenced by IsUpdateExpField(), and SetUpdateExpFieldStat().


The documentation for this class was generated from the following files: