LibreOffice Module sc (master) 1
|
#include <condformatdlgentry.hxx>
Public Member Functions | |
ScColorScale3FrmtEntry (ScCondFormatList *pParent, ScDocument *pDoc, const ScAddress &rPos, const ScColorScaleFormat *pFormat=nullptr) | |
virtual | ~ScColorScale3FrmtEntry () override |
virtual ScFormatEntry * | GetEntry () const override |
virtual void | SetActive () override |
virtual void | SetInactive () override |
virtual condformat::entry::ScCondFrmtEntryType | GetType () override |
Public Member Functions inherited from ScCondFrmtEntry | |
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 |
Private Member Functions | |
ScFormatEntry * | createColorscaleEntry () const |
virtual OUString | GetExpressionString () override |
void | Init () |
DECL_LINK (EntryTypeHdl, weld::ComboBox &, void) | |
Private Attributes | |
std::unique_ptr< weld::ComboBox > | mxLbColorFormat |
std::unique_ptr< weld::ComboBox > | mxLbEntryTypeMin |
std::unique_ptr< weld::ComboBox > | mxLbEntryTypeMiddle |
std::unique_ptr< weld::ComboBox > | mxLbEntryTypeMax |
std::unique_ptr< weld::Entry > | mxEdMin |
std::unique_ptr< weld::Entry > | mxEdMiddle |
std::unique_ptr< weld::Entry > | mxEdMax |
std::unique_ptr< ColorListBox > | mxLbColMin |
std::unique_ptr< ColorListBox > | mxLbColMiddle |
std::unique_ptr< ColorListBox > | mxLbColMax |
std::unique_ptr< weld::Label > | mxFtMin |
std::unique_ptr< weld::Label > | mxFtMax |
Additional Inherited Members | |
Protected Member Functions inherited from ScCondFrmtEntry | |
virtual void | Select () |
virtual void | Deselect () |
virtual OUString | GetExpressionString ()=0 |
Protected Attributes inherited from ScCondFrmtEntry | |
ScCondFormatList * | mpParent |
std::unique_ptr< weld::Builder > | mxBuilder |
std::unique_ptr< weld::ComboBox > | mxLbType |
ScDocument * | mpDoc |
ScAddress | maPos |
Definition at line 202 of file condformatdlgentry.hxx.
ScColorScale3FrmtEntry::ScColorScale3FrmtEntry | ( | ScCondFormatList * | pParent, |
ScDocument * | pDoc, | ||
const ScAddress & | rPos, | ||
const ScColorScaleFormat * | pFormat = nullptr |
||
) |
Definition at line 867 of file condformatdlgentry.cxx.
References ScCondFormatList::GetFrameWeld(), and ScCondFrmtEntry::mpParent.
|
overridevirtual |
Definition at line 928 of file condformatdlgentry.cxx.
|
private |
Definition at line 942 of file condformatdlgentry.cxx.
References ScColorScaleFormat::AddEntry(), ScCondFrmtEntry::maPos, ScCondFrmtEntry::mpDoc, mxEdMax, mxEdMiddle, mxEdMin, mxLbColMax, mxLbColMiddle, mxLbColMin, mxLbColorFormat, mxLbEntryTypeMax, mxLbEntryTypeMiddle, and mxLbEntryTypeMin.
Referenced by GetEntry().
|
private |
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 957 of file condformatdlgentry.cxx.
References createColorscaleEntry().
|
overrideprivatevirtual |
Implements ScCondFrmtEntry.
Definition at line 952 of file condformatdlgentry.cxx.
References COLORSCALE, and ScCondFormatHelper::GetExpression().
|
inlineoverridevirtual |
Implements ScCondFrmtEntry.
Definition at line 236 of file condformatdlgentry.hxx.
References condformat::entry::COLORSCALE3.
|
private |
Definition at line 932 of file condformatdlgentry.cxx.
References COL_LIGHTRED(), COL_YELLOW(), LINK, mxLbColMax, mxLbColMiddle, mxLbColMin, mxLbEntryTypeMax, mxLbEntryTypeMiddle, and mxLbEntryTypeMin.
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 962 of file condformatdlgentry.cxx.
References mxEdMax, mxEdMiddle, mxEdMin, mxLbColMax, mxLbColMiddle, mxLbColMin, mxLbColorFormat, mxLbEntryTypeMax, mxLbEntryTypeMiddle, mxLbEntryTypeMin, and ScCondFrmtEntry::Select().
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 980 of file condformatdlgentry.cxx.
References ScCondFrmtEntry::Deselect(), mxEdMax, mxEdMiddle, mxEdMin, mxLbColMax, mxLbColMiddle, mxLbColMin, mxLbColorFormat, mxLbEntryTypeMax, mxLbEntryTypeMiddle, and mxLbEntryTypeMin.
|
private |
Definition at line 215 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 214 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 213 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 222 of file condformatdlgentry.hxx.
|
private |
Definition at line 221 of file condformatdlgentry.hxx.
|
private |
Definition at line 219 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), Init(), SetActive(), and SetInactive().
|
private |
Definition at line 218 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), Init(), SetActive(), and SetInactive().
|
private |
Definition at line 217 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), Init(), SetActive(), and SetInactive().
|
private |
Definition at line 206 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 211 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), Init(), SetActive(), and SetInactive().
|
private |
Definition at line 210 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), Init(), SetActive(), and SetInactive().
|
private |
Definition at line 209 of file condformatdlgentry.hxx.
Referenced by createColorscaleEntry(), Init(), SetActive(), and SetInactive().