LibreOffice Module editeng (master) 1
Public Member Functions | Private Attributes | Static Private Attributes | List of all members
SvxNumberType Class Reference

#include <numitem.hxx>

Inheritance diagram for SvxNumberType:
[legend]

Public Member Functions

 SvxNumberType (SvxNumType nType=SVX_NUM_ARABIC)
 
 SvxNumberType (const SvxNumberType &rType)
 
 ~SvxNumberType ()
 
SvxNumberTypeoperator= (SvxNumberType const &)=default
 
OUString GetNumStr (sal_Int32 nNo) const
 
OUString GetNumStr (sal_Int32 nNo, const css::lang::Locale &rLocale, bool bIsLegal=false) const
 
void SetNumberingType (SvxNumType nSet)
 
SvxNumType GetNumberingType () const
 
void SetShowSymbol (bool bSet)
 
bool IsShowSymbol () const
 
bool IsTextFormat () const
 
void dumpAsXml (xmlTextWriterPtr w) const
 

Private Attributes

SvxNumType nNumType
 
bool bShowSymbol
 

Static Private Attributes

static sal_Int32 nRefCount = 0
 
static css::uno::Reference< css::text::XNumberingFormatter > xFormatter
 

Detailed Description

Definition at line 55 of file numitem.hxx.

Constructor & Destructor Documentation

◆ SvxNumberType() [1/2]

SvxNumberType::SvxNumberType ( SvxNumType  nType = SVX_NUM_ARABIC)
explicit

Definition at line 88 of file numitem.cxx.

References nNumType, nRefCount, and nType.

◆ SvxNumberType() [2/2]

SvxNumberType::SvxNumberType ( const SvxNumberType rType)

Definition at line 95 of file numitem.cxx.

References nNumType, and nRefCount.

◆ ~SvxNumberType()

SvxNumberType::~SvxNumberType ( )

Definition at line 102 of file numitem.cxx.

References nRefCount, and xFormatter.

Member Function Documentation

◆ dumpAsXml()

void SvxNumberType::dumpAsXml ( xmlTextWriterPtr  w) const

Definition at line 165 of file numitem.cxx.

References nNumType.

◆ GetNumberingType()

SvxNumType SvxNumberType::GetNumberingType ( ) const
inline

◆ GetNumStr() [1/2]

OUString SvxNumberType::GetNumStr ( sal_Int32  nNo) const

◆ GetNumStr() [2/2]

OUString SvxNumberType::GetNumStr ( sal_Int32  nNo,
const css::lang::Locale &  rLocale,
bool  bIsLegal = false 
) const

◆ IsShowSymbol()

bool SvxNumberType::IsShowSymbol ( ) const
inline

◆ IsTextFormat()

bool SvxNumberType::IsTextFormat ( ) const
inline

Definition at line 78 of file numitem.hxx.

References nNumType.

◆ operator=()

SvxNumberType & SvxNumberType::operator= ( SvxNumberType const &  )
default

◆ SetNumberingType()

void SvxNumberType::SetNumberingType ( SvxNumType  nSet)
inline

◆ SetShowSymbol()

void SvxNumberType::SetShowSymbol ( bool  bSet)
inline

Definition at line 75 of file numitem.hxx.

Referenced by SvxNumberFormat::operator=(), and SvxNumberFormat::SvxNumberFormat().

Member Data Documentation

◆ bShowSymbol

bool SvxNumberType::bShowSymbol
private

Definition at line 61 of file numitem.hxx.

Referenced by GetNumStr().

◆ nNumType

SvxNumType SvxNumberType::nNumType
private

Definition at line 60 of file numitem.hxx.

Referenced by dumpAsXml(), and GetNumStr().

◆ nRefCount

sal_Int32 SvxNumberType::nRefCount = 0
staticprivate

Definition at line 57 of file numitem.hxx.

Referenced by SvxNumberType(), and ~SvxNumberType().

◆ xFormatter

css::uno::Reference< css::text::XNumberingFormatter > SvxNumberType::xFormatter
staticprivate

Definition at line 58 of file numitem.hxx.

Referenced by GetNumStr(), and ~SvxNumberType().


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