LibreOffice Module sc (master) 1
|
#include <progress.hxx>
Public Member Functions | |
ScProgress (SfxObjectShell *pObjSh, const OUString &rText, sal_uInt64 nRange, bool bWait) | |
~ScProgress () | |
void | SetState (sal_uInt64 nVal, sal_uInt64 nNewRange=0) |
void | SetStateCountDown (sal_uInt64 nVal) |
void | SetStateOnPercent (sal_uInt64 nVal) |
void | SetStateCountDownOnPercent (sal_uInt64 nVal) |
sal_uInt64 | GetState () const |
bool | Enabled () const |
void | Disable () |
void | Enable () |
Static Public Member Functions | |
static void | CreateInterpretProgress (ScDocument *pDoc, bool bWait=true) |
static ScProgress * | GetInterpretProgress () |
static void | DeleteInterpretProgress () |
Private Member Functions | |
ScProgress (const ScProgress &)=delete | |
ScProgress & | operator= (const ScProgress &)=delete |
Static Private Member Functions | |
static void | CalcGlobalPercent (sal_uInt64 nVal) |
Private Attributes | |
bool | bEnabled |
std::unique_ptr< SfxProgress > | pProgress |
Static Private Attributes | |
static SfxProgress * | pGlobalProgress = nullptr |
static sal_uInt64 | nGlobalRange = 0 |
static sal_uInt64 | nGlobalPercent = 0 |
static ScProgress * | pInterpretProgress = &theDummyInterpretProgress |
static sal_uInt64 | nInterpretProgress = 0 |
static ScDocument * | pInterpretDoc |
static bool | bIdleWasEnabled = false |
Definition at line 39 of file progress.hxx.
|
privatedelete |
Referenced by CreateInterpretProgress().
ScProgress::ScProgress | ( | SfxObjectShell * | pObjSh, |
const OUString & | rText, | ||
sal_uInt64 | nRange, | ||
bool | bWait | ||
) |
Definition at line 71 of file progress.cxx.
References SfxProgress::GetActiveProgress(), SfxObjectShell::GetCreateMode(), SfxObjectShell::GetProgress(), lcl_HasControllersLocked(), lcl_IsHiddenDocument(), nGlobalPercent, nGlobalRange, pGlobalProgress, pProgress, and SfxGetpApp().
ScProgress::~ScProgress | ( | ) |
Definition at line 121 of file progress.cxx.
References nGlobalPercent, nGlobalRange, pGlobalProgress, and pProgress.
|
inlinestaticprivate |
Definition at line 56 of file progress.hxx.
|
static |
Definition at line 132 of file progress.cxx.
References bIdleWasEnabled, ScDocument::EnableIdle(), ScDocument::GetAutoCalc(), ScDocument::GetDocumentShell(), ScDocument::GetFormulaCodeInTree(), ScDocument::IsIdleEnabled(), MIN_NO_CODES_PER_PROGRESS_UPDATE, nInterpretProgress, pGlobalProgress, pInterpretDoc, pInterpretProgress, ScProgress(), and ScResId().
Referenced by ScDocument::CalcFormulaTree(), ScOutputData::FindChanged(), and lcl_CreateInterpretProgress().
|
static |
Definition at line 152 of file progress.cxx.
References bIdleWasEnabled, ScDocument::EnableIdle(), nInterpretProgress, pInterpretDoc, pInterpretProgress, and theDummyInterpretProgress.
Referenced by ScDocument::CalcFormulaTree(), ScOutputData::FindChanged(), and ScOutputData::LayoutStrings().
|
inline |
Definition at line 116 of file progress.hxx.
|
inline |
Definition at line 117 of file progress.hxx.
|
inline |
Definition at line 115 of file progress.hxx.
Referenced by ScFormulaCell::InterpretTail().
|
inlinestatic |
Definition at line 65 of file progress.hxx.
Referenced by ScFormulaCell::InterpretTail().
|
inline |
Definition at line 109 of file progress.hxx.
Referenced by ScTable::FillAuto(), ScTable::FillSeries(), and ScTable::UpdateMoveTab().
|
privatedelete |
|
inline |
Definition at line 78 of file progress.hxx.
Referenced by ScDocShell::DBaseImport(), ScDBDocFunc::DoImport(), ScFormatFilterPluginImpl::ScExportDif(), ScTable::Sort(), ScDocument::UpdateExternalRefLinks(), and ScTable::UpdateMoveTab().
|
inline |
Definition at line 88 of file progress.hxx.
Referenced by ScDocShell::MergeDocument().
|
inline |
only if percentage increased
Definition at line 102 of file progress.hxx.
Referenced by ScFormulaCell::CompileXML(), and ScFormulaCell::InterpretTail().
|
inline |
only if percentage increased
Definition at line 96 of file progress.hxx.
Referenced by ScDocShell::AsciiSave(), ScDocument::CompareDocument(), ScDocShell::DBaseExport(), ScTable::FillAuto(), ScTable::FillAutoSimple(), ScTable::FillFormulaVertical(), ScTable::FillSeries(), ScTable::FillSeriesSimple(), ScDocument::FindOrder(), and ScTable::SortReorderByColumn().
|
private |
Definition at line 49 of file progress.hxx.
|
staticprivate |
Definition at line 48 of file progress.hxx.
Referenced by CreateInterpretProgress(), and DeleteInterpretProgress().
|
staticprivate |
Definition at line 44 of file progress.hxx.
Referenced by ScProgress(), and ~ScProgress().
|
staticprivate |
Definition at line 43 of file progress.hxx.
Referenced by ScProgress(), and ~ScProgress().
|
staticprivate |
Definition at line 46 of file progress.hxx.
Referenced by CreateInterpretProgress(), and DeleteInterpretProgress().
|
staticprivate |
Definition at line 42 of file progress.hxx.
Referenced by CreateInterpretProgress(), ScProgress(), and ~ScProgress().
|
staticprivate |
Definition at line 47 of file progress.hxx.
Referenced by CreateInterpretProgress(), and DeleteInterpretProgress().
|
staticprivate |
Definition at line 45 of file progress.hxx.
Referenced by CreateInterpretProgress(), and DeleteInterpretProgress().
|
private |
Definition at line 51 of file progress.hxx.
Referenced by ScProgress(), and ~ScProgress().