LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Protected 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)
 

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

Definition at line 118 of file numfmtlb.cxx.

References ALL, and false.

virtual SwNumFormatBase::~SwNumFormatBase ( )
inlinevirtual

Definition at line 70 of file numfmtlb.hxx.

Member Function Documentation

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

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by SetFormatType().

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

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by SetFormatType().

void SwNumFormatBase::CallSelectHdl ( )
void SwNumFormatBase::clear ( )
virtual
virtual int SwNumFormatBase::get_active ( ) const
pure virtual

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by CallSelectHdl().

virtual int SwNumFormatBase::get_count ( ) const
pure virtual

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by CallSelectHdl(), and SetDefFormat().

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

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by SetDefFormat().

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

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by CallSelectHdl().

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

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by CallSelectHdl().

LanguageType SwNumFormatBase::GetCurLanguage ( ) const
inline

Definition at line 46 of file numfmtlb.hxx.

double SwNumFormatBase::GetDefValue ( const SvNumFormatType  nFormatType)
static

Definition at line 78 of file numfmtlb.cxx.

References fSvxNumValConst.

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

virtual sal_uInt32 SwNumFormatBase::GetFormat ( ) const
pure virtual

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by SetDefFormat().

SvNumFormatType SwNumFormatBase::GetFormatType ( ) const
inline

Definition at line 45 of file numfmtlb.hxx.

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

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by SetDefFormat().

bool SwNumFormatBase::IsAutomaticLanguage ( ) const
inline

Definition at line 44 of file numfmtlb.hxx.

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

Implemented in SwNumFormatTreeView, and NumFormatListBox.

Referenced by SetDefFormat().

void SwNumFormatBase::SetAutomaticLanguage ( bool  bSet)
inline

Definition at line 43 of file numfmtlb.hxx.

void SwNumFormatBase::SetDefFormat ( const sal_uInt32  nDefFormat)
void SwNumFormatBase::SetFormatType ( const SvNumFormatType  nFormatType)
void SwNumFormatBase::SetLanguage ( LanguageType  eSet)
inline

Definition at line 47 of file numfmtlb.hxx.

void SwNumFormatBase::SetOneArea ( bool  bOnlyOne)
inline

Definition at line 50 of file numfmtlb.hxx.

void SwNumFormatBase::SetShowLanguageControl ( bool  bSet)
inline

Definition at line 48 of file numfmtlb.hxx.

Member Data Documentation

bool SwNumFormatBase::m_bOneArea
protected

Definition at line 35 of file numfmtlb.hxx.

Referenced by CallSelectHdl().

bool SwNumFormatBase::m_bShowLanguageControl
protected

Definition at line 37 of file numfmtlb.hxx.

Referenced by CallSelectHdl().

bool SwNumFormatBase::m_bUseAutomaticLanguage
protected

Definition at line 39 of file numfmtlb.hxx.

Referenced by CallSelectHdl().

LanguageType SwNumFormatBase::m_eCurLanguage
protected

Definition at line 34 of file numfmtlb.hxx.

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

SvNumFormatType SwNumFormatBase::m_nCurrFormatType
protected

Definition at line 33 of file numfmtlb.hxx.

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

sal_uInt32 SwNumFormatBase::m_nDefFormat
protected

Definition at line 32 of file numfmtlb.hxx.

Referenced by Init(), and SetDefFormat().

sal_Int32 SwNumFormatBase::m_nStdEntry
protected

Definition at line 31 of file numfmtlb.hxx.

Referenced by SetDefFormat(), and SetFormatType().

bool SwNumFormatBase::mbCurrFormatTypeNeedsInit
protected

Definition at line 36 of file numfmtlb.hxx.

Referenced by clear(), and SetFormatType().


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