LibreOffice Module sw (master)  1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwChapterNumRules Class Referencefinal

#include <uinums.hxx>

Public Types

enum  { nMaxRules = MAX_NUM_RULES }
 

Public Member Functions

 SwChapterNumRules ()
 
 ~SwChapterNumRules ()
 
const SwNumRulesWithNameGetRules (sal_uInt16 nIdx) const
 
void CreateEmptyNumRule (sal_uInt16 nIdx)
 
void ApplyNumRules (const SwNumRulesWithName &rCopy, sal_uInt16 nIdx)
 

Private Member Functions

void Init ()
 
void Save ()
 

Private Attributes

std::unique_ptr< SwNumRulesWithNamepNumRules [MAX_NUM_RULES]
 

Detailed Description

Definition at line 80 of file uinums.hxx.

Member Enumeration Documentation

anonymous enum
Enumerator
nMaxRules 

Definition at line 83 of file uinums.hxx.

Constructor & Destructor Documentation

SwChapterNumRules::SwChapterNumRules ( )

Definition at line 48 of file uinums.cxx.

References Init().

SwChapterNumRules::~SwChapterNumRules ( )

Definition at line 74 of file uinums.cxx.

Member Function Documentation

void SwChapterNumRules::ApplyNumRules ( const SwNumRulesWithName rCopy,
sal_uInt16  nIdx 
)

Definition at line 100 of file uinums.cxx.

References nMaxRules, pNumRules, and Save().

void SwChapterNumRules::CreateEmptyNumRule ( sal_uInt16  nIdx)

Definition at line 93 of file uinums.cxx.

References nMaxRules, and pNumRules.

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

const SwNumRulesWithName * SwChapterNumRules::GetRules ( sal_uInt16  nIdx) const
inline
void SwChapterNumRules::Init ( void  )
private
void SwChapterNumRules::Save ( )
private

Member Data Documentation

std::unique_ptr<SwNumRulesWithName> SwChapterNumRules::pNumRules[MAX_NUM_RULES]
private

Definition at line 85 of file uinums.hxx.

Referenced by ApplyNumRules(), CreateEmptyNumRule(), GetRules(), and Init().


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