diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-04-27 16:06:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-04-27 20:12:31 +0200 |
commit | 0eeb12b4243b7af92b99daddbce4eee0b828b6be (patch) | |
tree | 0ec3737c240a861aad4c23ef3e9b2b62cd6ce971 /sc/inc/postit.hxx | |
parent | adaea5d10d157bacf858a31f611bf3f72ec881a2 (diff) |
reduce symbol visibility in sc
Change-Id: I7a1c7dbe61e302584b977fdf202d041d987d0833
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166777
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sc/inc/postit.hxx')
-rw-r--r-- | sc/inc/postit.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index 5e7f6f81d16f..922a1ebae748 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -54,10 +54,10 @@ struct ScNoteData /** * Additional class containing cell annotation data. */ -class SC_DLLPUBLIC ScPostIt +class SAL_DLLPUBLIC_RTTI ScPostIt { public: - static sal_uInt32 mnLastPostItId; + static SC_DLLPUBLIC sal_uInt32 mnLastPostItId; /** Creates an empty note and its caption object and places it according to the passed cell position. */ @@ -110,7 +110,7 @@ public: /** Returns the author date of this note. */ const OUString& GetAuthor() const { return maNoteData.maAuthor;} /** Sets a new author date for this note. */ - void SetAuthor( const OUString& rAuthor ); + SC_DLLPUBLIC void SetAuthor( const OUString& rAuthor ); /** Sets date and author from system settings. */ void AutoStamp(); @@ -118,12 +118,12 @@ public: /** Returns the pointer to the current outliner object, or null. */ const OutlinerParaObject* GetOutlinerObject() const; /** Returns the pointer to the current edit text object, or null. */ - const EditTextObject* GetEditTextObject() const; + SC_DLLPUBLIC const EditTextObject* GetEditTextObject() const; /** Returns the caption text of this note. */ - OUString GetText() const; + SC_DLLPUBLIC OUString GetText() const; /** Changes the caption text of this note. All text formatting will be lost. */ - void SetText( const ScAddress& rPos, const OUString& rText ); + SC_DLLPUBLIC void SetText( const ScAddress& rPos, const OUString& rText ); /** Returns an existing note caption object. returns null, if the note contains initial caption data needed to construct a caption object. @@ -134,7 +134,7 @@ public: the note contains initial caption data instead of the caption. The SdrCaptionObj* returned is still managed by the underlying ScNoteData::ScCaptionPtr and must not be stored elsewhere. */ - SdrCaptionObj* GetOrCreateCaption( const ScAddress& rPos ) const; + SC_DLLPUBLIC SdrCaptionObj* GetOrCreateCaption( const ScAddress& rPos ) const; /** Forgets the pointer to the note caption object. @@ -145,7 +145,7 @@ public: void ForgetCaption( bool bPreserveData = false ); /** Shows or hides the note caption object. */ - void ShowCaption( const ScAddress& rPos, bool bShow ); + SC_DLLPUBLIC void ShowCaption( const ScAddress& rPos, bool bShow ); /** Returns true, if the caption object is visible. */ bool IsCaptionShown() const { return maNoteData.mbShown;} |