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

#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
 
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
 
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 29 of file DocumentStateManager.hxx.

Constructor & Destructor Documentation

◆ DocumentStateManager() [1/2]

sw::DocumentStateManager::DocumentStateManager ( SwDoc i_rSwdoc)

Definition at line 29 of file DocumentStateManager.cxx.

References mbModified.

◆ DocumentStateManager() [2/2]

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

Member Function Documentation

◆ IsEnableSetModified()

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

Implements IDocumentState.

Definition at line 80 of file DocumentStateManager.cxx.

References mbEnableSetModified.

Referenced by SetModified().

◆ IsInCallModified()

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

Implements IDocumentState.

Definition at line 90 of file DocumentStateManager.cxx.

References mbInCallModified.

◆ IsModified()

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

Changes of document?

Implements IDocumentState.

Definition at line 75 of file DocumentStateManager.cxx.

References mbModified.

◆ IsNewDoc()

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

Implements IDocumentState.

Definition at line 100 of file DocumentStateManager.cxx.

References mbNewDoc.

◆ IsUpdateExpField()

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

Implements IDocumentState.

Definition at line 95 of file DocumentStateManager.cxx.

References mbUpdateExpField.

◆ operator=()

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

◆ ResetModified()

void sw::DocumentStateManager::ResetModified ( )
overridevirtual

◆ SetEnableSetModified()

void sw::DocumentStateManager::SetEnableSetModified ( bool  bEnableSetModified)
overridevirtual

Implements IDocumentState.

Definition at line 85 of file DocumentStateManager.cxx.

References mbEnableSetModified.

◆ SetModified()

void sw::DocumentStateManager::SetModified ( )
overridevirtual

◆ SetNewDoc()

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

Implements IDocumentState.

Definition at line 105 of file DocumentStateManager.cxx.

References mbNewDoc.

◆ SetUpdateExpFieldStat()

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

Implements IDocumentState.

Definition at line 110 of file DocumentStateManager.cxx.

References mbUpdateExpField.

Member Data Documentation

◆ m_rDoc

SwDoc& sw::DocumentStateManager::m_rDoc
private

Definition at line 51 of file DocumentStateManager.hxx.

Referenced by ResetModified(), and SetModified().

◆ mbEnableSetModified

bool sw::DocumentStateManager::mbEnableSetModified
private

Definition at line 53 of file DocumentStateManager.hxx.

Referenced by IsEnableSetModified(), and SetEnableSetModified().

◆ mbInCallModified

bool sw::DocumentStateManager::mbInCallModified
private

Definition at line 57 of file DocumentStateManager.hxx.

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

◆ mbModified

bool sw::DocumentStateManager::mbModified
private

Definition at line 54 of file DocumentStateManager.hxx.

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

◆ mbNewDoc

bool sw::DocumentStateManager::mbNewDoc
private

Definition at line 56 of file DocumentStateManager.hxx.

Referenced by IsNewDoc(), and SetNewDoc().

◆ mbUpdateExpField

bool sw::DocumentStateManager::mbUpdateExpField
private

Definition at line 55 of file DocumentStateManager.hxx.

Referenced by IsUpdateExpField(), and SetUpdateExpFieldStat().


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