LibreOffice Module sw (master) 1
|
Handle the background jobs of a Writer document. More...
#include <IDocumentTimerAccess.hxx>
Public Member Functions | |
virtual void | StartIdling ()=0 |
Start the idle task. More... | |
virtual void | StopIdling ()=0 |
Stop idle processing. More... | |
virtual void | BlockIdling ()=0 |
Increment block count. More... | |
virtual void | UnblockIdling ()=0 |
Decrement block count. More... | |
virtual bool | IsDocIdle () const =0 |
Is the document ready to be processed? More... | |
Protected Member Functions | |
virtual | ~IDocumentTimerAccess () |
Handle the background jobs of a Writer document.
Initially it's disabled and unblocked.
Jobs include:
Definition at line 32 of file IDocumentTimerAccess.hxx.
|
inlineprotectedvirtual |
Definition at line 68 of file IDocumentTimerAccess.hxx.
|
pure virtual |
Increment block count.
Prevents further background idle processing. This doesn't guarantee the Idle task is not currently running!
Implemented in sw::DocumentTimerManager.
Referenced by SwLayAction::FormatLayoutTab(), SwXTextDocument::getRendererCount(), and InsertCnt_().
|
pure virtual |
Is the document ready to be processed?
Implemented in sw::DocumentTimerManager.
Referenced by sw::SwDocIdle::UpdateMinPeriod().
|
pure virtual |
Start the idle task.
Depends on the block count and various document states.
Implemented in sw::DocumentTimerManager.
Referenced by SwRootFrame::Init(), SwDocUpdateField::SetFieldsDirty(), SwRootFrame::SetIdleFlags(), and SwRootFrame::SetNeedGrammarCheck().
|
pure virtual |
Stop idle processing.
Implemented in sw::DocumentTimerManager.
Referenced by SwRootFrame::Init(), and SwDoc::~SwDoc().
|
pure virtual |
Decrement block count.
May re-start the idle task, if active.
Implemented in sw::DocumentTimerManager.
Referenced by SwLayAction::FormatLayoutTab(), InsertCnt_(), and SwXTextDocument::render().