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

#include <condformatdlgentry.hxx>

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

Public Member Functions

 ScIconSetFrmtEntry (ScCondFormatList *pParent, ScDocument *pDoc, const ScAddress &rPos, const ScIconSetFormat *pFormat=nullptr)
 
virtual ~ScIconSetFrmtEntry () 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 Types

typedef std::vector< std::unique_ptr< ScIconSetFrmtDataEntry > > ScIconSetFrmtDataEntriesType
 

Private Member Functions

virtual OUString GetExpressionString () override
 
void Init ()
 
 DECL_LINK (IconSetTypeHdl, weld::ComboBox &, void)
 

Private Attributes

std::unique_ptr< weld::ComboBoxmxLbColorFormat
 
std::unique_ptr< weld::ComboBoxmxLbIconSetType
 
std::unique_ptr< weld::ContainermxIconParent
 
ScIconSetFrmtDataEntriesType maEntries
 

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 303 of file condformatdlgentry.hxx.

Member Typedef Documentation

◆ ScIconSetFrmtDataEntriesType

typedef std::vector<std::unique_ptr<ScIconSetFrmtDataEntry> > ScIconSetFrmtEntry::ScIconSetFrmtDataEntriesType
private

Definition at line 313 of file condformatdlgentry.hxx.

Constructor & Destructor Documentation

◆ ScIconSetFrmtEntry()

ScIconSetFrmtEntry::ScIconSetFrmtEntry ( ScCondFormatList pParent,
ScDocument pDoc,
const ScAddress rPos,
const ScIconSetFormat pFormat = nullptr 
)

◆ ~ScIconSetFrmtEntry()

ScIconSetFrmtEntry::~ScIconSetFrmtEntry ( )
overridevirtual

Definition at line 1463 of file condformatdlgentry.cxx.

Member Function Documentation

◆ DECL_LINK()

ScIconSetFrmtEntry::DECL_LINK ( IconSetTypeHdl  ,
weld::ComboBox ,
void   
)
private

◆ GetEntry()

ScFormatEntry * ScIconSetFrmtEntry::GetEntry ( ) const
overridevirtual

◆ GetExpressionString()

OUString ScIconSetFrmtEntry::GetExpressionString ( )
overrideprivatevirtual

Implements ScCondFrmtEntry.

Definition at line 1494 of file condformatdlgentry.cxx.

References ScCondFormatHelper::GetExpression(), and ICONSET.

◆ GetType()

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

Implements ScCondFrmtEntry.

Definition at line 328 of file condformatdlgentry.hxx.

References condformat::entry::ICONSET.

◆ Init()

void ScIconSetFrmtEntry::Init ( void  )
private

Definition at line 1467 of file condformatdlgentry.cxx.

References LINK, mxLbColorFormat, mxLbIconSetType, and ScCondFrmtEntry::mxLbType.

Referenced by ScIconSetFrmtEntry().

◆ SetActive()

void ScIconSetFrmtEntry::SetActive ( )
overridevirtual

◆ SetInactive()

void ScIconSetFrmtEntry::SetInactive ( )
overridevirtual

Member Data Documentation

◆ maEntries

ScIconSetFrmtDataEntriesType ScIconSetFrmtEntry::maEntries
private

Definition at line 314 of file condformatdlgentry.hxx.

Referenced by GetEntry(), ScIconSetFrmtEntry(), SetActive(), and SetInactive().

◆ mxIconParent

std::unique_ptr<weld::Container> ScIconSetFrmtEntry::mxIconParent
private

Definition at line 311 of file condformatdlgentry.hxx.

Referenced by ScIconSetFrmtEntry().

◆ mxLbColorFormat

std::unique_ptr<weld::ComboBox> ScIconSetFrmtEntry::mxLbColorFormat
private

Definition at line 306 of file condformatdlgentry.hxx.

Referenced by Init(), ScIconSetFrmtEntry(), SetActive(), and SetInactive().

◆ mxLbIconSetType

std::unique_ptr<weld::ComboBox> ScIconSetFrmtEntry::mxLbIconSetType
private

Definition at line 309 of file condformatdlgentry.hxx.

Referenced by GetEntry(), Init(), ScIconSetFrmtEntry(), SetActive(), and SetInactive().


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