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

Definition at line 83 of file uinums.hxx.

Constructor & Destructor Documentation

SwChapterNumRules::SwChapterNumRules ( )

Definition at line 44 of file uinums.cxx.

References Init().

SwChapterNumRules::~SwChapterNumRules ( )

Definition at line 70 of file uinums.cxx.

Member Function Documentation

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

Definition at line 96 of file uinums.cxx.

References assert(), nMaxRules, pNumRules, and Save().

void SwChapterNumRules::CreateEmptyNumRule ( sal_uInt16  nIdx)

Definition at line 89 of file uinums.cxx.

References assert(), nMaxRules, and pNumRules.

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

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

Member Data Documentation

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

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: