11#include <document.hxx>
17 mrDoc(rDoc), mbOldValue(rDoc.GetAutoCalc())
28 mrDoc(rDoc), mbOldValue(rDoc.IsExpandRefs())
39 mrDoc(rDoc), mbOldValue(rDoc.IsUndoEnabled())
50 mrDoc(rDoc), mbOldValue(rDoc.IsIdleEnabled())
61 mrDoc(rDoc), mbOldValue(rDoc.IsDelayedFormulaGrouping())
77 : mColumn(column), mbOldValue(column.GetDoc().IsEnabledDelayStartListeningFormulaCells(&column))
83 : mColumn(column), mbOldValue(column.GetDoc().IsEnabledDelayStartListeningFormulaCells(&column))
89#if defined(__COVERITY__)
110 , mOldValue( mDoc.IsDelayedDeletingBroadcasters())
ScDocument & GetDoc() const
void EnableDelayStartListeningFormulaCells(ScColumn *column, bool delay)
If set, ScColumn::StartListeningFormulaCells() calls may be delayed using CanDelayStartListeningFormu...
void EnableDelayDeletingBroadcasters(bool set)
If set, cells will not delete their empty broadcasters, avoiding possible extensive mdds vector chang...
void SetExpandRefs(bool bVal)
SC_DLLPUBLIC void EnableUndo(bool bVal)
void DelayFormulaGrouping(bool delay)
If set, joining cells into shared formula groups will be delayed until reset again (RegroupFormulaCel...
void EnableIdle(bool bDo)
SC_DLLPUBLIC void SetAutoCalc(bool bNewAutoCalc)
AutoCalcSwitch(AutoCalcSwitch const &)=delete
DelayDeletingBroadcasters(ScDocument &doc)
~DelayDeletingBroadcasters()
ExpandRefsSwitch(ScDocument &rDoc, bool bExpandRefs)
IdleSwitch(ScDocument &rDoc, bool bEnableIdle)
UndoSwitch(ScDocument &rDoc, bool bUndo)
#define suppress_fun_call_w_exception(expr)
CAUTION! The following defines must be in the same namespace as the respective type.