diff options
author | Scott Clarke <scott.clarke@codethink.co.uk> | 2019-06-07 15:28:42 +0100 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2019-07-25 10:38:36 +0200 |
commit | d2025bdc33cc8d9e2f6c9f90da4574275ed6b0e4 (patch) | |
tree | 7200817278ff1902071ba1e8d52147d240cfc02e /sw/inc/docufld.hxx | |
parent | 38583daef69bc39de15ff41d2f149b34116d825c (diff) |
tdf#119228 Add storage and serialisation for the Resolved flag
Change-Id: I0278588dc533378104e544d05b60583c85271f6a
Co-authored-by: Jim MacArthur <jim.macarthur@codethink.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/75858
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sw/inc/docufld.hxx')
-rw-r--r-- | sw/inc/docufld.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index bdd7fd68756f..abdfe644a798 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -445,6 +445,7 @@ class SW_DLLPUBLIC SwPostItField : public SwField OUString m_sInitials; ///< Initials of the author. OUString m_sName; ///< Name of the comment. DateTime m_aDateTime; + bool m_bResolved; std::unique_ptr<OutlinerParaObject> mpText; rtl::Reference<SwTextAPIObject> m_xTextObject; sal_uInt32 m_nPostItId; @@ -458,6 +459,7 @@ public: const OUString& rInitials, const OUString& rName, const DateTime& rDate, + const bool bResolved = false, const sal_uInt32 nPostItId = 0); SwPostItField(const SwPostItField&) = delete; @@ -488,6 +490,10 @@ public: const OutlinerParaObject* GetTextObject() const { return mpText.get();} void SetTextObject( std::unique_ptr<OutlinerParaObject> pText ); + void SetResolved(bool bNewState); + void ToggleResolved(); + bool GetResolved() const; + sal_Int32 GetNumberOfParagraphs() const; virtual bool QueryValue( css::uno::Any& rVal, sal_uInt16 nWhich ) const override; |