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

#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
 
bool get_value_changed_from_saved () const
 
void save_value ()
 
void show ()
 
void hide ()
 
int get_selected_index () const
 
void set_visible (bool bVisible)
 
void select (int nPos)
 
void connect_row_activated (const Link< weld::TreeView &, void > &rLink)
 
void set_sensitive (bool bSensitive)
 
void connect_changed (const Link< weld::TreeView &, 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::TreeView &, void)
 
virtual void Init () override
 

Private Attributes

std::unique_ptr< weld::TreeViewmxControl
 

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

Constructor & Destructor Documentation

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

Definition at line 473 of file numfmtlb.cxx.

References Init().

Member Function Documentation

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

Implements SwNumFormatBase.

Definition at line 163 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 164 of file numfmtlb.hxx.

void SwNumFormatTreeView::clear ( )
overridevirtual

Reimplemented from SwNumFormatBase.

Definition at line 807 of file numfmtlb.cxx.

References SwNumFormatBase::clear(), and mxControl.

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

Definition at line 180 of file numfmtlb.hxx.

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

Definition at line 177 of file numfmtlb.hxx.

SwNumFormatTreeView::DECL_DLLPRIVATE_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private
virtual int SwNumFormatTreeView::get_active ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 159 of file numfmtlb.hxx.

virtual int SwNumFormatTreeView::get_count ( ) const
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 158 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 160 of file numfmtlb.hxx.

int SwNumFormatTreeView::get_selected_index ( ) const
inline

Definition at line 174 of file numfmtlb.hxx.

OUString SwNumFormatTreeView::get_selected_text ( ) const
inline

Definition at line 168 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 161 of file numfmtlb.hxx.

bool SwNumFormatTreeView::get_value_changed_from_saved ( ) const
inline

Definition at line 170 of file numfmtlb.hxx.

bool SwNumFormatTreeView::get_visible ( ) const
inline

Definition at line 169 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 162 of file numfmtlb.hxx.

sal_uInt32 SwNumFormatTreeView::GetFormat ( ) const
overridevirtual

Implements SwNumFormatBase.

Definition at line 704 of file numfmtlb.cxx.

References mxControl.

void SwNumFormatTreeView::hide ( )
inline

Definition at line 173 of file numfmtlb.hxx.

void SwNumFormatTreeView::Init ( void  )
overrideprivatevirtual

Reimplemented from SwNumFormatBase.

Definition at line 499 of file numfmtlb.cxx.

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

Referenced by SwNumFormatTreeView().

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

Implements SwNumFormatBase.

Definition at line 165 of file numfmtlb.hxx.

void SwNumFormatTreeView::save_value ( )
inline

Definition at line 171 of file numfmtlb.hxx.

void SwNumFormatTreeView::select ( int  nPos)
inline

Definition at line 176 of file numfmtlb.hxx.

virtual void SwNumFormatTreeView::set_active ( int  nPos)
inlineoverridevirtual

Implements SwNumFormatBase.

Definition at line 166 of file numfmtlb.hxx.

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

Implements SwNumFormatBase.

Definition at line 167 of file numfmtlb.hxx.

void SwNumFormatTreeView::set_sensitive ( bool  bSensitive)
inline

Definition at line 179 of file numfmtlb.hxx.

void SwNumFormatTreeView::set_visible ( bool  bVisible)
inline

Definition at line 175 of file numfmtlb.hxx.

void SwNumFormatTreeView::show ( )
inline

Definition at line 172 of file numfmtlb.hxx.

Member Data Documentation

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

Definition at line 146 of file numfmtlb.hxx.

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


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