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

#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)
 
- 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)
 
void CallSelectHdl ()
 
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)
 
- Protected Attributes inherited from SwNumFormatBase
SvNumFormatType nCurrFormatType
 
bool mbCurrFormatTypeNeedsInit
 
sal_Int32 nStdEntry
 
bool bOneArea
 
sal_uInt32 nDefFormat
 
LanguageType eCurLanguage
 
bool bShowLanguageControl
 
bool bUseAutomaticLanguage
 

Detailed Description

Definition at line 73 of file numfmtlb.hxx.

Constructor & Destructor Documentation

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

Definition at line 132 of file numfmtlb.cxx.

References Init().

Member Function Documentation

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

Implements SwNumFormatBase.

Definition at line 92 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 93 of file numfmtlb.hxx.

void NumFormatListBox::clear ( )
overridevirtual

Reimplemented from SwNumFormatBase.

Definition at line 466 of file numfmtlb.cxx.

References SwNumFormatBase::clear(), and mxControl.

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

Definition at line 101 of file numfmtlb.hxx.

NumFormatListBox::DECL_DLLPRIVATE_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private
virtual int NumFormatListBox::get_active ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 88 of file numfmtlb.hxx.

virtual int NumFormatListBox::get_count ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 87 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 89 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 90 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 91 of file numfmtlb.hxx.

sal_uInt32 NumFormatListBox::GetFormat ( ) const
overridevirtual

Implements SwNumFormatBase.

Definition at line 364 of file numfmtlb.cxx.

References mxControl.

void NumFormatListBox::hide ( )
inline

Definition at line 98 of file numfmtlb.hxx.

void NumFormatListBox::Init ( void  )
overrideprivatevirtual

Reimplemented from SwNumFormatBase.

Definition at line 157 of file numfmtlb.cxx.

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

Referenced by NumFormatListBox().

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

Implements SwNumFormatBase.

Definition at line 94 of file numfmtlb.hxx.

virtual void NumFormatListBox::set_active ( int  nPos)
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 95 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 96 of file numfmtlb.hxx.

void NumFormatListBox::set_sensitive ( bool  bSensitive)
inline

Definition at line 100 of file numfmtlb.hxx.

void NumFormatListBox::show ( )
inline

Definition at line 97 of file numfmtlb.hxx.

Member Data Documentation

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

Definition at line 75 of file numfmtlb.hxx.

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


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