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

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

Detailed Description

Definition at line 246 of file condformatdlgentry.hxx.

Constructor & Destructor Documentation

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

Definition at line 1111 of file condformatdlgentry.cxx.

Member Function Documentation

ScFormatEntry * ScDataBarFrmtEntry::createDatabarEntry ( ) const
private
ScDataBarFrmtEntry::DECL_LINK ( OptionBtnHdl  ,
weld::Button ,
void   
)
private
ScDataBarFrmtEntry::DECL_LINK ( DataBarTypeSelectHdl  ,
weld::ComboBox ,
void   
)
private
ScFormatEntry * ScDataBarFrmtEntry::GetEntry ( ) const
overridevirtual

Implements ScCondFrmtEntry.

Definition at line 1115 of file condformatdlgentry.cxx.

References createDatabarEntry().

OUString ScDataBarFrmtEntry::GetExpressionString ( )
overrideprivatevirtual

Implements ScCondFrmtEntry.

Definition at line 1149 of file condformatdlgentry.cxx.

References DATABAR, and ScCondFormatHelper::GetExpression().

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

Implements ScCondFrmtEntry.

Definition at line 277 of file condformatdlgentry.hxx.

References condformat::entry::DATABAR.

void ScDataBarFrmtEntry::Init ( void  )
private
void ScDataBarFrmtEntry::SetActive ( )
overridevirtual
void ScDataBarFrmtEntry::SetInactive ( )
overridevirtual

Member Data Documentation

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

Definition at line 261 of file condformatdlgentry.hxx.

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

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

Definition at line 256 of file condformatdlgentry.hxx.

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

std::unique_ptr<weld::Entry> ScDataBarFrmtEntry::mxEdDataBarMax
private
std::unique_ptr<weld::Entry> ScDataBarFrmtEntry::mxEdDataBarMin
private
std::unique_ptr<weld::Label> ScDataBarFrmtEntry::mxFtMax
private

Definition at line 259 of file condformatdlgentry.hxx.

Referenced by ScDataBarFrmtEntry().

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

Definition at line 258 of file condformatdlgentry.hxx.

Referenced by ScDataBarFrmtEntry().

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

Definition at line 249 of file condformatdlgentry.hxx.

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

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

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