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 26 of file scopetools.hxx.

Constructor & Destructor Documentation

◆ AutoCalcSwitch() [1/3]

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

◆ AutoCalcSwitch() [2/3]

sc::AutoCalcSwitch::AutoCalcSwitch ( AutoCalcSwitch &&  )
privatedelete

◆ AutoCalcSwitch() [3/3]

sc::AutoCalcSwitch::AutoCalcSwitch ( ScDocument rDoc,
bool  bAutoCalc 
)

Definition at line 16 of file scopetools.cxx.

References mrDoc, and ScDocument::SetAutoCalc().

◆ ~AutoCalcSwitch()

sc::AutoCalcSwitch::~AutoCalcSwitch ( )

Definition at line 22 of file scopetools.cxx.

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ mbOldValue

bool sc::AutoCalcSwitch::mbOldValue
private

Definition at line 29 of file scopetools.hxx.

Referenced by ~AutoCalcSwitch().

◆ mrDoc

ScDocument& sc::AutoCalcSwitch::mrDoc
private

Definition at line 28 of file scopetools.hxx.

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


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