LibreOffice Module sc (master) 1
|
#include <condformatdlgentry.hxx>
Public Member Functions | |
ScFormulaFrmtEntry (ScCondFormatList *pParent, ScDocument *PDoc, ScCondFormatDlg *pDialogParent, const ScAddress &rPos, const ScCondFormatEntry *pFormatEntry=nullptr) | |
virtual | ~ScFormulaFrmtEntry () 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 * | createFormulaEntry () const |
virtual OUString | GetExpressionString () override |
void | Init (ScCondFormatDlg *pDialogParent) |
DECL_LINK (StyleSelectHdl, weld::ComboBox &, void) | |
Private Attributes | |
SvxFontPrevWindow | maWdPreview |
std::unique_ptr< weld::Label > | mxFtStyle |
std::unique_ptr< weld::ComboBox > | mxLbStyle |
std::unique_ptr< weld::Widget > | mxWdPreviewWin |
std::unique_ptr< weld::CustomWeld > | mxWdPreview |
std::unique_ptr< formula::RefEdit > | mxEdFormula |
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 143 of file condformatdlgentry.hxx.
ScFormulaFrmtEntry::ScFormulaFrmtEntry | ( | ScCondFormatList * | pParent, |
ScDocument * | PDoc, | ||
ScCondFormatDlg * | pDialogParent, | ||
const ScAddress & | rPos, | ||
const ScCondFormatEntry * | pFormatEntry = nullptr |
||
) |
Definition at line 506 of file condformatdlgentry.cxx.
References CommonWidgetWidth, ScConditionEntry::GetExpression(), ScDocument::GetGrammar(), ScCondFormatEntry::GetStyle(), Init(), mxEdFormula, mxLbStyle, ScCondFrmtEntry::mxLbType, and mxWdPreview.
|
overridevirtual |
Definition at line 534 of file condformatdlgentry.cxx.
|
private |
Definition at line 551 of file condformatdlgentry.cxx.
References Direct, ScCondFrmtEntry::maPos, ScCondFrmtEntry::mpDoc, mxEdFormula, and mxLbStyle.
Referenced by GetEntry().
|
private |
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 561 of file condformatdlgentry.cxx.
References createFormulaEntry().
|
overrideprivatevirtual |
Implements ScCondFrmtEntry.
Definition at line 566 of file condformatdlgentry.cxx.
References ScCondFormatHelper::GetExpression(), and mxEdFormula.
|
inlineoverridevirtual |
Implements ScCondFrmtEntry.
Definition at line 165 of file condformatdlgentry.hxx.
References condformat::entry::FORMULA.
|
private |
Definition at line 538 of file condformatdlgentry.cxx.
References LINK, ScCondFrmtEntry::mpDoc, mxEdFormula, and mxLbStyle.
Referenced by ScFormulaFrmtEntry().
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 571 of file condformatdlgentry.cxx.
References mxEdFormula, mxFtStyle, mxLbStyle, mxWdPreviewWin, and ScCondFrmtEntry::Select().
|
overridevirtual |
Implements ScCondFrmtEntry.
Definition at line 581 of file condformatdlgentry.cxx.
References ScCondFrmtEntry::Deselect(), mxEdFormula, mxFtStyle, mxLbStyle, and mxWdPreviewWin.
|
private |
Definition at line 145 of file condformatdlgentry.hxx.
|
private |
Definition at line 150 of file condformatdlgentry.hxx.
Referenced by createFormulaEntry(), GetExpressionString(), Init(), ScFormulaFrmtEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 146 of file condformatdlgentry.hxx.
Referenced by SetActive(), and SetInactive().
|
private |
Definition at line 147 of file condformatdlgentry.hxx.
Referenced by createFormulaEntry(), Init(), ScFormulaFrmtEntry(), SetActive(), and SetInactive().
|
private |
Definition at line 149 of file condformatdlgentry.hxx.
Referenced by ScFormulaFrmtEntry().
|
private |
Definition at line 148 of file condformatdlgentry.hxx.
Referenced by SetActive(), and SetInactive().