LibreOffice Module sc (master) 1
|
#include <condformatdlgentry.hxx>
Public Member Functions | |
ScCondFrmtEntry (ScCondFormatList *pParent, ScDocument *pDoc, const ScAddress &rPos) | |
virtual | ~ScCondFrmtEntry () |
void | Show () |
void | set_grid_top_attach (int nAttach) |
int | get_preferred_height () const |
void | SetPos (const ScAddress &rPos) |
bool | IsSelected () const |
void | SetIndex (sal_Int32 nIndex) |
virtual ScFormatEntry * | GetEntry () const =0 |
virtual void | SetActive ()=0 |
virtual void | SetInactive ()=0 |
virtual condformat::entry::ScCondFrmtEntryType | GetType ()=0 |
Protected Member Functions | |
virtual void | Select () |
virtual void | Deselect () |
virtual OUString | GetExpressionString ()=0 |
Protected Attributes | |
ScCondFormatList * | mpParent |
std::unique_ptr< weld::Builder > | mxBuilder |
std::unique_ptr< weld::ComboBox > | mxLbType |
ScDocument * | mpDoc |
ScAddress | maPos |
Private Member Functions | |
DECL_LINK (EntrySelectHdl, const MouseEvent &, bool) | |
Private Attributes | |
std::unique_ptr< weld::Widget > | mxBorder |
std::unique_ptr< weld::Container > | mxGrid |
std::unique_ptr< weld::Label > | mxFtCondNr |
std::unique_ptr< weld::Label > | mxFtCondition |
bool | mbActive |
OUString const | maStrCondition |
Link< ScCondFrmtEntry &, void > | maClickHdl |
Definition at line 42 of file condformatdlgentry.hxx.
ScCondFrmtEntry::ScCondFrmtEntry | ( | ScCondFormatList * | pParent, |
ScDocument * | pDoc, | ||
const ScAddress & | rPos | ||
) |
Definition at line 47 of file condformatdlgentry.cxx.
References CommonWidgetWidth, LINK, maClickHdl, mbActive, mpParent, mxGrid, mxLbType, and Show().
|
virtual |
Definition at line 68 of file condformatdlgentry.cxx.
References ScCondFormatList::GetContainer(), weld::Container::move(), mpParent, and mxBorder.
|
private |
|
protectedvirtual |
Reimplemented in ScConditionFrmtEntry.
Definition at line 96 of file condformatdlgentry.cxx.
References GetExpressionString(), mbActive, mxFtCondition, and mxLbType.
Referenced by ScConditionFrmtEntry::Deselect(), ScFormulaFrmtEntry::SetInactive(), ScColorScale2FrmtEntry::SetInactive(), ScColorScale3FrmtEntry::SetInactive(), ScDataBarFrmtEntry::SetInactive(), ScDateFrmtEntry::SetInactive(), and ScIconSetFrmtEntry::SetInactive().
|
inline |
Definition at line 79 of file condformatdlgentry.hxx.
References mxBorder.
|
pure virtual |
|
protectedpure virtual |
Implemented in ScConditionFrmtEntry, ScFormulaFrmtEntry, ScColorScale2FrmtEntry, ScColorScale3FrmtEntry, ScDataBarFrmtEntry, ScDateFrmtEntry, and ScIconSetFrmtEntry.
Referenced by Deselect().
|
pure virtual |
|
inline |
Definition at line 82 of file condformatdlgentry.hxx.
References mbActive.
|
protectedvirtual |
Reimplemented in ScConditionFrmtEntry.
Definition at line 88 of file condformatdlgentry.cxx.
References mbActive, mxFtCondition, and mxLbType.
Referenced by ScConditionFrmtEntry::Select(), ScFormulaFrmtEntry::SetActive(), ScColorScale2FrmtEntry::SetActive(), ScColorScale3FrmtEntry::SetActive(), ScDataBarFrmtEntry::SetActive(), ScDateFrmtEntry::SetActive(), and ScIconSetFrmtEntry::SetActive().
|
inline |
Definition at line 78 of file condformatdlgentry.hxx.
References mxBorder.
|
pure virtual |
|
pure virtual |
void ScCondFrmtEntry::SetIndex | ( | sal_Int32 | nIndex | ) |
Definition at line 79 of file condformatdlgentry.cxx.
References maStrCondition, mxFtCondition, mxFtCondNr, and nIndex.
|
inline |
Definition at line 81 of file condformatdlgentry.hxx.
References maPos.
|
inline |
Definition at line 76 of file condformatdlgentry.hxx.
References mxGrid.
Referenced by ScCondFrmtEntry().
|
private |
Definition at line 57 of file condformatdlgentry.hxx.
Referenced by ScCondFrmtEntry().
|
protected |
Definition at line 65 of file condformatdlgentry.hxx.
Referenced by ScColorScale2FrmtEntry::createColorscaleEntry(), ScColorScale3FrmtEntry::createColorscaleEntry(), ScConditionFrmtEntry::createConditionEntry(), ScDataBarFrmtEntry::createDatabarEntry(), ScFormulaFrmtEntry::createFormulaEntry(), ScIconSetFrmtEntry::GetEntry(), ScConditionFrmtEntry::ScConditionFrmtEntry(), and SetPos().
|
private |
Definition at line 56 of file condformatdlgentry.hxx.
Referenced by SetIndex().
|
private |
Definition at line 55 of file condformatdlgentry.hxx.
Referenced by Deselect(), IsSelected(), and Select().
|
protected |
Definition at line 64 of file condformatdlgentry.hxx.
Referenced by ScColorScale2FrmtEntry::createColorscaleEntry(), ScColorScale3FrmtEntry::createColorscaleEntry(), ScConditionFrmtEntry::createConditionEntry(), ScDataBarFrmtEntry::createDatabarEntry(), ScFormulaFrmtEntry::createFormulaEntry(), ScDateFrmtEntry::GetEntry(), ScIconSetFrmtEntry::GetEntry(), ScDateFrmtEntry::Init(), ScConditionFrmtEntry::Init(), ScFormulaFrmtEntry::Init(), ScConditionFrmtEntry::Notify(), and ScDateFrmtEntry::Notify().
|
protected |
Definition at line 45 of file condformatdlgentry.hxx.
Referenced by ScColorScale2FrmtEntry::ScColorScale2FrmtEntry(), ScColorScale3FrmtEntry::ScColorScale3FrmtEntry(), and ~ScCondFrmtEntry().
|
private |
Definition at line 50 of file condformatdlgentry.hxx.
Referenced by get_preferred_height(), set_grid_top_attach(), and ~ScCondFrmtEntry().
|
protected |
Definition at line 46 of file condformatdlgentry.hxx.
|
private |
Definition at line 53 of file condformatdlgentry.hxx.
Referenced by Deselect(), Select(), and SetIndex().
|
private |
Definition at line 52 of file condformatdlgentry.hxx.
Referenced by SetIndex().
|
private |
Definition at line 51 of file condformatdlgentry.hxx.
Referenced by ScCondFrmtEntry(), and Show().
|
protected |
Definition at line 62 of file condformatdlgentry.hxx.
Referenced by Deselect(), ScDateFrmtEntry::Init(), ScIconSetFrmtEntry::Init(), ScCondFrmtEntry(), ScConditionFrmtEntry::ScConditionFrmtEntry(), ScDataBarFrmtEntry::ScDataBarFrmtEntry(), ScFormulaFrmtEntry::ScFormulaFrmtEntry(), and Select().