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

#include <condformatdlgentry.hxx>

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

Public Member Functions

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

ScFormatEntrycreateColorscaleEntry () const
 
virtual OUString GetExpressionString () override
 
void Init ()
 
 DECL_LINK (EntryTypeHdl, weld::ComboBox &, void)
 

Private Attributes

std::unique_ptr< weld::ComboBoxmxLbColorFormat
 
std::unique_ptr< weld::ComboBoxmxLbEntryTypeMin
 
std::unique_ptr< weld::ComboBoxmxLbEntryTypeMax
 
std::unique_ptr< weld::EntrymxEdMin
 
std::unique_ptr< weld::EntrymxEdMax
 
std::unique_ptr< ColorListBoxmxLbColMin
 
std::unique_ptr< ColorListBoxmxLbColMax
 
std::unique_ptr< weld::LabelmxFtMin
 
std::unique_ptr< weld::LabelmxFtMax
 

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

Constructor & Destructor Documentation

◆ ScColorScale2FrmtEntry()

ScColorScale2FrmtEntry::ScColorScale2FrmtEntry ( ScCondFormatList pParent,
ScDocument pDoc,
const ScAddress rPos,
const ScColorScaleFormat pFormat = nullptr 
)

◆ ~ScColorScale2FrmtEntry()

ScColorScale2FrmtEntry::~ScColorScale2FrmtEntry ( )
overridevirtual

Definition at line 782 of file condformatdlgentry.cxx.

Member Function Documentation

◆ createColorscaleEntry()

ScFormatEntry * ScColorScale2FrmtEntry::createColorscaleEntry ( ) const
private

◆ DECL_LINK()

ScColorScale2FrmtEntry::DECL_LINK ( EntryTypeHdl  ,
weld::ComboBox ,
void   
)
private

◆ GetEntry()

ScFormatEntry * ScColorScale2FrmtEntry::GetEntry ( ) const
overridevirtual

Implements ScCondFrmtEntry.

Definition at line 807 of file condformatdlgentry.cxx.

References createColorscaleEntry().

◆ GetExpressionString()

OUString ScColorScale2FrmtEntry::GetExpressionString ( )
overrideprivatevirtual

Implements ScCondFrmtEntry.

Definition at line 802 of file condformatdlgentry.cxx.

References COLORSCALE, and ScCondFormatHelper::GetExpression().

◆ GetType()

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

Implements ScCondFrmtEntry.

Definition at line 199 of file condformatdlgentry.hxx.

References condformat::entry::COLORSCALE2.

◆ Init()

void ScColorScale2FrmtEntry::Init ( void  )
private

Definition at line 786 of file condformatdlgentry.cxx.

References LINK, mxLbColMax, mxLbColMin, mxLbEntryTypeMax, and mxLbEntryTypeMin.

◆ SetActive()

void ScColorScale2FrmtEntry::SetActive ( )
overridevirtual

◆ SetInactive()

void ScColorScale2FrmtEntry::SetInactive ( )
overridevirtual

Member Data Documentation

◆ mxEdMax

std::unique_ptr<weld::Entry> ScColorScale2FrmtEntry::mxEdMax
private

Definition at line 179 of file condformatdlgentry.hxx.

Referenced by createColorscaleEntry(), SetActive(), and SetInactive().

◆ mxEdMin

std::unique_ptr<weld::Entry> ScColorScale2FrmtEntry::mxEdMin
private

Definition at line 178 of file condformatdlgentry.hxx.

Referenced by createColorscaleEntry(), SetActive(), and SetInactive().

◆ mxFtMax

std::unique_ptr<weld::Label> ScColorScale2FrmtEntry::mxFtMax
private

Definition at line 185 of file condformatdlgentry.hxx.

◆ mxFtMin

std::unique_ptr<weld::Label> ScColorScale2FrmtEntry::mxFtMin
private

Definition at line 184 of file condformatdlgentry.hxx.

◆ mxLbColMax

std::unique_ptr<ColorListBox> ScColorScale2FrmtEntry::mxLbColMax
private

Definition at line 182 of file condformatdlgentry.hxx.

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

◆ mxLbColMin

std::unique_ptr<ColorListBox> ScColorScale2FrmtEntry::mxLbColMin
private

Definition at line 181 of file condformatdlgentry.hxx.

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

◆ mxLbColorFormat

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

Definition at line 172 of file condformatdlgentry.hxx.

Referenced by SetActive(), and SetInactive().

◆ mxLbEntryTypeMax

std::unique_ptr<weld::ComboBox> ScColorScale2FrmtEntry::mxLbEntryTypeMax
private

Definition at line 176 of file condformatdlgentry.hxx.

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

◆ mxLbEntryTypeMin

std::unique_ptr<weld::ComboBox> ScColorScale2FrmtEntry::mxLbEntryTypeMin
private

Definition at line 175 of file condformatdlgentry.hxx.

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


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