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

#include <condformatdlgentry.hxx>

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

Public Member Functions

 ScDateFrmtEntry (ScCondFormatList *pParent, ScDocument *pDoc, const ScCondDateFormatEntry *pFormat=nullptr)
 
virtual ~ScDateFrmtEntry () override
 
virtual ScFormatEntryGetEntry () const override
 
virtual void SetActive () override
 
virtual void SetInactive () override
 
virtual condformat::entry::ScCondFrmtEntryType GetType () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) 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
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Protected Member Functions

virtual OUString GetExpressionString () override
 
- Protected Member Functions inherited from ScCondFrmtEntry
virtual void Select ()
 
virtual void Deselect ()
 
virtual OUString GetExpressionString ()=0
 

Private Member Functions

void Init ()
 
 DECL_LINK (StyleSelectHdl, weld::ComboBox &, void)
 

Private Attributes

SvxFontPrevWindow maWdPreview
 
std::unique_ptr< weld::ComboBoxmxLbDateEntry
 
std::unique_ptr< weld::LabelmxFtStyle
 
std::unique_ptr< weld::ComboBoxmxLbStyle
 
std::unique_ptr< weld::WidgetmxWdPreviewWin
 
std::unique_ptr< weld::CustomWeldmxWdPreview
 
bool mbIsInStyleCreate
 

Additional Inherited Members

- Protected Attributes inherited from ScCondFrmtEntry
ScCondFormatListmpParent
 
std::unique_ptr< weld::BuildermxBuilder
 
std::unique_ptr< weld::ComboBoxmxLbType
 
ScDocumentmpDoc
 
ScAddress maPos
 

Detailed Description

Definition at line 273 of file condformatdlgentry.hxx.

Constructor & Destructor Documentation

◆ ScDateFrmtEntry()

ScDateFrmtEntry::ScDateFrmtEntry ( ScCondFormatList pParent,
ScDocument pDoc,
const ScCondDateFormatEntry pFormat = nullptr 
)

◆ ~ScDateFrmtEntry()

ScDateFrmtEntry::~ScDateFrmtEntry ( )
overridevirtual

Definition at line 1249 of file condformatdlgentry.cxx.

Member Function Documentation

◆ DECL_LINK()

ScDateFrmtEntry::DECL_LINK ( StyleSelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ GetEntry()

ScFormatEntry * ScDateFrmtEntry::GetEntry ( ) const
overridevirtual

◆ GetExpressionString()

OUString ScDateFrmtEntry::GetExpressionString ( )
overrideprotectedvirtual

Implements ScCondFrmtEntry.

Definition at line 1301 of file condformatdlgentry.cxx.

References ScCondFormatHelper::GetExpression(), and mxLbDateEntry.

◆ GetType()

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

Implements ScCondFrmtEntry.

Definition at line 281 of file condformatdlgentry.hxx.

References condformat::entry::DATE.

◆ Init()

void ScDateFrmtEntry::Init ( void  )
private

◆ Notify()

void ScDateFrmtEntry::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 1283 of file condformatdlgentry.cxx.

References SfxHint::GetId(), mbIsInStyleCreate, ScCondFrmtEntry::mpDoc, and mxLbStyle.

◆ SetActive()

void ScDateFrmtEntry::SetActive ( )
overridevirtual

◆ SetInactive()

void ScDateFrmtEntry::SetInactive ( )
overridevirtual

Member Data Documentation

◆ maWdPreview

SvxFontPrevWindow ScDateFrmtEntry::maWdPreview
private

Definition at line 293 of file condformatdlgentry.hxx.

◆ mbIsInStyleCreate

bool ScDateFrmtEntry::mbIsInStyleCreate
private

Definition at line 300 of file condformatdlgentry.hxx.

Referenced by Notify().

◆ mxFtStyle

std::unique_ptr<weld::Label> ScDateFrmtEntry::mxFtStyle
private

Definition at line 295 of file condformatdlgentry.hxx.

Referenced by SetActive(), and SetInactive().

◆ mxLbDateEntry

std::unique_ptr<weld::ComboBox> ScDateFrmtEntry::mxLbDateEntry
private

◆ mxLbStyle

std::unique_ptr<weld::ComboBox> ScDateFrmtEntry::mxLbStyle
private

Definition at line 296 of file condformatdlgentry.hxx.

Referenced by GetEntry(), Init(), Notify(), ScDateFrmtEntry(), SetActive(), and SetInactive().

◆ mxWdPreview

std::unique_ptr<weld::CustomWeld> ScDateFrmtEntry::mxWdPreview
private

Definition at line 298 of file condformatdlgentry.hxx.

Referenced by ScDateFrmtEntry().

◆ mxWdPreviewWin

std::unique_ptr<weld::Widget> ScDateFrmtEntry::mxWdPreviewWin
private

Definition at line 297 of file condformatdlgentry.hxx.

Referenced by SetActive(), and SetInactive().


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