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:
[legend]

Classes

class  SwNumFormatGlobal
 

Public Member Functions

 SwNumRulesWithName (const SwNumRule &, const OUString &)
 
 SwNumRulesWithName (const SwNumRulesWithName &)
 
 ~SwNumRulesWithName ()
 
SwNumRulesWithNameoperator= (const SwNumRulesWithName &)
 
const OUString & GetName () const
 
std::unique_ptr< SwNumRuleMakeNumRule (SwWrtShell &rSh) 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 ()
 

Private Attributes

OUString maName
 
std::unique_ptr< SwNumFormatGlobalaFormats [MAXLEVEL]
 

Friends

class sw::StoredChapterNumberingRules
 
class SwChapterNumRules
 

Detailed Description

Definition at line 36 of file uinums.hxx.

Constructor & Destructor Documentation

SwNumRulesWithName::SwNumRulesWithName ( )
private

Definition at line 124 of file uinums.cxx.

References aFormats.

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

Definition at line 110 of file uinums.cxx.

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

SwNumRulesWithName::SwNumRulesWithName ( const SwNumRulesWithName rCopy)

Definition at line 129 of file uinums.cxx.

References aFormats.

SwNumRulesWithName::~SwNumRulesWithName ( )

Definition at line 135 of file uinums.cxx.

Member Function Documentation

const OUString& SwNumRulesWithName::GetName ( ) const
inline

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 171 of file uinums.cxx.

References aFormats.

std::unique_ptr< SwNumRule > SwNumRulesWithName::MakeNumRule ( SwWrtShell rSh) const
SwNumRulesWithName & SwNumRulesWithName::operator= ( const SwNumRulesWithName rCopy)

Definition at line 139 of file uinums.cxx.

References aFormats, maName, and MAXLEVEL.

void SwNumRulesWithName::SetName ( const OUString &  rSet)
inlineprivate

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

Definition at line 178 of file uinums.cxx.

References aFormats, and USHRT_MAX.

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

Friends And Related Function Documentation

friend class sw::StoredChapterNumberingRules
friend

Definition at line 61 of file uinums.hxx.

friend class SwChapterNumRules
friend

Definition at line 62 of file uinums.hxx.

Member Data Documentation

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

Definition at line 59 of file uinums.hxx.

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

OUString SwNumRulesWithName::maName
private

Definition at line 38 of file uinums.hxx.

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


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