LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScAutoStyleList Class Reference

#include <autostyl.hxx>

Collaboration diagram for ScAutoStyleList:
[legend]

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

ScDocShellpDocSh
 
Timer aTimer
 
Idle aInitIdle
 
sal_uLong nTimerStart
 
std::vector< ScAutoStyleDataaEntries
 
std::vector< ScAutoStyleInitDataaInitials
 

Detailed Description

Definition at line 53 of file autostyl.hxx.

Constructor & Destructor Documentation

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.

Member Function Documentation

void ScAutoStyleList::AddEntry ( sal_uLong  nTimeout,
const ScRange rRange,
const OUString &  rStyle 
)
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().

void ScAutoStyleList::AdjustEntries ( sal_uLong  nDiff)
private

Definition at line 131 of file autostyl.cxx.

References aEntries.

Referenced by AddEntry().

ScAutoStyleList::DECL_LINK ( TimerHdl  ,
Timer ,
void   
)
private
ScAutoStyleList::DECL_LINK ( InitHdl  ,
Timer ,
void   
)
private
void ScAutoStyleList::ExecuteAllNow ( )

Definition at line 159 of file autostyl.cxx.

References aEntries, aTimer, ScDocShell::DoAutoStyle(), pDocSh, and Task::Stop().

void ScAutoStyleList::ExecuteEntries ( )
private

Definition at line 142 of file autostyl.cxx.

References aEntries, ScDocShell::DoAutoStyle(), and pDocSh.

Referenced by AddEntry().

void ScAutoStyleList::StartTimer ( sal_uLong  nNow)
private

Definition at line 169 of file autostyl.cxx.

References aEntries, aTimer, nTimerStart, Timer::SetTimeout(), and Timer::Start().

Referenced by AddEntry().

Member Data Documentation

std::vector<ScAutoStyleData> ScAutoStyleList::aEntries
private

Definition at line 61 of file autostyl.hxx.

Referenced by AddEntry(), AdjustEntries(), ExecuteAllNow(), ExecuteEntries(), and StartTimer().

std::vector<ScAutoStyleInitData> ScAutoStyleList::aInitials
private

Definition at line 62 of file autostyl.hxx.

Referenced by AddInitial().

Idle ScAutoStyleList::aInitIdle
private

Definition at line 59 of file autostyl.hxx.

Referenced by AddInitial(), and ScAutoStyleList().

Timer ScAutoStyleList::aTimer
private

Definition at line 58 of file autostyl.hxx.

Referenced by AddEntry(), ExecuteAllNow(), ScAutoStyleList(), and StartTimer().

sal_uLong ScAutoStyleList::nTimerStart
private

Definition at line 60 of file autostyl.hxx.

Referenced by AddEntry(), and StartTimer().

ScDocShell* ScAutoStyleList::pDocSh
private

Definition at line 57 of file autostyl.hxx.

Referenced by ExecuteAllNow(), and ExecuteEntries().


The documentation for this class was generated from the following files: