diff options
Diffstat (limited to 'include/editeng/numitem.hxx')
-rw-r--r-- | include/editeng/numitem.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index d338a510189a..cefaf8f17e28 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -60,12 +60,12 @@ class EDITENG_DLLPUBLIC SvxNumberType public: explicit SvxNumberType(sal_Int16 nType = css::style::NumberingType::ARABIC); SvxNumberType(const SvxNumberType& rType); - ~SvxNumberType(); + virtual ~SvxNumberType(); OUString GetNumStr( sal_uLong nNo ) const; OUString GetNumStr( sal_uLong nNo, const css::lang::Locale& rLocale ) const; - void SetNumberingType(sal_Int16 nSet) {nNumType = nSet;} + virtual void SetNumberingType(sal_Int16 nSet) {nNumType = nSet;} sal_Int16 GetNumberingType() const {return nNumType;} void SetShowSymbol(bool bSet) {bShowSymbol = bSet;} @@ -99,6 +99,7 @@ private: OUString sSuffix; SvxAdjust eNumAdjust; + bool mbNumAdjustChanged; sal_uInt8 nInclUpperLevels; // Take over numbers from the previous level. sal_uInt16 nStart; // Start of counting @@ -154,7 +155,8 @@ public: bool operator==( const SvxNumberFormat& ) const; bool operator!=( const SvxNumberFormat& rFmt) const {return !(*this == rFmt);} - void SetNumAdjust(SvxAdjust eSet) {eNumAdjust = eSet;} + void SetNumberingType(sal_Int16 nSet); + void SetNumAdjust(SvxAdjust eSet); SvxAdjust GetNumAdjust() const {return eNumAdjust;} void SetPrefix(const OUString& rSet) { sPrefix = rSet;} const OUString& GetPrefix() const { return sPrefix;} |