LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScFormulaFrmtEntry Class Reference

#include <condformatdlgentry.hxx>

Inheritance diagram for ScFormulaFrmtEntry:
[legend]
Collaboration diagram for ScFormulaFrmtEntry:
[legend]

Public Member Functions

 ScFormulaFrmtEntry (ScCondFormatList *pParent, ScDocument *PDoc, ScCondFormatDlg *pDialogParent, const ScAddress &rPos, const ScCondFormatEntry *pFormatEntry=nullptr)
 
virtual ~ScFormulaFrmtEntry () override
 
virtual ScFormatEntryGetEntry () 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_grid_top_attach () const
 
Size get_preferred_size () const
 
void SetPos (const ScAddress &rPos)
 
bool IsSelected () const
 
void SetIndex (sal_Int32 nIndex)
 

Private Member Functions

ScFormatEntrycreateFormulaEntry () const
 
virtual OUString GetExpressionString () override
 
void Init (ScCondFormatDlg *pDialogParent)
 
 DECL_LINK (StyleSelectHdl, weld::ComboBox &, void)
 

Private Attributes

SvxFontPrevWindow maWdPreview
 
std::unique_ptr< weld::LabelmxFtStyle
 
std::unique_ptr< weld::ComboBoxmxLbStyle
 
std::unique_ptr< weld::WidgetmxWdPreviewWin
 
std::unique_ptr< weld::CustomWeldmxWdPreview
 
std::unique_ptr< formula::RefEditmxEdFormula
 

Additional Inherited Members

- Protected Member Functions inherited from ScCondFrmtEntry
virtual void Select ()
 
virtual void Deselect ()
 
- Protected Attributes inherited from ScCondFrmtEntry
ScCondFormatListmpParent
 
std::unique_ptr< weld::BuildermxBuilder
 
std::unique_ptr< weld::ComboBoxmxLbType
 
ScDocumentmpDoc
 
ScAddress maPos
 

Detailed Description

Definition at line 150 of file condformatdlgentry.hxx.

Constructor & Destructor Documentation

ScFormulaFrmtEntry::ScFormulaFrmtEntry ( ScCondFormatList pParent,
ScDocument PDoc,
ScCondFormatDlg pDialogParent,
const ScAddress rPos,
const ScCondFormatEntry pFormatEntry = nullptr 
)
ScFormulaFrmtEntry::~ScFormulaFrmtEntry ( )
overridevirtual

Definition at line 523 of file condformatdlgentry.cxx.

Member Function Documentation

ScFormatEntry * ScFormulaFrmtEntry::createFormulaEntry ( ) const
private

Definition at line 540 of file condformatdlgentry.cxx.

References Direct, ScCondFrmtEntry::maPos, ScCondFrmtEntry::mpDoc, mxEdFormula, and mxLbStyle.

Referenced by GetEntry().

ScFormulaFrmtEntry::DECL_LINK ( StyleSelectHdl  ,
weld::ComboBox ,
void   
)
private
ScFormatEntry * ScFormulaFrmtEntry::GetEntry ( ) const
overridevirtual

Implements ScCondFrmtEntry.

Definition at line 550 of file condformatdlgentry.cxx.

References createFormulaEntry().

OUString ScFormulaFrmtEntry::GetExpressionString ( )
overrideprivatevirtual

Implements ScCondFrmtEntry.

Definition at line 555 of file condformatdlgentry.cxx.

References ScCondFormatHelper::GetExpression(), and mxEdFormula.

virtual condformat::entry::ScCondFrmtEntryType ScFormulaFrmtEntry::GetType ( )
inlineoverridevirtual

Implements ScCondFrmtEntry.

Definition at line 172 of file condformatdlgentry.hxx.

References condformat::entry::FORMULA.

void ScFormulaFrmtEntry::Init ( ScCondFormatDlg pDialogParent)
private

Definition at line 527 of file condformatdlgentry.cxx.

References LINK, ScCondFrmtEntry::mpDoc, mxEdFormula, and mxLbStyle.

Referenced by ScFormulaFrmtEntry().

void ScFormulaFrmtEntry::SetActive ( )
overridevirtual
void ScFormulaFrmtEntry::SetInactive ( )
overridevirtual

Member Data Documentation

SvxFontPrevWindow ScFormulaFrmtEntry::maWdPreview
private

Definition at line 152 of file condformatdlgentry.hxx.

std::unique_ptr<formula::RefEdit> ScFormulaFrmtEntry::mxEdFormula
private
std::unique_ptr<weld::Label> ScFormulaFrmtEntry::mxFtStyle
private

Definition at line 153 of file condformatdlgentry.hxx.

Referenced by SetActive(), and SetInactive().

std::unique_ptr<weld::ComboBox> ScFormulaFrmtEntry::mxLbStyle
private
std::unique_ptr<weld::CustomWeld> ScFormulaFrmtEntry::mxWdPreview
private

Definition at line 156 of file condformatdlgentry.hxx.

Referenced by ScFormulaFrmtEntry().

std::unique_ptr<weld::Widget> ScFormulaFrmtEntry::mxWdPreviewWin
private

Definition at line 155 of file condformatdlgentry.hxx.

Referenced by SetActive(), and SetInactive().


The documentation for this class was generated from the following files: