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

#include <condformatdlgentry.hxx>

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

Public Member Functions

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

ScFormatEntrycreateDatabarEntry () const
 
virtual OUString GetExpressionString () override
 
void Init ()
 
 DECL_LINK (OptionBtnHdl, weld::Button &, void)
 
 DECL_LINK (DataBarTypeSelectHdl, weld::ComboBox &, void)
 

Private Attributes

std::unique_ptr< weld::ComboBoxmxLbColorFormat
 
std::unique_ptr< weld::ComboBoxmxLbDataBarMinType
 
std::unique_ptr< weld::ComboBoxmxLbDataBarMaxType
 
std::unique_ptr< weld::EntrymxEdDataBarMin
 
std::unique_ptr< weld::EntrymxEdDataBarMax
 
std::unique_ptr< weld::ButtonmxBtOptions
 
std::unique_ptr< weld::LabelmxFtMin
 
std::unique_ptr< weld::LabelmxFtMax
 
std::unique_ptr< ScDataBarFormatDatampDataBarData
 

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

Constructor & Destructor Documentation

◆ ScDataBarFrmtEntry()

ScDataBarFrmtEntry::ScDataBarFrmtEntry ( ScCondFormatList pParemt,
ScDocument pDoc,
const ScAddress rPos,
const ScDataBarFormat pFormat = nullptr 
)

◆ ~ScDataBarFrmtEntry()

ScDataBarFrmtEntry::~ScDataBarFrmtEntry ( )
overridevirtual

Definition at line 1122 of file condformatdlgentry.cxx.

Member Function Documentation

◆ createDatabarEntry()

ScFormatEntry * ScDataBarFrmtEntry::createDatabarEntry ( ) const
private

◆ DECL_LINK() [1/2]

ScDataBarFrmtEntry::DECL_LINK ( DataBarTypeSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/2]

ScDataBarFrmtEntry::DECL_LINK ( OptionBtnHdl  ,
weld::Button ,
void   
)
private

◆ GetEntry()

ScFormatEntry * ScDataBarFrmtEntry::GetEntry ( ) const
overridevirtual

Implements ScCondFrmtEntry.

Definition at line 1126 of file condformatdlgentry.cxx.

References createDatabarEntry().

◆ GetExpressionString()

OUString ScDataBarFrmtEntry::GetExpressionString ( )
overrideprivatevirtual

Implements ScCondFrmtEntry.

Definition at line 1160 of file condformatdlgentry.cxx.

References DATABAR, and ScCondFormatHelper::GetExpression().

◆ GetType()

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

Implements ScCondFrmtEntry.

Definition at line 270 of file condformatdlgentry.hxx.

References condformat::entry::DATABAR.

◆ Init()

void ScDataBarFrmtEntry::Init ( void  )
private

◆ SetActive()

void ScDataBarFrmtEntry::SetActive ( )
overridevirtual

◆ SetInactive()

void ScDataBarFrmtEntry::SetInactive ( )
overridevirtual

Member Data Documentation

◆ mpDataBarData

std::unique_ptr<ScDataBarFormatData> ScDataBarFrmtEntry::mpDataBarData
private

Definition at line 254 of file condformatdlgentry.hxx.

Referenced by createDatabarEntry(), Init(), and ScDataBarFrmtEntry().

◆ mxBtOptions

std::unique_ptr<weld::Button> ScDataBarFrmtEntry::mxBtOptions
private

Definition at line 249 of file condformatdlgentry.hxx.

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

◆ mxEdDataBarMax

std::unique_ptr<weld::Entry> ScDataBarFrmtEntry::mxEdDataBarMax
private

◆ mxEdDataBarMin

std::unique_ptr<weld::Entry> ScDataBarFrmtEntry::mxEdDataBarMin
private

◆ mxFtMax

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

Definition at line 252 of file condformatdlgentry.hxx.

Referenced by ScDataBarFrmtEntry().

◆ mxFtMin

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

Definition at line 251 of file condformatdlgentry.hxx.

Referenced by ScDataBarFrmtEntry().

◆ mxLbColorFormat

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

Definition at line 242 of file condformatdlgentry.hxx.

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

◆ mxLbDataBarMaxType

std::unique_ptr<weld::ComboBox> ScDataBarFrmtEntry::mxLbDataBarMaxType
private

◆ mxLbDataBarMinType

std::unique_ptr<weld::ComboBox> ScDataBarFrmtEntry::mxLbDataBarMinType
private

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