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 54 of file autostyl.hxx.

Constructor & Destructor Documentation

◆ ScAutoStyleList()

ScAutoStyleList::ScAutoStyleList ( ScDocShell pShell)

Definition at line 60 of file autostyl.cxx.

References aInitIdle, aTimer, LINK, Timer::SetInvokeHandler(), and Task::SetPriority().

◆ ~ScAutoStyleList()

ScAutoStyleList::~ScAutoStyleList ( )

Definition at line 71 of file autostyl.cxx.

Member Function Documentation

◆ AddEntry()

void ScAutoStyleList::AddEntry ( sal_uLong  nTimeout,
const ScRange rRange,
const OUString &  rStyle 
)

◆ AddInitial()

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().

◆ AdjustEntries()

void ScAutoStyleList::AdjustEntries ( sal_uLong  nDiff)
private

Definition at line 130 of file autostyl.cxx.

References aEntries.

Referenced by AddEntry().

◆ DECL_LINK() [1/2]

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

◆ DECL_LINK() [2/2]

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

◆ ExecuteAllNow()

void ScAutoStyleList::ExecuteAllNow ( )

Definition at line 158 of file autostyl.cxx.

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

◆ ExecuteEntries()

void ScAutoStyleList::ExecuteEntries ( )
private

Definition at line 141 of file autostyl.cxx.

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

Referenced by AddEntry().

◆ StartTimer()

void ScAutoStyleList::StartTimer ( sal_uLong  nNow)
private

Definition at line 168 of file autostyl.cxx.

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

Referenced by AddEntry().

Member Data Documentation

◆ aEntries

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

Definition at line 62 of file autostyl.hxx.

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

◆ aInitials

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

Definition at line 63 of file autostyl.hxx.

Referenced by AddInitial().

◆ aInitIdle

Idle ScAutoStyleList::aInitIdle
private

Definition at line 60 of file autostyl.hxx.

Referenced by AddInitial(), and ScAutoStyleList().

◆ aTimer

Timer ScAutoStyleList::aTimer
private

Definition at line 59 of file autostyl.hxx.

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

◆ nTimerStart

sal_uLong ScAutoStyleList::nTimerStart
private

Definition at line 61 of file autostyl.hxx.

Referenced by AddEntry(), and StartTimer().

◆ pDocSh

ScDocShell* ScAutoStyleList::pDocSh
private

Definition at line 58 of file autostyl.hxx.

Referenced by ExecuteAllNow(), and ExecuteEntries().


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