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)
 
void SetPos (const ScAddress &rPos)
 
bool IsSelected () const
 
void SetIndex (sal_Int32 nIndex)
 

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

Definition at line 768 of file condformatdlgentry.cxx.

Member Function Documentation

ScFormatEntry * ScColorScale2FrmtEntry::createColorscaleEntry ( ) const
private
ScColorScale2FrmtEntry::DECL_LINK ( EntryTypeHdl  ,
weld::ComboBox ,
void   
)
private
ScFormatEntry * ScColorScale2FrmtEntry::GetEntry ( ) const
overridevirtual

Implements ScCondFrmtEntry.

Definition at line 793 of file condformatdlgentry.cxx.

References createColorscaleEntry().

OUString ScColorScale2FrmtEntry::GetExpressionString ( )
overrideprivatevirtual

Implements ScCondFrmtEntry.

Definition at line 788 of file condformatdlgentry.cxx.

References COLORSCALE, and ScCondFormatHelper::GetExpression().

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

Implements ScCondFrmtEntry.

Definition at line 199 of file condformatdlgentry.hxx.

References condformat::entry::COLORSCALE2.

void ScColorScale2FrmtEntry::Init ( void  )
private

Definition at line 772 of file condformatdlgentry.cxx.

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

Referenced by ScColorScale2FrmtEntry().

void ScColorScale2FrmtEntry::SetActive ( )
overridevirtual
void ScColorScale2FrmtEntry::SetInactive ( )
overridevirtual

Member Data Documentation

std::unique_ptr<weld::Entry> ScColorScale2FrmtEntry::mxEdMax
private
std::unique_ptr<weld::Entry> ScColorScale2FrmtEntry::mxEdMin
private
std::unique_ptr<weld::Label> ScColorScale2FrmtEntry::mxFtMax
private

Definition at line 185 of file condformatdlgentry.hxx.

Referenced by ScColorScale2FrmtEntry().

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

Definition at line 184 of file condformatdlgentry.hxx.

Referenced by ScColorScale2FrmtEntry().

std::unique_ptr<ColorListBox> ScColorScale2FrmtEntry::mxLbColMax
private
std::unique_ptr<ColorListBox> ScColorScale2FrmtEntry::mxLbColMin
private
std::unique_ptr<weld::ComboBox> ScColorScale2FrmtEntry::mxLbColorFormat
private

Definition at line 172 of file condformatdlgentry.hxx.

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

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

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