LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
NumFormatListBox Class Referencefinal

#include <numfmtlb.hxx>

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

Public Member Functions

 NumFormatListBox (std::unique_ptr< weld::ComboBox > xControl)
 
virtual sal_uInt32 GetFormat () const override
 
virtual void clear () override
 
virtual int get_count () const override
 
virtual int get_active () const override
 
virtual OUString get_id (int nPos) const override
 
virtual OUString get_text (int nPos) const override
 
virtual weld::Widgetget_widget () const override
 
virtual void append (const OUString &rId, const OUString &rText) override
 
virtual void append_text (const OUString &rText) override
 
virtual void insert_text (int nPos, const OUString &rText) override
 
virtual void set_active (int nPos) override
 
virtual void set_id (int nPos, const OUString &rId) override
 
void show ()
 
void hide ()
 
void set_sensitive (bool bSensitive)
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 
OUString get_buildable_name () const
 
void set_buildable_name (const OUString &rId)
 
- Public Member Functions inherited from SwNumFormatBase
 SwNumFormatBase ()
 
void SetAutomaticLanguage (bool bSet)
 
bool IsAutomaticLanguage () const
 
SvNumFormatType GetFormatType () const
 
LanguageType GetCurLanguage () const
 
void SetLanguage (LanguageType eSet)
 
void SetShowLanguageControl (bool bSet)
 
void SetOneArea (bool bOnlyOne)
 
void SetFormatType (const SvNumFormatType nFormatType)
 
void SetDefFormat (const sal_uInt32 nDefFormat)
 
virtual sal_uInt32 GetFormat () const =0
 
virtual void Init ()
 
void CallSelectHdl ()
 
virtual void clear ()
 
virtual int get_count () const =0
 
virtual int get_active () const =0
 
virtual OUString get_id (int nPos) const =0
 
virtual OUString get_text (int nPos) const =0
 
virtual weld::Widgetget_widget () const =0
 
virtual void append (const OUString &rId, const OUString &rText)=0
 
virtual void append_text (const OUString &rText)=0
 
virtual void insert_text (int nPos, const OUString &rText)=0
 
virtual void set_active (int nPos)=0
 
virtual void set_id (int nPos, const OUString &rId)=0
 
virtual ~SwNumFormatBase ()
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (SelectHdl, weld::ComboBox &, void)
 
virtual void Init () override
 

Private Attributes

std::unique_ptr< weld::ComboBoxmxControl
 

Additional Inherited Members

- Static Public Member Functions inherited from SwNumFormatBase
static SAL_DLLPRIVATE double GetDefValue (const SvNumFormatType nFormatType)
 

Detailed Description

Definition at line 72 of file numfmtlb.hxx.

Constructor & Destructor Documentation

◆ NumFormatListBox()

NumFormatListBox::NumFormatListBox ( std::unique_ptr< weld::ComboBox xControl)

Definition at line 129 of file numfmtlb.cxx.

References Init().

Member Function Documentation

◆ append()

virtual void NumFormatListBox::append ( const OUString &  rId,
const OUString &  rText 
)
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 91 of file numfmtlb.hxx.

◆ append_text()

virtual void NumFormatListBox::append_text ( const OUString &  rText)
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 92 of file numfmtlb.hxx.

◆ clear()

void NumFormatListBox::clear ( )
overridevirtual

Reimplemented from SwNumFormatBase.

Definition at line 458 of file numfmtlb.cxx.

References SwNumFormatBase::clear(), and mxControl.

◆ connect_changed()

void NumFormatListBox::connect_changed ( const Link< weld::ComboBox &, void > &  rLink)
inline

Definition at line 100 of file numfmtlb.hxx.

◆ DECL_DLLPRIVATE_LINK()

NumFormatListBox::DECL_DLLPRIVATE_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private

References GetFormat(), and Init().

◆ get_active()

virtual int NumFormatListBox::get_active ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 87 of file numfmtlb.hxx.

◆ get_buildable_name()

OUString NumFormatListBox::get_buildable_name ( ) const
inline

Definition at line 101 of file numfmtlb.hxx.

◆ get_count()

virtual int NumFormatListBox::get_count ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 86 of file numfmtlb.hxx.

◆ get_id()

virtual OUString NumFormatListBox::get_id ( int  nPos) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 88 of file numfmtlb.hxx.

References nPos.

◆ get_text()

virtual OUString NumFormatListBox::get_text ( int  nPos) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 89 of file numfmtlb.hxx.

References nPos.

◆ get_widget()

virtual weld::Widget & NumFormatListBox::get_widget ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 90 of file numfmtlb.hxx.

◆ GetFormat()

sal_uInt32 NumFormatListBox::GetFormat ( ) const
overridevirtual

Implements SwNumFormatBase.

Definition at line 357 of file numfmtlb.cxx.

References mxControl.

◆ hide()

void NumFormatListBox::hide ( )
inline

Definition at line 97 of file numfmtlb.hxx.

◆ Init()

void NumFormatListBox::Init ( void  )
overrideprivatevirtual

Reimplemented from SwNumFormatBase.

Definition at line 152 of file numfmtlb.cxx.

References SwNumFormatBase::Init(), LINK, and mxControl.

Referenced by NumFormatListBox().

◆ insert_text()

virtual void NumFormatListBox::insert_text ( int  nPos,
const OUString &  rText 
)
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 93 of file numfmtlb.hxx.

References nPos.

◆ set_active()

virtual void NumFormatListBox::set_active ( int  nPos)
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 94 of file numfmtlb.hxx.

References nPos.

◆ set_buildable_name()

void NumFormatListBox::set_buildable_name ( const OUString &  rId)
inline

Definition at line 102 of file numfmtlb.hxx.

◆ set_id()

virtual void NumFormatListBox::set_id ( int  nPos,
const OUString &  rId 
)
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 95 of file numfmtlb.hxx.

References nPos.

◆ set_sensitive()

void NumFormatListBox::set_sensitive ( bool  bSensitive)
inline

Definition at line 99 of file numfmtlb.hxx.

◆ show()

void NumFormatListBox::show ( )
inline

Definition at line 96 of file numfmtlb.hxx.

Member Data Documentation

◆ mxControl

std::unique_ptr<weld::ComboBox> NumFormatListBox::mxControl
private

Definition at line 74 of file numfmtlb.hxx.

Referenced by clear(), GetFormat(), and Init().


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