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)
 
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 &, voidmaClickHdl
 

Detailed Description

Definition at line 43 of file condformatdlgentry.hxx.

Constructor & Destructor Documentation

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

Definition at line 48 of file condformatdlgentry.cxx.

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

ScCondFrmtEntry::~ScCondFrmtEntry ( )
virtual

Member Function Documentation

ScCondFrmtEntry::DECL_LINK ( EntrySelectHdl  ,
const MouseEvent ,
bool   
)
private
void ScCondFrmtEntry::Deselect ( )
protectedvirtual
virtual ScFormatEntry* ScCondFrmtEntry::GetEntry ( ) const
pure virtual
virtual OUString ScCondFrmtEntry::GetExpressionString ( )
protectedpure virtual
virtual condformat::entry::ScCondFrmtEntryType ScCondFrmtEntry::GetType ( )
pure virtual
bool ScCondFrmtEntry::IsSelected ( ) const
inline

Definition at line 82 of file condformatdlgentry.hxx.

References mbActive.

void ScCondFrmtEntry::Select ( )
protectedvirtual
void ScCondFrmtEntry::set_grid_top_attach ( int  nAttach)
inline

Definition at line 79 of file condformatdlgentry.hxx.

virtual void ScCondFrmtEntry::SetActive ( )
pure virtual
virtual void ScCondFrmtEntry::SetInactive ( )
pure virtual
void ScCondFrmtEntry::SetIndex ( sal_Int32  nIndex)

Definition at line 80 of file condformatdlgentry.cxx.

References maStrCondition, and mxFtCondNr.

void ScCondFrmtEntry::SetPos ( const ScAddress rPos)
inline

Definition at line 81 of file condformatdlgentry.hxx.

void ScCondFrmtEntry::Show ( )
inline

Definition at line 77 of file condformatdlgentry.hxx.

Referenced by ScCondFrmtEntry().

Member Data Documentation

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

Definition at line 58 of file condformatdlgentry.hxx.

Referenced by ScCondFrmtEntry().

ScAddress ScCondFrmtEntry::maPos
protected
OUString const ScCondFrmtEntry::maStrCondition
private

Definition at line 57 of file condformatdlgentry.hxx.

Referenced by SetIndex().

bool ScCondFrmtEntry::mbActive
private

Definition at line 56 of file condformatdlgentry.hxx.

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

ScDocument* ScCondFrmtEntry::mpDoc
protected
ScCondFormatList* ScCondFrmtEntry::mpParent
protected

Definition at line 46 of file condformatdlgentry.hxx.

Referenced by ~ScCondFrmtEntry().

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

Definition at line 51 of file condformatdlgentry.hxx.

Referenced by ~ScCondFrmtEntry().

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

Definition at line 47 of file condformatdlgentry.hxx.

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

Definition at line 54 of file condformatdlgentry.hxx.

Referenced by Deselect(), and Select().

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

Definition at line 53 of file condformatdlgentry.hxx.

Referenced by SetIndex().

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

Definition at line 52 of file condformatdlgentry.hxx.

Referenced by ScCondFrmtEntry().

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

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