21#include <document.hxx>
34 pPrintRanges(pDoc->CreatePrintRangeSaver())
37 if (pOldDBColl && !pOldDBColl->
empty())
41 if (pOldRanges && !pOldRanges->
empty())
51 if (pOldDetOp && pOldDetOp->
Count())
60 const_cast<ScDocument*
>(pDoc)->BeginUnoRefUndo();
85 if ( pNewRanges && *
pRangeName == *pNewRanges )
114 if ( pNewChartListenerCollection &&
static std::unique_ptr< ScAreaLinkSaveCollection > CreateFromDoc(const ScDocument *pDoc)
SC_DLLPUBLIC size_t GetCount() const
void SetRangeName(SCTAB nTab, std::unique_ptr< ScRangeName > pNew)
ScDetOpList * GetDetOpList() const
SC_DLLPUBLIC ScChartListenerCollection * GetChartListenerCollection() const
void SetChartListenerCollection(std::unique_ptr< ScChartListenerCollection >, bool bSetChartRangeLists)
void RestorePrintRanges(const ScPrintRangeSaver &rSaver)
void SetAllFormulasDirty(const sc::SetFormulaDirtyContext &rCxt)
void SetDetOpList(std::unique_ptr< ScDetOpList > pNew)
bool HasUnoRefUndo() const
SC_DLLPUBLIC ScDBCollection * GetDBCollection() const
SC_DLLPUBLIC ScRangeName * GetRangeName(SCTAB nTab) const
std::unique_ptr< ScPrintRangeSaver > CreatePrintRangeSaver() const
void SetDBCollection(std::unique_ptr< ScDBCollection > pNewDBCollection, bool bRemoveAutoFilter=false)
SC_DLLPUBLIC ScDPCollection * GetDPCollection()
std::unique_ptr< ScRangeName > pRangeName
void DoUndo(ScDocument *pDoc, bool bUndoRefFirst)
std::unique_ptr< ScUnoRefList > pUnoRefs
std::unique_ptr< ScChartListenerCollection > pChartListenerCollection
ScRefUndoData(const ScDocument *pDoc)
void DeleteUnchanged(const ScDocument *pDoc)
std::unique_ptr< ScDPCollection > pDPCollection
std::unique_ptr< ScAreaLinkSaveCollection > pAreaLinks
std::unique_ptr< ScDetOpList > pDetOpList
std::unique_ptr< ScDBCollection > pDBCollection
std::unique_ptr< ScPrintRangeSaver > pPrintRanges
Temporarily switch on/off auto calculation mode.