|
LibreOffice Module sw (master) 1
|
#include <uinums.hxx>
Public Types | |
| enum | { nMaxRules = MAX_NUM_RULES } |
Public Member Functions | |
| SwChapterNumRules () | |
| ~SwChapterNumRules () | |
| const SwNumRulesWithName * | GetRules (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< SwNumRulesWithName > | m_pNumRules [MAX_NUM_RULES] |
Definition at line 80 of file uinums.hxx.
| anonymous enum |
| Enumerator | |
|---|---|
| nMaxRules | |
Definition at line 83 of file uinums.hxx.
| SwChapterNumRules::SwChapterNumRules | ( | ) |
Definition at line 45 of file uinums.cxx.
References Init().
| SwChapterNumRules::~SwChapterNumRules | ( | ) |
Definition at line 71 of file uinums.cxx.
| void SwChapterNumRules::ApplyNumRules | ( | const SwNumRulesWithName & | rCopy, |
| sal_uInt16 | nIdx | ||
| ) |
Definition at line 97 of file uinums.cxx.
References m_pNumRules, nMaxRules, and Save().
| 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().
|
inline |
Definition at line 100 of file uinums.hxx.
References m_pNumRules, and nMaxRules.
Referenced by sw::ExportStoredChapterNumberingRules(), sw::StoredChapterNumberingRules::getByIndex(), sw::StoredChapterNumberingRules::getName(), and sw::StoredChapterNumberingRules::GetOrCreateRules().
|
private |
Definition at line 75 of file uinums.cxx.
References CHAPTER_FILENAME, SfxMedium::GetInStream(), sw::ImportStoredChapterNumberingRules(), m_pNumRules, and SvtPathOptions::SearchFile().
Referenced by SwChapterNumRules().
|
private |
Definition at line 50 of file uinums.cxx.
References aURL, CHAPTER_FILENAME, SfxMedium::Commit(), ERRCODE_NONE, sw::ExportStoredChapterNumberingRules(), SvStream::FlushBuffer(), SvStream::GetError(), SfxMedium::GetOutStream(), SvtPathOptions::GetUserConfigPath(), and INetURLObject::NONE.
Referenced by ApplyNumRules().
|
private |
Definition at line 85 of file uinums.hxx.
Referenced by ApplyNumRules(), CreateEmptyNumRule(), GetRules(), and Init().