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

#include <numfmtlb.hxx>

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

Public Member Functions

 SwNumFormatListBox (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

- 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 113 of file numfmtlb.hxx.

Constructor & Destructor Documentation

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

Definition at line 467 of file numfmtlb.cxx.

References Init().

Member Function Documentation

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

Implements SwNumFormatBase.

Definition at line 132 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 133 of file numfmtlb.hxx.

void SwNumFormatListBox::clear ( )
overridevirtual

Reimplemented from SwNumFormatBase.

Definition at line 801 of file numfmtlb.cxx.

References SwNumFormatBase::clear(), and mxControl.

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

Definition at line 141 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 128 of file numfmtlb.hxx.

virtual int SwNumFormatListBox::get_count ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 127 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 129 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 130 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 131 of file numfmtlb.hxx.

sal_uInt32 SwNumFormatListBox::GetFormat ( ) const
overridevirtual

Implements SwNumFormatBase.

Definition at line 699 of file numfmtlb.cxx.

References mxControl.

void SwNumFormatListBox::hide ( )
inline

Definition at line 138 of file numfmtlb.hxx.

void SwNumFormatListBox::Init ( void  )
overrideprivatevirtual

Reimplemented from SwNumFormatBase.

Definition at line 492 of file numfmtlb.cxx.

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

Referenced by SwNumFormatListBox().

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

Implements SwNumFormatBase.

Definition at line 134 of file numfmtlb.hxx.

virtual void SwNumFormatListBox::set_active ( int  nPos)
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 135 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 136 of file numfmtlb.hxx.

void SwNumFormatListBox::set_sensitive ( bool  bSensitive)
inline

Definition at line 140 of file numfmtlb.hxx.

void SwNumFormatListBox::show ( )
inline

Definition at line 137 of file numfmtlb.hxx.

Member Data Documentation

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

Definition at line 115 of file numfmtlb.hxx.

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


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