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

#include <uinums.hxx>


class  SwNumFormatGlobal

Public Member Functions

 SwNumRulesWithName (const SwNumRule &, OUString)
 SwNumRulesWithName (const SwNumRulesWithName &)
 ~SwNumRulesWithName ()
SwNumRulesWithNameoperator= (const SwNumRulesWithName &)
const OUString & GetName () const
void ResetNumRule (SwWrtShell &rSh, SwNumRule &) const
void GetNumFormat (size_t, SwNumFormat const *&, OUString const *&) const

Private Member Functions

void SetName (const OUString &rSet)
void SetNumFormat (size_t, SwNumFormat const &, OUString const &)
 SwNumRulesWithName ()=default

Private Attributes

OUString maName
std::unique_ptr< SwNumFormatGlobalm_aFormats [MAXLEVEL]


class sw::StoredChapterNumberingRules
class SwChapterNumRules

Detailed Description

Definition at line 36 of file uinums.hxx.

Constructor & Destructor Documentation

◆ SwNumRulesWithName() [1/3]

SwNumRulesWithName::SwNumRulesWithName ( )

◆ SwNumRulesWithName() [2/3]

SwNumRulesWithName::SwNumRulesWithName ( const SwNumRule rCopy,
OUString  aName 

Definition at line 107 of file uinums.cxx.

References aName, SwNumRule::GetNumFormat(), m_aFormats, maName, MAXLEVEL, and n.

◆ SwNumRulesWithName() [3/3]

SwNumRulesWithName::SwNumRulesWithName ( const SwNumRulesWithName rCopy)

Definition at line 121 of file uinums.cxx.

◆ ~SwNumRulesWithName()

SwNumRulesWithName::~SwNumRulesWithName ( )

Definition at line 126 of file uinums.cxx.

Member Function Documentation

◆ GetName()

const OUString & SwNumRulesWithName::GetName ( ) const

Definition at line 74 of file uinums.hxx.

References maName.

Referenced by sw::StoredChapterNumberingRules::getName(), IMPL_LINK(), and IMPL_LINK_NOARG().

◆ GetNumFormat()

void SwNumRulesWithName::GetNumFormat ( size_t  nIndex,
SwNumFormat const *&  rpNumFormat,
OUString const *&  rpName 
) const

Definition at line 161 of file uinums.cxx.

References m_aFormats, and nIndex.

Referenced by sw::StoredChapterNumberingRules::getByIndex().

◆ operator=()

SwNumRulesWithName & SwNumRulesWithName::operator= ( const SwNumRulesWithName rCopy)

Definition at line 130 of file uinums.cxx.

References m_aFormats, maName, MAXLEVEL, and n.

◆ ResetNumRule()

void SwNumRulesWithName::ResetNumRule ( SwWrtShell rSh,
SwNumRule rNumRule 
) const

◆ SetName()

void SwNumRulesWithName::SetName ( const OUString &  rSet)

Definition at line 63 of file uinums.hxx.

References maName, and rSet.

Referenced by sw::StoredChapterNumberingRules::setName().

◆ SetNumFormat()

void SwNumRulesWithName::SetNumFormat ( size_t  nIndex,
SwNumFormat const &  rNumFormat,
OUString const &  rName 

Definition at line 168 of file uinums.cxx.

References m_aFormats, and nIndex.

Referenced by sw::StoredChapterNumberingRules::replaceByIndex().

Friends And Related Function Documentation

◆ sw::StoredChapterNumberingRules

friend class sw::StoredChapterNumberingRules

Definition at line 61 of file uinums.hxx.

◆ SwChapterNumRules

friend class SwChapterNumRules

Definition at line 62 of file uinums.hxx.

Member Data Documentation

◆ m_aFormats

std::unique_ptr<SwNumFormatGlobal> SwNumRulesWithName::m_aFormats[MAXLEVEL]

Definition at line 59 of file uinums.hxx.

Referenced by GetNumFormat(), operator=(), ResetNumRule(), SetNumFormat(), and SwNumRulesWithName().

◆ maName

OUString SwNumRulesWithName::maName

Definition at line 38 of file uinums.hxx.

Referenced by operator=(), and ResetNumRule().

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