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

#include <condformatdlg.hxx>

Collaboration diagram for ScCondFormatList:
[legend]

Public Member Functions

 ScCondFormatList (ScCondFormatDlg *pParent, std::unique_ptr< weld::ScrolledWindow > xWindow, std::unique_ptr< weld::Container > xGrid)
 
weld::ScrolledWindowGetWidget ()
 
weld::ContainerGetContainer ()
 
 ~ScCondFormatList ()
 
void init (ScDocument *pDoc, const ScConditionalFormat *pFormat, const ScRangeList &rRanges, const ScAddress &rPos, condformat::dialog::ScCondFormatDialogType eType)
 
void SetRange (const ScRangeList &rRange)
 
std::unique_ptr< ScConditionalFormatGetConditionalFormat () const
 
weld::WindowGetFrameWeld ()
 
void Freeze ()
 
void Thaw ()
 
void RecalcAll ()
 
 DECL_LINK (AddBtnHdl, weld::Button &, void)
 
 DECL_LINK (RemoveBtnHdl, weld::Button &, void)
 
 DECL_LINK (UpBtnHdl, weld::Button &, void)
 
 DECL_LINK (DownBtnHdl, weld::Button &, void)
 
 DECL_LINK (EntrySelectHdl, ScCondFrmtEntry &, void)
 
 DECL_LINK (TypeListHdl, weld::ComboBox &, void)
 
 DECL_LINK (AfterTypeListHdl, void *, void)
 
 DECL_LINK (ColFormatTypeHdl, weld::ComboBox &, void)
 
 DECL_LINK (AfterColFormatTypeHdl, void *, void)
 

Private Types

typedef std::vector< std::unique_ptr< ScCondFrmtEntry > > EntryContainer
 

Private Attributes

std::unique_ptr< weld::ScrolledWindowmxScrollWindow
 
std::unique_ptr< weld::ContainermxGrid
 
EntryContainer maEntries
 
bool mbFrozen
 
bool mbNewEntry
 
ScDocumentmpDoc
 
ScAddress maPos
 
ScRangeList maRanges
 
ScCondFormatDlgmpDialogParent
 

Detailed Description

Definition at line 30 of file condformatdlg.hxx.

Member Typedef Documentation

typedef std::vector<std::unique_ptr<ScCondFrmtEntry> > ScCondFormatList::EntryContainer
private

Definition at line 36 of file condformatdlg.hxx.

Constructor & Destructor Documentation

ScCondFormatList::ScCondFormatList ( ScCondFormatDlg pParent,
std::unique_ptr< weld::ScrolledWindow xWindow,
std::unique_ptr< weld::Container xGrid 
)

Definition at line 29 of file condformatdlg.cxx.

References mxGrid, and mxScrollWindow.

ScCondFormatList::~ScCondFormatList ( )

Definition at line 49 of file condformatdlg.cxx.

References Freeze().

Member Function Documentation

ScCondFormatList::DECL_LINK ( AddBtnHdl  ,
weld::Button ,
void   
)
ScCondFormatList::DECL_LINK ( RemoveBtnHdl  ,
weld::Button ,
void   
)
ScCondFormatList::DECL_LINK ( UpBtnHdl  ,
weld::Button ,
void   
)
ScCondFormatList::DECL_LINK ( DownBtnHdl  ,
weld::Button ,
void   
)
ScCondFormatList::DECL_LINK ( EntrySelectHdl  ,
ScCondFrmtEntry ,
void   
)
ScCondFormatList::DECL_LINK ( TypeListHdl  ,
weld::ComboBox ,
void   
)
ScCondFormatList::DECL_LINK ( AfterTypeListHdl  ,
void ,
void   
)
ScCondFormatList::DECL_LINK ( ColFormatTypeHdl  ,
weld::ComboBox ,
void   
)
ScCondFormatList::DECL_LINK ( AfterColFormatTypeHdl  ,
void ,
void   
)
void ScCondFormatList::Freeze ( )
inline

Definition at line 63 of file condformatdlg.hxx.

Referenced by init(), and ~ScCondFormatList().

std::unique_ptr< ScConditionalFormat > ScCondFormatList::GetConditionalFormat ( ) const

Definition at line 146 of file condformatdlg.cxx.

References ScRangeList::GetTopLeftCorner(), maEntries, maRanges, mbNewEntry, and mpDoc.

weld::Container* ScCondFormatList::GetContainer ( )
inline

Definition at line 52 of file condformatdlg.hxx.

Referenced by ScCondFrmtEntry::~ScCondFrmtEntry().

weld::Window * ScCondFormatList::GetFrameWeld ( )

Definition at line 44 of file condformatdlg.cxx.

References mpDialogParent.

weld::ScrolledWindow* ScCondFormatList::GetWidget ( )
inline

Definition at line 51 of file condformatdlg.hxx.

void ScCondFormatList::init ( ScDocument pDoc,
const ScConditionalFormat pFormat,
const ScRangeList rRanges,
const ScAddress rPos,
condformat::dialog::ScCondFormatDialogType  eType 
)
void ScCondFormatList::RecalcAll ( )

Definition at line 175 of file condformatdlg.cxx.

References maEntries, mbFrozen, and nIndex.

Referenced by init().

void ScCondFormatList::SetRange ( const ScRangeList rRange)

Definition at line 141 of file condformatdlg.cxx.

References maRanges.

void ScCondFormatList::Thaw ( )
inline

Definition at line 64 of file condformatdlg.hxx.

Referenced by init().

Member Data Documentation

EntryContainer ScCondFormatList::maEntries
private

Definition at line 37 of file condformatdlg.hxx.

Referenced by GetConditionalFormat(), init(), and RecalcAll().

ScAddress ScCondFormatList::maPos
private

Definition at line 43 of file condformatdlg.hxx.

Referenced by init().

ScRangeList ScCondFormatList::maRanges
private

Definition at line 44 of file condformatdlg.hxx.

Referenced by GetConditionalFormat(), init(), and SetRange().

bool ScCondFormatList::mbFrozen
private

Definition at line 39 of file condformatdlg.hxx.

Referenced by RecalcAll().

bool ScCondFormatList::mbNewEntry
private

Definition at line 40 of file condformatdlg.hxx.

Referenced by GetConditionalFormat(), and init().

ScCondFormatDlg* ScCondFormatList::mpDialogParent
private

Definition at line 45 of file condformatdlg.hxx.

Referenced by GetFrameWeld(), and init().

ScDocument* ScCondFormatList::mpDoc
private

Definition at line 42 of file condformatdlg.hxx.

Referenced by GetConditionalFormat(), and init().

std::unique_ptr<weld::Container> ScCondFormatList::mxGrid
private

Definition at line 34 of file condformatdlg.hxx.

Referenced by ScCondFormatList().

std::unique_ptr<weld::ScrolledWindow> ScCondFormatList::mxScrollWindow
private

Definition at line 33 of file condformatdlg.hxx.

Referenced by ScCondFormatList().


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