diff options
Diffstat (limited to 'sw/inc/hints.hxx')
-rw-r--r-- | sw/inc/hints.hxx | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx index be1f1ac2fad7..a971b15f2928 100644 --- a/sw/inc/hints.hxx +++ b/sw/inc/hints.hxx @@ -93,15 +93,37 @@ public: SwDelTxt( sal_Int32 nS, sal_Int32 nL ); }; -class SwUpdateAttr: public SwMsgPoolItem +class SwUpdateAttr : public SwMsgPoolItem { -public: +private: sal_Int32 nStart; sal_Int32 nEnd; sal_uInt16 nWhichAttr; std::vector<sal_uInt16> aWhichFmtAttr; // attributes changed inside RES_TXTATR_AUTOFMT + +public: SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW ); SwUpdateAttr( sal_Int32 nS, sal_Int32 nE, sal_uInt16 nW, std::vector<sal_uInt16> aW ); + + sal_Int32 getStart() const + { + return nStart; + } + + sal_Int32 getEnd() const + { + return nEnd; + } + + sal_uInt16 getWhichAttr() const + { + return nWhichAttr; + } + + const std::vector<sal_uInt16>& getFmtAttr() const + { + return aWhichFmtAttr; + } }; /** SwRefMarkFldUpdate is sent when the referencemarks should be updated. |