LibreOffice Module sc (master)
1
|
#include <condformatdlg.hxx>
Public Member Functions | |
ScCondFormatList (ScCondFormatDlg *pParent, std::unique_ptr< weld::ScrolledWindow > xWindow, std::unique_ptr< weld::Container > xGrid) | |
weld::Container * | GetContainer () |
~ScCondFormatList () | |
void | init (ScDocument &rDoc, const ScConditionalFormat *pFormat, const ScRangeList &rRanges, const ScAddress &rPos, condformat::dialog::ScCondFormatDialogType eType) |
void | SetRange (const ScRangeList &rRange) |
std::unique_ptr< ScConditionalFormat > | GetConditionalFormat () const |
weld::Window * | GetFrameWeld () |
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::ScrolledWindow > | mxScrollWindow |
std::unique_ptr< weld::Container > | mxGrid |
EntryContainer | maEntries |
bool | mbFrozen |
bool | mbNewEntry |
ScDocument * | mpDoc |
ScAddress | maPos |
ScRangeList | maRanges |
ScCondFormatDlg * | mpDialogParent |
Definition at line 30 of file condformatdlg.hxx.
|
private |
Definition at line 36 of file condformatdlg.hxx.
ScCondFormatList::ScCondFormatList | ( | ScCondFormatDlg * | pParent, |
std::unique_ptr< weld::ScrolledWindow > | xWindow, | ||
std::unique_ptr< weld::Container > | xGrid | ||
) |
Definition at line 26 of file condformatdlg.cxx.
References mxGrid, and mxScrollWindow.
ScCondFormatList::~ScCondFormatList | ( | ) |
Definition at line 46 of file condformatdlg.cxx.
References Freeze().
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 | ( | ColFormatTypeHdl | , |
weld::ComboBox & | , | ||
void | |||
) |
|
inline |
Definition at line 62 of file condformatdlg.hxx.
Referenced by init(), and ~ScCondFormatList().
std::unique_ptr< ScConditionalFormat > ScCondFormatList::GetConditionalFormat | ( | ) | const |
Definition at line 143 of file condformatdlg.cxx.
References ScRangeList::GetTopLeftCorner(), maEntries, maRanges, mbNewEntry, and mpDoc.
|
inline |
Definition at line 51 of file condformatdlg.hxx.
Referenced by ScCondFrmtEntry::~ScCondFrmtEntry().
weld::Window * ScCondFormatList::GetFrameWeld | ( | ) |
Definition at line 41 of file condformatdlg.cxx.
References mpDialogParent.
void ScCondFormatList::init | ( | ScDocument & | rDoc, |
const ScConditionalFormat * | pFormat, | ||
const ScRangeList & | rRanges, | ||
const ScAddress & | rPos, | ||
condformat::dialog::ScCondFormatDialogType | eType | ||
) |
Definition at line 51 of file condformatdlg.cxx.
References condformat::dialog::COLORSCALE, ScFormatEntry::Colorscale, condformat::dialog::CONDITION, ScFormatEntry::Condition, condformat::dialog::DATABAR, ScFormatEntry::Databar, condformat::dialog::DATE, ScFormatEntry::Date, Direct, ScFormatEntry::ExtCondition, Freeze(), ScConditionalFormat::GetEntry(), ScConditionEntry::GetOperation(), ScFormatEntry::GetType(), condformat::dialog::ICONSET, ScFormatEntry::Iconset, maEntries, maPos, maRanges, mbNewEntry, mpDialogParent, mpDoc, nCount, nIndex, condformat::dialog::NONE, ScCondFormatDlg::OnSelectionChange(), RecalcAll(), ScColorScaleFormat::size(), ScConditionalFormat::size(), and Thaw().
void ScCondFormatList::RecalcAll | ( | ) |
void ScCondFormatList::SetRange | ( | const ScRangeList & | rRange | ) |
Definition at line 138 of file condformatdlg.cxx.
References maRanges.
|
inline |
Definition at line 63 of file condformatdlg.hxx.
Referenced by init().
|
private |
Definition at line 37 of file condformatdlg.hxx.
Referenced by GetConditionalFormat(), init(), and RecalcAll().
|
private |
Definition at line 43 of file condformatdlg.hxx.
Referenced by init().
|
private |
Definition at line 44 of file condformatdlg.hxx.
Referenced by GetConditionalFormat(), init(), and SetRange().
|
private |
Definition at line 39 of file condformatdlg.hxx.
Referenced by RecalcAll().
|
private |
Definition at line 40 of file condformatdlg.hxx.
Referenced by GetConditionalFormat(), and init().
|
private |
Definition at line 45 of file condformatdlg.hxx.
Referenced by GetFrameWeld(), and init().
|
private |
Definition at line 42 of file condformatdlg.hxx.
Referenced by GetConditionalFormat(), and init().
|
private |
Definition at line 34 of file condformatdlg.hxx.
Referenced by ScCondFormatList().
|
private |
Definition at line 33 of file condformatdlg.hxx.
Referenced by ScCondFormatList().