LibreOffice Module sc (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
ScCondFrmtEntry Class Referenceabstract

#include <condformatdlgentry.hxx>

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

Public Member Functions

 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
 

Protected Member Functions

virtual void Select ()
 
virtual void Deselect ()
 
virtual OUString GetExpressionString ()=0
 

Protected Attributes

ScCondFormatListmpParent
 
std::unique_ptr< weld::BuildermxBuilder
 
std::unique_ptr< weld::ComboBoxmxLbType
 
ScDocumentmpDoc
 
ScAddress maPos
 

Private Member Functions

 DECL_LINK (EntrySelectHdl, const MouseEvent &, bool)
 

Private Attributes

std::unique_ptr< weld::WidgetmxBorder
 
std::unique_ptr< weld::ContainermxGrid
 
std::unique_ptr< weld::LabelmxFtCondNr
 
std::unique_ptr< weld::LabelmxFtCondition
 
bool mbActive
 
OUString const maStrCondition
 
Link< ScCondFrmtEntry &, void > maClickHdl
 

Detailed Description

Definition at line 42 of file condformatdlgentry.hxx.

Constructor & Destructor Documentation

◆ ScCondFrmtEntry()

ScCondFrmtEntry::ScCondFrmtEntry ( ScCondFormatList pParent,
ScDocument pDoc,
const ScAddress rPos 
)

Definition at line 47 of file condformatdlgentry.cxx.

References CommonWidgetWidth, LINK, maClickHdl, mbActive, mpParent, mxGrid, mxLbType, and Show().

◆ ~ScCondFrmtEntry()

ScCondFrmtEntry::~ScCondFrmtEntry ( )
virtual

Member Function Documentation

◆ DECL_LINK()

ScCondFrmtEntry::DECL_LINK ( EntrySelectHdl  ,
const MouseEvent ,
bool   
)
private

◆ Deselect()

void ScCondFrmtEntry::Deselect ( )
protectedvirtual

◆ get_preferred_height()

int ScCondFrmtEntry::get_preferred_height ( ) const
inline

Definition at line 79 of file condformatdlgentry.hxx.

References mxBorder.

◆ GetEntry()

virtual ScFormatEntry * ScCondFrmtEntry::GetEntry ( ) const
pure virtual

◆ GetExpressionString()

virtual OUString ScCondFrmtEntry::GetExpressionString ( )
protectedpure virtual

◆ GetType()

virtual condformat::entry::ScCondFrmtEntryType ScCondFrmtEntry::GetType ( )
pure virtual

◆ IsSelected()

bool ScCondFrmtEntry::IsSelected ( ) const
inline

Definition at line 82 of file condformatdlgentry.hxx.

References mbActive.

◆ Select()

void ScCondFrmtEntry::Select ( )
protectedvirtual

◆ set_grid_top_attach()

void ScCondFrmtEntry::set_grid_top_attach ( int  nAttach)
inline

Definition at line 78 of file condformatdlgentry.hxx.

References mxBorder.

◆ SetActive()

virtual void ScCondFrmtEntry::SetActive ( )
pure virtual

◆ SetInactive()

virtual void ScCondFrmtEntry::SetInactive ( )
pure virtual

◆ SetIndex()

void ScCondFrmtEntry::SetIndex ( sal_Int32  nIndex)

Definition at line 79 of file condformatdlgentry.cxx.

References maStrCondition, mxFtCondition, mxFtCondNr, and nIndex.

◆ SetPos()

void ScCondFrmtEntry::SetPos ( const ScAddress rPos)
inline

Definition at line 81 of file condformatdlgentry.hxx.

References maPos.

◆ Show()

void ScCondFrmtEntry::Show ( )
inline

Definition at line 76 of file condformatdlgentry.hxx.

References mxGrid.

Referenced by ScCondFrmtEntry().

Member Data Documentation

◆ maClickHdl

Link<ScCondFrmtEntry&,void> ScCondFrmtEntry::maClickHdl
private

Definition at line 57 of file condformatdlgentry.hxx.

Referenced by ScCondFrmtEntry().

◆ maPos

ScAddress ScCondFrmtEntry::maPos
protected

◆ maStrCondition

OUString const ScCondFrmtEntry::maStrCondition
private

Definition at line 56 of file condformatdlgentry.hxx.

Referenced by SetIndex().

◆ mbActive

bool ScCondFrmtEntry::mbActive
private

Definition at line 55 of file condformatdlgentry.hxx.

Referenced by Deselect(), IsSelected(), and Select().

◆ mpDoc

ScDocument* ScCondFrmtEntry::mpDoc
protected

◆ mpParent

ScCondFormatList* ScCondFrmtEntry::mpParent
protected

◆ mxBorder

std::unique_ptr<weld::Widget> ScCondFrmtEntry::mxBorder
private

◆ mxBuilder

std::unique_ptr<weld::Builder> ScCondFrmtEntry::mxBuilder
protected

Definition at line 46 of file condformatdlgentry.hxx.

◆ mxFtCondition

std::unique_ptr<weld::Label> ScCondFrmtEntry::mxFtCondition
private

Definition at line 53 of file condformatdlgentry.hxx.

Referenced by Deselect(), Select(), and SetIndex().

◆ mxFtCondNr

std::unique_ptr<weld::Label> ScCondFrmtEntry::mxFtCondNr
private

Definition at line 52 of file condformatdlgentry.hxx.

Referenced by SetIndex().

◆ mxGrid

std::unique_ptr<weld::Container> ScCondFrmtEntry::mxGrid
private

Definition at line 51 of file condformatdlgentry.hxx.

Referenced by ScCondFrmtEntry(), and Show().

◆ mxLbType

std::unique_ptr<weld::ComboBox> ScCondFrmtEntry::mxLbType
protected

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