19 #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_UINUMS_HXX
20 #define INCLUDED_SW_SOURCE_UIBASE_INC_UINUMS_HXX
32 namespace sw {
class StoredChapterNumberingRules; }
34 #define MAX_NUM_RULES 9
47 std::vector<std::unique_ptr<SfxPoolItem>>
m_Items;
63 void SetName(
const OUString& rSet) {maName = rSet;}
64 void SetNumFormat(
size_t,
SwNumFormat const&, OUString
const&);
74 const OUString&
GetName()
const {
return maName; }
77 void GetNumFormat(
size_t,
SwNumFormat const*&, OUString
const*&)
const;
95 void CreateEmptyNumRule(sal_uInt16 nIdx);
void ImportStoredChapterNumberingRules(SwChapterNumRules &rRules, SvStream &rStream, OUString const &rFileName)
constexpr sal_uInt8 MAXLEVEL
Dialog to specify the properties of date form field.
void ExportStoredChapterNumberingRules(SwChapterNumRules &rRules, SvStream &rStream, OUString const &rFileName)
void SetName(const OUString &rSet)
Used by the UI to modify the document model.
const SwNumRulesWithName * GetRules(sal_uInt16 nIdx) const
SwNumRulesWithName & operator=(const SwNumRulesWithName &)
const OUString & GetName() const
std::unique_ptr< SwNumRulesWithName > m_pNumRules[MAX_NUM_RULES]
std::unique_ptr< SwNumFormatGlobal > m_aFormats[MAXLEVEL]