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_preferred_height () const
 
void SetPos (const ScAddress &rPos)
 
bool IsSelected () const
 
void SetIndex (sal_Int32 nIndex)
 
virtual ScFormatEntryGetEntry () const =0
 
virtual void SetActive ()=0
 
virtual void SetInactive ()=0
 
virtual condformat::entry::ScCondFrmtEntryType GetType ()=0
 

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 ()
 
virtual OUString GetExpressionString ()=0
 
- Protected Attributes inherited from ScCondFrmtEntry
ScCondFormatListmpParent
 
std::unique_ptr< weld::BuildermxBuilder
 
std::unique_ptr< weld::ComboBoxmxLbType
 
ScDocumentmpDoc
 
ScAddress maPos
 

Detailed Description

Definition at line 143 of file condformatdlgentry.hxx.

Constructor & Destructor Documentation

◆ ScFormulaFrmtEntry()

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

◆ ~ScFormulaFrmtEntry()

ScFormulaFrmtEntry::~ScFormulaFrmtEntry ( )
overridevirtual

Definition at line 534 of file condformatdlgentry.cxx.

Member Function Documentation

◆ createFormulaEntry()

ScFormatEntry * ScFormulaFrmtEntry::createFormulaEntry ( ) const
private

Definition at line 551 of file condformatdlgentry.cxx.

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

Referenced by GetEntry().

◆ DECL_LINK()

ScFormulaFrmtEntry::DECL_LINK ( StyleSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ GetEntry()

ScFormatEntry * ScFormulaFrmtEntry::GetEntry ( ) const
overridevirtual

Implements ScCondFrmtEntry.

Definition at line 561 of file condformatdlgentry.cxx.

References createFormulaEntry().

◆ GetExpressionString()

OUString ScFormulaFrmtEntry::GetExpressionString ( )
overrideprivatevirtual

Implements ScCondFrmtEntry.

Definition at line 566 of file condformatdlgentry.cxx.

References ScCondFormatHelper::GetExpression(), and mxEdFormula.

◆ GetType()

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

Implements ScCondFrmtEntry.

Definition at line 165 of file condformatdlgentry.hxx.

References condformat::entry::FORMULA.

◆ Init()

void ScFormulaFrmtEntry::Init ( ScCondFormatDlg pDialogParent)
private

Definition at line 538 of file condformatdlgentry.cxx.

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

Referenced by ScFormulaFrmtEntry().

◆ SetActive()

void ScFormulaFrmtEntry::SetActive ( )
overridevirtual

◆ SetInactive()

void ScFormulaFrmtEntry::SetInactive ( )
overridevirtual

Member Data Documentation

◆ maWdPreview

SvxFontPrevWindow ScFormulaFrmtEntry::maWdPreview
private

Definition at line 145 of file condformatdlgentry.hxx.

◆ mxEdFormula

std::unique_ptr<formula::RefEdit> ScFormulaFrmtEntry::mxEdFormula
private

◆ mxFtStyle

std::unique_ptr<weld::Label> ScFormulaFrmtEntry::mxFtStyle
private

Definition at line 146 of file condformatdlgentry.hxx.

Referenced by SetActive(), and SetInactive().

◆ mxLbStyle

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

◆ mxWdPreview

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

Definition at line 149 of file condformatdlgentry.hxx.

Referenced by ScFormulaFrmtEntry().

◆ mxWdPreviewWin

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

Definition at line 148 of file condformatdlgentry.hxx.

Referenced by SetActive(), and SetInactive().


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