LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SwNumFormatBase Class Referenceabstract

#include <numfmtlb.hxx>

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

Public Member Functions

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

Static Public Member Functions

static SAL_DLLPRIVATE double GetDefValue (const SvNumFormatType nFormatType)
 

Private Attributes

sal_Int32 m_nStdEntry
 
sal_uInt32 m_nDefFormat
 
SvNumFormatType m_nCurrFormatType
 
LanguageType m_eCurLanguage
 
bool m_bOneArea
 
bool mbCurrFormatTypeNeedsInit
 
bool m_bShowLanguageControl
 
bool m_bUseAutomaticLanguage
 

Detailed Description

Definition at line 28 of file numfmtlb.hxx.

Constructor & Destructor Documentation

◆ SwNumFormatBase()

SwNumFormatBase::SwNumFormatBase ( )

Definition at line 118 of file numfmtlb.cxx.

References ALL.

◆ ~SwNumFormatBase()

virtual SwNumFormatBase::~SwNumFormatBase ( )
inlinevirtual

Definition at line 69 of file numfmtlb.hxx.

Member Function Documentation

◆ append()

virtual void SwNumFormatBase::append ( const OUString &  rId,
const OUString &  rText 
)
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

Referenced by SetFormatType().

◆ append_text()

virtual void SwNumFormatBase::append_text ( const OUString &  rText)
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

Referenced by SetFormatType().

◆ CallSelectHdl()

void SwNumFormatBase::CallSelectHdl ( )

◆ clear()

void SwNumFormatBase::clear ( )
virtual

◆ get_active()

virtual int SwNumFormatBase::get_active ( ) const
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

Referenced by CallSelectHdl().

◆ get_count()

virtual int SwNumFormatBase::get_count ( ) const
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

Referenced by CallSelectHdl(), and SetDefFormat().

◆ get_id()

virtual OUString SwNumFormatBase::get_id ( int  nPos) const
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

Referenced by SetDefFormat().

◆ get_text()

virtual OUString SwNumFormatBase::get_text ( int  nPos) const
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

Referenced by CallSelectHdl().

◆ get_widget()

virtual weld::Widget & SwNumFormatBase::get_widget ( ) const
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

Referenced by CallSelectHdl().

◆ GetCurLanguage()

LanguageType SwNumFormatBase::GetCurLanguage ( ) const
inline

Definition at line 45 of file numfmtlb.hxx.

◆ GetDefValue()

double SwNumFormatBase::GetDefValue ( const SvNumFormatType  nFormatType)
static

Definition at line 78 of file numfmtlb.cxx.

References fSvxNumValConst.

Referenced by CallSelectHdl(), SetDefFormat(), and SetFormatType().

◆ GetFormat()

virtual sal_uInt32 SwNumFormatBase::GetFormat ( ) const
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

References Init().

Referenced by SetDefFormat().

◆ GetFormatType()

SvNumFormatType SwNumFormatBase::GetFormatType ( ) const
inline

Definition at line 44 of file numfmtlb.hxx.

◆ Init()

void SwNumFormatBase::Init ( void  )
virtual

◆ insert_text()

virtual void SwNumFormatBase::insert_text ( int  nPos,
const OUString &  rText 
)
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

Referenced by SetDefFormat().

◆ IsAutomaticLanguage()

bool SwNumFormatBase::IsAutomaticLanguage ( ) const
inline

Definition at line 43 of file numfmtlb.hxx.

◆ set_active()

virtual void SwNumFormatBase::set_active ( int  nPos)
pure virtual

◆ set_id()

virtual void SwNumFormatBase::set_id ( int  nPos,
const OUString &  rId 
)
pure virtual

Implemented in NumFormatListBox, and SwNumFormatTreeView.

Referenced by SetDefFormat().

◆ SetAutomaticLanguage()

void SwNumFormatBase::SetAutomaticLanguage ( bool  bSet)
inline

Definition at line 42 of file numfmtlb.hxx.

◆ SetDefFormat()

void SwNumFormatBase::SetDefFormat ( const sal_uInt32  nDefFormat)

◆ SetFormatType()

void SwNumFormatBase::SetFormatType ( const SvNumFormatType  nFormatType)

◆ SetLanguage()

void SwNumFormatBase::SetLanguage ( LanguageType  eSet)
inline

Definition at line 46 of file numfmtlb.hxx.

◆ SetOneArea()

void SwNumFormatBase::SetOneArea ( bool  bOnlyOne)
inline

Definition at line 49 of file numfmtlb.hxx.

◆ SetShowLanguageControl()

void SwNumFormatBase::SetShowLanguageControl ( bool  bSet)
inline

Definition at line 47 of file numfmtlb.hxx.

Member Data Documentation

◆ m_bOneArea

bool SwNumFormatBase::m_bOneArea
private

Definition at line 34 of file numfmtlb.hxx.

Referenced by CallSelectHdl().

◆ m_bShowLanguageControl

bool SwNumFormatBase::m_bShowLanguageControl
private

Definition at line 36 of file numfmtlb.hxx.

Referenced by CallSelectHdl().

◆ m_bUseAutomaticLanguage

bool SwNumFormatBase::m_bUseAutomaticLanguage
private

Definition at line 38 of file numfmtlb.hxx.

Referenced by CallSelectHdl().

◆ m_eCurLanguage

LanguageType SwNumFormatBase::m_eCurLanguage
private

Definition at line 33 of file numfmtlb.hxx.

Referenced by CallSelectHdl(), Init(), SetDefFormat(), and SetFormatType().

◆ m_nCurrFormatType

SvNumFormatType SwNumFormatBase::m_nCurrFormatType
private

Definition at line 32 of file numfmtlb.hxx.

Referenced by CallSelectHdl(), clear(), and SetFormatType().

◆ m_nDefFormat

sal_uInt32 SwNumFormatBase::m_nDefFormat
private

Definition at line 31 of file numfmtlb.hxx.

Referenced by Init(), and SetDefFormat().

◆ m_nStdEntry

sal_Int32 SwNumFormatBase::m_nStdEntry
private

Definition at line 30 of file numfmtlb.hxx.

Referenced by SetDefFormat(), and SetFormatType().

◆ mbCurrFormatTypeNeedsInit

bool SwNumFormatBase::mbCurrFormatTypeNeedsInit
private

Definition at line 35 of file numfmtlb.hxx.

Referenced by clear(), and SetFormatType().


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