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:

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

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 &  )

◆ AutoCalcSwitch() [2/3]

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

◆ 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 &&  )

◆ operator=() [2/2]

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

Member Data Documentation

◆ mbOldValue

bool sc::AutoCalcSwitch::mbOldValue

Definition at line 29 of file scopetools.hxx.

Referenced by ~AutoCalcSwitch().

◆ mrDoc

ScDocument& sc::AutoCalcSwitch::mrDoc

Definition at line 28 of file scopetools.hxx.

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

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