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< SwNumRulesWithNamem_pNumRules [MAX_NUM_RULES]

Detailed Description

Definition at line 80 of file uinums.hxx.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 83 of file uinums.hxx.

Constructor & Destructor Documentation

◆ SwChapterNumRules()

SwChapterNumRules::SwChapterNumRules ( )

Definition at line 45 of file uinums.cxx.

References Init().

◆ ~SwChapterNumRules()

SwChapterNumRules::~SwChapterNumRules ( )

Definition at line 71 of file uinums.cxx.

Member Function Documentation

◆ ApplyNumRules()

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

Definition at line 97 of file uinums.cxx.

References m_pNumRules, nMaxRules, and Save().

◆ CreateEmptyNumRule()

void SwChapterNumRules::CreateEmptyNumRule ( sal_uInt16  nIdx)

Definition at line 90 of file uinums.cxx.

References m_pNumRules, nIndex, and nMaxRules.

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

◆ GetRules()

const SwNumRulesWithName * SwChapterNumRules::GetRules ( sal_uInt16  nIdx) const

◆ Init()

void SwChapterNumRules::Init ( void  )

◆ Save()

void SwChapterNumRules::Save ( )

Member Data Documentation

◆ m_pNumRules

std::unique_ptr<SwNumRulesWithName> SwChapterNumRules::m_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: