24#include <sfx2/sfxsids.hrc> 
   27#include <osl/diagnose.h> 
   29#include <com/sun/star/frame/XModel.hpp> 
   31#define SC_PROGRESS_CXX 
   33#include <document.hxx> 
   56                pItem && pItem->GetValue())
 
   67        return xModel->hasControllersLocked();
 
   72                       sal_uInt64 nRange, 
bool bWait)
 
   85            OSL_FAIL( 
"ScProgress: there can be only one!" );
 
   97    else if ( pObjSh && ( pObjSh->
GetCreateMode() == SfxObjectCreateMode::EMBEDDED ||
 
  146                ScResId( STR_PROGRESS_CALCULATING ),
 
SfxApplication * SfxGetpApp()
 
sal_uInt64 GetFormulaCodeInTree() const
 
bool IsIdleEnabled() const
 
SC_DLLPUBLIC bool GetAutoCalc() const
 
void EnableIdle(bool bDo)
 
SfxObjectShell * GetDocumentShell() const
 
static sal_uInt64 nGlobalRange
 
static sal_uInt64 nGlobalPercent
 
ScProgress(const ScProgress &)=delete
 
static ScDocument * pInterpretDoc
 
static SfxProgress * pGlobalProgress
 
static void DeleteInterpretProgress()
 
std::unique_ptr< SfxProgress > pProgress
 
static bool bIdleWasEnabled
 
static void CreateInterpretProgress(ScDocument *pDoc, bool bWait=true)
 
static sal_uInt64 nInterpretProgress
 
static ScProgress * pInterpretProgress
 
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
 
SfxItemSet & GetItemSet() const
 
SfxProgress * GetProgress() const
 
SfxMedium * GetMedium() const
 
css::uno::Reference< css::frame::XModel3 > GetBaseModel() const
 
SfxObjectCreateMode GetCreateMode() const
 
static SfxProgress * GetActiveProgress(SfxObjectShell const *pDocSh=nullptr)
 
static bool lcl_HasControllersLocked(const SfxObjectShell &rObjSh)
 
static bool lcl_IsHiddenDocument(const SfxObjectShell *pObjSh)
 
static ScProgress theDummyInterpretProgress
 
#define MIN_NO_CODES_PER_PROGRESS_UPDATE
 
OUString ScResId(TranslateId aId)
 
Reference< XModel > xModel