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

#include <numfmtlb.hxx>

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

Public Member Functions

 SwNumFormatTreeView (std::unique_ptr< weld::TreeView > 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
 
OUString get_selected_text () const
 
bool get_visible () const
 
int get_selected_index () const
 
void set_visible (bool bVisible)
 
void select (int nPos)
 
void connect_row_activated (const Link< weld::TreeView &, bool > &rLink)
 
OString get_buildable_name () const
 
void set_buildable_name (const OString &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::TreeView &, void)
 
virtual void Init () override
 

Private Attributes

std::unique_ptr< weld::TreeViewmxControl
 

Additional Inherited Members

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

Detailed Description

Definition at line 105 of file numfmtlb.hxx.

Constructor & Destructor Documentation

◆ SwNumFormatTreeView()

SwNumFormatTreeView::SwNumFormatTreeView ( std::unique_ptr< weld::TreeView xControl)

Definition at line 135 of file numfmtlb.cxx.

References Init().

Member Function Documentation

◆ append()

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

Implements SwNumFormatBase.

Definition at line 124 of file numfmtlb.hxx.

◆ append_text()

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

Implements SwNumFormatBase.

Definition at line 125 of file numfmtlb.hxx.

◆ clear()

void SwNumFormatTreeView::clear ( )
overridevirtual

Reimplemented from SwNumFormatBase.

Definition at line 468 of file numfmtlb.cxx.

References SwNumFormatBase::clear(), and mxControl.

◆ connect_row_activated()

void SwNumFormatTreeView::connect_row_activated ( const Link< weld::TreeView &, bool > &  rLink)
inline

Definition at line 134 of file numfmtlb.hxx.

◆ DECL_DLLPRIVATE_LINK()

SwNumFormatTreeView::DECL_DLLPRIVATE_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private

References GetFormat(), and Init().

◆ get_active()

virtual int SwNumFormatTreeView::get_active ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 120 of file numfmtlb.hxx.

◆ get_buildable_name()

OString SwNumFormatTreeView::get_buildable_name ( ) const
inline

Definition at line 135 of file numfmtlb.hxx.

◆ get_count()

virtual int SwNumFormatTreeView::get_count ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 119 of file numfmtlb.hxx.

◆ get_id()

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

Implements SwNumFormatBase.

Definition at line 121 of file numfmtlb.hxx.

References nPos.

◆ get_selected_index()

int SwNumFormatTreeView::get_selected_index ( ) const
inline

Definition at line 131 of file numfmtlb.hxx.

◆ get_selected_text()

OUString SwNumFormatTreeView::get_selected_text ( ) const
inline

Definition at line 129 of file numfmtlb.hxx.

◆ get_text()

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

Implements SwNumFormatBase.

Definition at line 122 of file numfmtlb.hxx.

References nPos.

◆ get_visible()

bool SwNumFormatTreeView::get_visible ( ) const
inline

Definition at line 130 of file numfmtlb.hxx.

◆ get_widget()

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

Implements SwNumFormatBase.

Definition at line 123 of file numfmtlb.hxx.

◆ GetFormat()

sal_uInt32 SwNumFormatTreeView::GetFormat ( ) const
overridevirtual

Implements SwNumFormatBase.

Definition at line 366 of file numfmtlb.cxx.

References mxControl.

◆ Init()

void SwNumFormatTreeView::Init ( void  )
overrideprivatevirtual

Reimplemented from SwNumFormatBase.

Definition at line 161 of file numfmtlb.cxx.

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

Referenced by SwNumFormatTreeView().

◆ insert_text()

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

Implements SwNumFormatBase.

Definition at line 126 of file numfmtlb.hxx.

References nPos.

◆ select()

void SwNumFormatTreeView::select ( int  nPos)
inline

Definition at line 133 of file numfmtlb.hxx.

References nPos.

◆ set_active()

virtual void SwNumFormatTreeView::set_active ( int  nPos)
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 127 of file numfmtlb.hxx.

References nPos.

◆ set_buildable_name()

void SwNumFormatTreeView::set_buildable_name ( const OString &  rId)
inline

Definition at line 136 of file numfmtlb.hxx.

◆ set_id()

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

Implements SwNumFormatBase.

Definition at line 128 of file numfmtlb.hxx.

References nPos.

◆ set_visible()

void SwNumFormatTreeView::set_visible ( bool  bVisible)
inline

Definition at line 132 of file numfmtlb.hxx.

References bVisible.

Member Data Documentation

◆ mxControl

std::unique_ptr<weld::TreeView> SwNumFormatTreeView::mxControl
private

Definition at line 107 of file numfmtlb.hxx.

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


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