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>

Collaboration diagram for SwNumRulesWithName:


class  SwNumFormatGlobal

Public Member Functions

 SwNumRulesWithName (const SwNumRule &, const 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< SwNumFormatGlobalaFormats [MAXLEVEL]


class sw::StoredChapterNumberingRules
class SwChapterNumRules

Detailed Description

Definition at line 36 of file uinums.hxx.

Constructor & Destructor Documentation

SwNumRulesWithName::SwNumRulesWithName ( )
SwNumRulesWithName::SwNumRulesWithName ( const SwNumRule rCopy,
const OUString &  rName 

Definition at line 106 of file uinums.cxx.

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

SwNumRulesWithName::SwNumRulesWithName ( const SwNumRulesWithName rCopy)

Definition at line 120 of file uinums.cxx.

SwNumRulesWithName::~SwNumRulesWithName ( )

Definition at line 125 of file uinums.cxx.

Member Function Documentation

const OUString& SwNumRulesWithName::GetName ( ) const

Definition at line 74 of file uinums.hxx.

Referenced by IMPL_LINK(), and IMPL_LINK_NOARG().

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

Definition at line 160 of file uinums.cxx.

References aFormats.

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

Definition at line 129 of file uinums.cxx.

References aFormats, maName, MAXLEVEL, and n.

void SwNumRulesWithName::ResetNumRule ( SwWrtShell rSh,
SwNumRule rNumRule 
) const
void SwNumRulesWithName::SetName ( const OUString &  rSet)

Definition at line 63 of file uinums.hxx.

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

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

Definition at line 167 of file uinums.cxx.

References aFormats.

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

Friends And Related Function Documentation

friend class sw::StoredChapterNumberingRules

Definition at line 61 of file uinums.hxx.

friend class SwChapterNumRules

Definition at line 62 of file uinums.hxx.

Member Data Documentation

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

Definition at line 59 of file uinums.hxx.

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

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: