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

Temporarily switch on/off auto calculation mode. More...

#include <scopetools.hxx>

Collaboration diagram for sc::AutoCalcSwitch:
[legend]

Public Member Functions

 AutoCalcSwitch (ScDocument &rDoc, bool bAutoCalc)
 
 ~AutoCalcSwitch ()
 

Private Member Functions

 AutoCalcSwitch (AutoCalcSwitch const &)=delete
 
 AutoCalcSwitch (AutoCalcSwitch &&)=delete
 
AutoCalcSwitchoperator= (AutoCalcSwitch const &)=delete
 
AutoCalcSwitchoperator= (AutoCalcSwitch &&)=delete
 

Private Attributes

ScDocumentmrDoc
 
bool mbOldValue
 

Detailed Description

Temporarily switch on/off auto calculation mode.

Definition at line 24 of file scopetools.hxx.

Constructor & Destructor Documentation

sc::AutoCalcSwitch::AutoCalcSwitch ( AutoCalcSwitch const &  )
privatedelete
sc::AutoCalcSwitch::AutoCalcSwitch ( AutoCalcSwitch &&  )
privatedelete
sc::AutoCalcSwitch::AutoCalcSwitch ( ScDocument rDoc,
bool  bAutoCalc 
)

Definition at line 17 of file scopetools.cxx.

References mrDoc, and ScDocument::SetAutoCalc().

sc::AutoCalcSwitch::~AutoCalcSwitch ( )

Definition at line 23 of file scopetools.cxx.

References mbOldValue, mrDoc, and ScDocument::SetAutoCalc().

Member Function Documentation

AutoCalcSwitch& sc::AutoCalcSwitch::operator= ( AutoCalcSwitch const &  )
privatedelete
AutoCalcSwitch& sc::AutoCalcSwitch::operator= ( AutoCalcSwitch &&  )
privatedelete

Member Data Documentation

bool sc::AutoCalcSwitch::mbOldValue
private

Definition at line 27 of file scopetools.hxx.

Referenced by ~AutoCalcSwitch().

ScDocument& sc::AutoCalcSwitch::mrDoc
private

Definition at line 26 of file scopetools.hxx.

Referenced by AutoCalcSwitch(), and ~AutoCalcSwitch().


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