LibreOffice Module sc (master) 1
|
#include <condformatdlgentry.hxx>
Public Member Functions | |
ScDataBarFrmtEntry (ScCondFormatList *pParemt, ScDocument *pDoc, const ScAddress &rPos, const ScDataBarFormat *pFormat=nullptr) | |
virtual | ~ScDataBarFrmtEntry () 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 * | createDatabarEntry () const |
virtual OUString | GetExpressionString () override |
void | Init () |
DECL_LINK (OptionBtnHdl, weld::Button &, void) | |
DECL_LINK (DataBarTypeSelectHdl, weld::ComboBox &, void) | |
Private Attributes | |
std::unique_ptr< weld::ComboBox > | mxLbColorFormat |
std::unique_ptr< weld::ComboBox > | mxLbDataBarMinType |
std::unique_ptr< weld::ComboBox > | mxLbDataBarMaxType |
std::unique_ptr< weld::Entry > | mxEdDataBarMin |
std::unique_ptr< weld::Entry > | mxEdDataBarMax |
std::unique_ptr< weld::Button > | mxBtOptions |
std::unique_ptr< weld::Label > | mxFtMin |
std::unique_ptr< weld::Label > | mxFtMax |
std::unique_ptr< ScDataBarFormatData > | mpDataBarData |
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 239 of file condformatdlgentry.hxx.
ScDataBarFrmtEntry::ScDataBarFrmtEntry | ( | ScCondFormatList * | pParemt, |
ScDocument * | pDoc, | ||
const ScAddress & | rPos, | ||
const ScDataBarFormat * | pFormat = nullptr |
||
) |
Definition at line 1080 of file condformatdlgentry.cxx.
References COLORSCALE_AUTO, COLORSCALE_MAX, COLORSCALE_MIN, CommonWidgetWidth, ScDataBarFormat::GetDataBarData(), Init(), LINK, mpDataBarData, mxEdDataBarMax, mxEdDataBarMin, mxFtMax, mxFtMin, mxLbColorFormat, mxLbDataBarMaxType, mxLbDataBarMinType, and ScCondFrmtEntry::mxLbType.
|
overridevirtual |
Definition at line 1122 of file condformatdlgentry.cxx.
|
private |
Definition at line 1149 of file condformatdlgentry.cxx.
References ScCondFrmtEntry::maPos, mpDataBarData, ScCondFrmtEntry::mpDoc, mxEdDataBarMax, mxEdDataBarMin, mxLbDataBarMaxType, mxLbDataBarMinType, and ScDataBarFormat::SetDataBarData().
Referenced by GetEntry().
|
private |
|
private |
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 1126 of file condformatdlgentry.cxx.
References createDatabarEntry().
|
overrideprivatevirtual |
Implements ScCondFrmtEntry.
Definition at line 1160 of file condformatdlgentry.cxx.
References DATABAR, and ScCondFormatHelper::GetExpression().
|
inlineoverridevirtual |
Implements ScCondFrmtEntry.
Definition at line 270 of file condformatdlgentry.hxx.
References condformat::entry::DATABAR.
|
private |
Definition at line 1131 of file condformatdlgentry.cxx.
References COLORSCALE_AUTO, LINK, mpDataBarData, mxBtOptions, mxLbDataBarMaxType, and mxLbDataBarMinType.
Referenced by ScDataBarFrmtEntry().
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 1165 of file condformatdlgentry.cxx.
References mxBtOptions, mxEdDataBarMax, mxEdDataBarMin, mxLbColorFormat, mxLbDataBarMaxType, mxLbDataBarMinType, and ScCondFrmtEntry::Select().
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 1178 of file condformatdlgentry.cxx.
References ScCondFrmtEntry::Deselect(), mxBtOptions, mxEdDataBarMax, mxEdDataBarMin, mxLbColorFormat, mxLbDataBarMaxType, and mxLbDataBarMinType.
|
private |
Definition at line 254 of file condformatdlgentry.hxx.
Referenced by createDatabarEntry(), Init(), and ScDataBarFrmtEntry().
|
private |
Definition at line 249 of file condformatdlgentry.hxx.
Referenced by Init(), SetActive(), and SetInactive().
|
private |
Definition at line 248 of file condformatdlgentry.hxx.
Referenced by createDatabarEntry(), ScDataBarFrmtEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 247 of file condformatdlgentry.hxx.
Referenced by createDatabarEntry(), ScDataBarFrmtEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 252 of file condformatdlgentry.hxx.
Referenced by ScDataBarFrmtEntry().
|
private |
Definition at line 251 of file condformatdlgentry.hxx.
Referenced by ScDataBarFrmtEntry().
|
private |
Definition at line 242 of file condformatdlgentry.hxx.
Referenced by ScDataBarFrmtEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 246 of file condformatdlgentry.hxx.
Referenced by createDatabarEntry(), Init(), ScDataBarFrmtEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 245 of file condformatdlgentry.hxx.
Referenced by createDatabarEntry(), Init(), ScDataBarFrmtEntry(), SetActive(), and SetInactive().