LibreOffice Module sc (master) 1
|
#include <autostyl.hxx>
Public Member Functions | |
ScAutoStyleList (ScDocShell *pShell) | |
~ScAutoStyleList () | |
void | AddInitial (const ScRange &rRange, const OUString &rStyle1, sal_uLong nTimeout, const OUString &rStyle2) |
void | AddEntry (sal_uLong nTimeout, const ScRange &rRange, const OUString &rStyle) |
void | ExecuteAllNow () |
Private Member Functions | |
void | ExecuteEntries () |
void | AdjustEntries (sal_uLong nDiff) |
void | StartTimer (sal_uLong nNow) |
DECL_LINK (TimerHdl, Timer *, void) | |
DECL_LINK (InitHdl, Timer *, void) | |
Private Attributes | |
ScDocShell * | pDocSh |
Timer | aTimer |
Idle | aInitIdle |
sal_uLong | nTimerStart |
std::vector< ScAutoStyleData > | aEntries |
std::vector< ScAutoStyleInitData > | aInitials |
Definition at line 54 of file autostyl.hxx.
ScAutoStyleList::ScAutoStyleList | ( | ScDocShell * | pShell | ) |
Definition at line 60 of file autostyl.cxx.
References aInitIdle, aTimer, LINK, Timer::SetInvokeHandler(), and Task::SetPriority().
ScAutoStyleList::~ScAutoStyleList | ( | ) |
Definition at line 71 of file autostyl.cxx.
void ScAutoStyleList::AddEntry | ( | sal_uLong | nTimeout, |
const ScRange & | rRange, | ||
const OUString & | rStyle | ||
) |
Definition at line 98 of file autostyl.cxx.
References AdjustEntries(), aEntries, aTimer, ExecuteEntries(), nTimerStart, StartTimer(), Task::Stop(), and TimeNow().
void ScAutoStyleList::AddInitial | ( | const ScRange & | rRange, |
const OUString & | rStyle1, | ||
sal_uLong | nTimeout, | ||
const OUString & | rStyle2 | ||
) |
Definition at line 77 of file autostyl.cxx.
References aInitials, aInitIdle, and Idle::Start().
|
private |
|
private |
|
private |
void ScAutoStyleList::ExecuteAllNow | ( | ) |
Definition at line 158 of file autostyl.cxx.
References aEntries, aTimer, ScDocShell::DoAutoStyle(), pDocSh, and Task::Stop().
|
private |
Definition at line 141 of file autostyl.cxx.
References aEntries, ScDocShell::DoAutoStyle(), and pDocSh.
Referenced by AddEntry().
|
private |
Definition at line 168 of file autostyl.cxx.
References aEntries, aTimer, nTimerStart, Timer::SetTimeout(), and Timer::Start().
Referenced by AddEntry().
|
private |
Definition at line 62 of file autostyl.hxx.
Referenced by AddEntry(), AdjustEntries(), ExecuteAllNow(), ExecuteEntries(), and StartTimer().
|
private |
Definition at line 63 of file autostyl.hxx.
Referenced by AddInitial().
|
private |
Definition at line 60 of file autostyl.hxx.
Referenced by AddInitial(), and ScAutoStyleList().
|
private |
Definition at line 59 of file autostyl.hxx.
Referenced by AddEntry(), ExecuteAllNow(), ScAutoStyleList(), and StartTimer().
|
private |
Definition at line 61 of file autostyl.hxx.
Referenced by AddEntry(), and StartTimer().
|
private |
Definition at line 58 of file autostyl.hxx.
Referenced by ExecuteAllNow(), and ExecuteEntries().