include/editeng/editeng.hxx  |  244 +++++++++++++++++++++----------------------
 include/editeng/editview.hxx |   38 +++---
 include/editeng/outliner.hxx |  140 ++++++++++++------------
 3 files changed, 211 insertions(+), 211 deletions(-)

New commits:
commit 8bf5e319d80d5ba3670557599080893bd209ded1
Author:     Noel Grandin <[email protected]>
AuthorDate: Wed Mar 13 18:26:59 2024 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Thu Mar 14 10:18:23 2024 +0100

    reduce symbol visibility in editeng
    
    Change-Id: I5069beecedca7b346c9f17f46570513a40606e84
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164784
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index 1af292fb51f8..03c8b281c1fa 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -154,7 +154,7 @@ class EDITENG_DLLPUBLIC EditEngine
 public:
     typedef std::vector<EditView*> ViewsType;
 
-    EditSelection InsertText(
+    SAL_DLLPRIVATE EditSelection InsertText(
         css::uno::Reference<css::datatransfer::XTransferable > const & 
rxDataObj,
         const OUString& rBaseURL, const EditPaM& rPaM, bool bUseSpecial,
         SotClipboardFormatId format = SotClipboardFormatId::NONE);
@@ -224,41 +224,41 @@ public:
     Color const &   GetBackgroundColor() const;
     Color           GetAutoColor() const;
     void            EnableAutoColor( bool b );
-    void            ForceAutoColor( bool b );
-    bool            IsForceAutoColor() const;
+    SAL_DLLPRIVATE void            ForceAutoColor( bool b );
+    SAL_DLLPRIVATE bool            IsForceAutoColor() const;
 
     void            InsertView(EditView* pEditView, size_t nIndex = EE_APPEND);
     EditView*       RemoveView( EditView* pEditView );
-    void            RemoveView(size_t nIndex);
+    SAL_DLLPRIVATE void            RemoveView(size_t nIndex);
     EditView*       GetView(size_t nIndex = 0) const;
     size_t          GetViewCount() const;
     bool            HasView( EditView* pView ) const;
-    EditView*       GetActiveView() const;
-    void SetActiveView(EditView* pView);
+    SAL_DLLPRIVATE EditView*       GetActiveView() const;
+    SAL_DLLPRIVATE void SetActiveView(EditView* pView);
 
     void            SetPaperSize( const Size& rSize );
     const Size&     GetPaperSize() const;
 
     void            SetVertical( bool bVertical );
     bool            IsEffectivelyVertical() const;
-    bool            IsTopToBottom() const;
-    bool            GetVertical() const;
-    void            SetRotation(TextRotation nRotation);
-    TextRotation    GetRotation() const;
+    SAL_DLLPRIVATE bool            IsTopToBottom() const;
+    SAL_DLLPRIVATE bool            GetVertical() const;
+    SAL_DLLPRIVATE void            SetRotation(TextRotation nRotation);
+    SAL_DLLPRIVATE TextRotation    GetRotation() const;
 
-    void SetTextColumns(sal_Int16 nColumns, sal_Int32 nSpacing);
+    SAL_DLLPRIVATE void SetTextColumns(sal_Int16 nColumns, sal_Int32 nSpacing);
 
-    void            SetFixedCellHeight( bool bUseFixedCellHeight );
+    SAL_DLLPRIVATE void            SetFixedCellHeight( bool 
bUseFixedCellHeight );
 
     void                        SetDefaultHorizontalTextDirection( 
EEHorizontalTextDirection eHTextDir );
-    EEHorizontalTextDirection   GetDefaultHorizontalTextDirection() const;
+    SAL_DLLPRIVATE EEHorizontalTextDirection   
GetDefaultHorizontalTextDirection() const;
 
     SvtScriptType   GetScriptType( const ESelection& rSelection ) const;
-    editeng::LanguageSpan GetLanguage(const EditPaM& rPaM) const;
+    SAL_DLLPRIVATE editeng::LanguageSpan GetLanguage(const EditPaM& rPaM) 
const;
     editeng::LanguageSpan GetLanguage( sal_Int32 nPara, sal_Int32 nPos ) const;
 
     void            TransliterateText( const ESelection& rSelection, 
TransliterationFlags nTransliterationMode );
-    EditSelection   TransliterateText( const EditSelection& rSelection, 
TransliterationFlags nTransliterationMode );
+    SAL_DLLPRIVATE EditSelection   TransliterateText( const EditSelection& 
rSelection, TransliterationFlags nTransliterationMode );
 
     void            SetAsianCompressionMode( CharCompressType nCompression );
 
@@ -266,23 +266,23 @@ public:
 
     void            SetAddExtLeading( bool b );
 
-    void            SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon );
-    void            SetPolygon( const basegfx::B2DPolyPolygon& rPolyPolygon, 
const basegfx::B2DPolyPolygon* pLinePolyPolygon);
-    void            ClearPolygon();
+    SAL_DLLPRIVATE void            SetPolygon( const basegfx::B2DPolyPolygon& 
rPolyPolygon );
+    SAL_DLLPRIVATE void            SetPolygon( const basegfx::B2DPolyPolygon& 
rPolyPolygon, const basegfx::B2DPolyPolygon* pLinePolyPolygon);
+    SAL_DLLPRIVATE void            ClearPolygon();
 
-    const Size&     GetMinAutoPaperSize() const;
-    void            SetMinAutoPaperSize( const Size& rSz );
+    SAL_DLLPRIVATE const Size&     GetMinAutoPaperSize() const;
+    SAL_DLLPRIVATE void            SetMinAutoPaperSize( const Size& rSz );
 
-    const Size&     GetMaxAutoPaperSize() const;
-    void            SetMaxAutoPaperSize( const Size& rSz );
+    SAL_DLLPRIVATE const Size&     GetMaxAutoPaperSize() const;
+    SAL_DLLPRIVATE void            SetMaxAutoPaperSize( const Size& rSz );
 
-    void SetMinColumnWrapHeight(tools::Long nVal);
+    SAL_DLLPRIVATE void SetMinColumnWrapHeight(tools::Long nVal);
 
     OUString        GetText( LineEnd eEnd = LINEEND_LF ) const;
     OUString        GetText( const ESelection& rSelection ) const;
     sal_Int32       GetTextLen() const;
     sal_uInt32      GetTextHeight() const;
-    sal_uInt32      GetTextHeightNTP() const;
+    SAL_DLLPRIVATE sal_uInt32      GetTextHeightNTP() const;
     sal_uInt32      CalcTextWidth();
 
     OUString        GetText( sal_Int32 nParagraph ) const;
@@ -295,10 +295,10 @@ public:
     sal_Int32       GetLineLen( sal_Int32 nParagraph, sal_Int32 nLine ) const;
     void            GetLineBoundaries( /*out*/sal_Int32& rStart, 
/*out*/sal_Int32& rEnd, sal_Int32 nParagraph, sal_Int32 nLine ) const;
     sal_Int32       GetLineNumberAtIndex( sal_Int32 nPara, sal_Int32 nIndex ) 
const;
-    sal_uInt32      GetLineHeight( sal_Int32 nParagraph );
-    tools::Rectangle GetParaBounds( sal_Int32 nPara );
-    ParagraphInfos  GetParagraphInfos( sal_Int32 nPara );
-    sal_Int32       FindParagraph( tools::Long nDocPosY );
+    SAL_DLLPRIVATE sal_uInt32      GetLineHeight( sal_Int32 nParagraph );
+    SAL_DLLPRIVATE tools::Rectangle GetParaBounds( sal_Int32 nPara );
+    SAL_DLLPRIVATE ParagraphInfos  GetParagraphInfos( sal_Int32 nPara );
+    SAL_DLLPRIVATE sal_Int32       FindParagraph( tools::Long nDocPosY );
     EPosition       FindDocPosition( const Point& rDocPos ) const;
     tools::Rectangle       GetCharacterBounds( const EPosition& rPos ) const;
 
@@ -310,13 +310,13 @@ public:
     void            SetText( const OUString& rStr );
 
     std::unique_ptr<EditTextObject> CreateTextObject();
-    std::unique_ptr<EditTextObject> GetEmptyTextObject();
+    SAL_DLLPRIVATE std::unique_ptr<EditTextObject> GetEmptyTextObject();
     std::unique_ptr<EditTextObject> CreateTextObject( sal_Int32 nPara, 
sal_Int32 nParas = 1 );
     std::unique_ptr<EditTextObject> CreateTextObject( const ESelection& 
rESelection );
     void            SetText( const EditTextObject& rTextObject );
 
-    void            RemoveParagraph(sal_Int32 nPara);
-    void            InsertParagraph(sal_Int32 nPara, const EditTextObject& 
rTxtObj, const bool bAppend = false);
+    SAL_DLLPRIVATE void            RemoveParagraph(sal_Int32 nPara);
+    SAL_DLLPRIVATE void            InsertParagraph(sal_Int32 nPara, const 
EditTextObject& rTxtObj, const bool bAppend = false);
     void            InsertParagraph(sal_Int32 nPara, const OUString& rText);
 
     void            SetText(sal_Int32 nPara, const OUString& rText);
@@ -325,7 +325,7 @@ public:
     const SfxItemSet&   GetParaAttribs( sal_Int32 nPara ) const;
 
     /// Set attributes from rSet an all characters of nPara.
-    void SetCharAttribs(sal_Int32 nPara, const SfxItemSet& rSet);
+    SAL_DLLPRIVATE void SetCharAttribs(sal_Int32 nPara, const SfxItemSet& 
rSet);
     void            GetCharAttribs( sal_Int32 nPara, 
std::vector<EECharAttrib>& rLst ) const;
 
     SfxItemSet      GetAttribs( sal_Int32 nPara, sal_Int32 nStart, sal_Int32 
nEnd, GetAttribsFlags nFlags = GetAttribsFlags::ALL ) const;
@@ -340,18 +340,18 @@ public:
     }
 
     vcl::Font       GetStandardFont( sal_Int32 nPara );
-    SvxFont         GetStandardSvxFont( sal_Int32 nPara );
+    SAL_DLLPRIVATE SvxFont         GetStandardSvxFont( sal_Int32 nPara );
 
     void            RemoveAttribs( const ESelection& rSelection, bool 
bRemoveParaAttribs, sal_uInt16 nWhich );
 
-    void            ShowParagraph( sal_Int32 nParagraph, bool bShow );
+    SAL_DLLPRIVATE void            ShowParagraph( sal_Int32 nParagraph, bool 
bShow );
 
     EditUndoManager& GetUndoManager();
     EditUndoManager* SetUndoManager(EditUndoManager* pNew);
     void            UndoActionStart( sal_uInt16 nId );
-    void            UndoActionStart(sal_uInt16 nId, const ESelection& rSel);
+    SAL_DLLPRIVATE void            UndoActionStart(sal_uInt16 nId, const 
ESelection& rSel);
     void            UndoActionEnd();
-    bool            IsInUndo() const;
+    SAL_DLLPRIVATE bool            IsInUndo() const;
 
     void            EnableUndo( bool bEnable );
     bool            IsUndoEnabled() const;
@@ -369,17 +369,17 @@ public:
 
     bool            IsInSelectionMode() const;
 
-    void            StripPortions();
+    SAL_DLLPRIVATE void            StripPortions();
     void            GetPortions( sal_Int32 nPara, std::vector<sal_Int32>& 
rList );
 
-    tools::Long            GetFirstLineStartX( sal_Int32 nParagraph );
+    SAL_DLLPRIVATE tools::Long            GetFirstLineStartX( sal_Int32 
nParagraph );
     Point           GetDocPosTopLeft( sal_Int32 nParagraph );
-    Point           GetDocPos( const Point& rPaperPos ) const;
-    bool            IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder );
+    SAL_DLLPRIVATE Point           GetDocPos( const Point& rPaperPos ) const;
+    SAL_DLLPRIVATE bool            IsTextPos( const Point& rPaperPos, 
sal_uInt16 nBorder );
 
     // StartDocPos corresponds to VisArea.TopLeft().
-    void            Draw( OutputDevice& rOutDev, const tools::Rectangle& 
rOutRect );
-    void            Draw( OutputDevice& rOutDev, const tools::Rectangle& 
rOutRect, const Point& rStartDocPos );
+    SAL_DLLPRIVATE void            Draw( OutputDevice& rOutDev, const 
tools::Rectangle& rOutRect );
+    SAL_DLLPRIVATE void            Draw( OutputDevice& rOutDev, const 
tools::Rectangle& rOutRect, const Point& rStartDocPos );
     void            Draw( OutputDevice& rOutDev, const tools::Rectangle& 
rOutRect, const Point& rStartDocPos, bool bClip );
     void            Draw( OutputDevice& rOutDev, const Point& rStartPos, 
Degree10 nOrientation = 0_deg10 );
 
@@ -387,7 +387,7 @@ public:
     void            Write( SvStream& rOutput, EETextFormat );
 
     void            SetStatusEventHdl( const Link<EditStatus&,void>& rLink );
-    Link<EditStatus&,void> const & GetStatusEventHdl() const;
+    SAL_DLLPRIVATE Link<EditStatus&,void> const & GetStatusEventHdl() const;
 
     void            SetNotifyHdl( const Link<EENotify&,void>& rLink );
     Link<EENotify&,void> const & GetNotifyHdl() const;
@@ -400,7 +400,7 @@ public:
 
     // Do not evaluate font formatting => For Outliner
     bool            IsFlatMode() const;
-    void            SetFlatMode( bool bFlat );
+    SAL_DLLPRIVATE void            SetFlatMode( bool bFlat );
 
     void            SetSingleLine( bool bValue );
 
@@ -408,22 +408,22 @@ public:
     EEControlBits   GetControlWord() const;
 
     void            QuickSetAttribs( const SfxItemSet& rSet, const ESelection& 
rSel );
-    void            QuickMarkInvalid( const ESelection& rSel );
+    SAL_DLLPRIVATE void            QuickMarkInvalid( const ESelection& rSel );
     void            QuickFormatDoc( bool bFull = false );
     void            QuickInsertField( const SvxFieldItem& rFld, const 
ESelection& rSel );
     void            QuickInsertLineBreak( const ESelection& rSel );
     void            QuickInsertText(const OUString& rText, const ESelection& 
rSel);
     void            QuickDelete( const ESelection& rSel );
-    void            QuickMarkToBeRepainted( sal_Int32 nPara );
+    SAL_DLLPRIVATE void            QuickMarkToBeRepainted( sal_Int32 nPara );
 
-    void setGlobalScale(double fFontScaleX, double fFontScaleY, double 
fSpacingScaleX, double fSpacingScaleY);
+    SAL_DLLPRIVATE void setGlobalScale(double fFontScaleX, double fFontScaleY, 
double fSpacingScaleX, double fSpacingScaleY);
 
-    void getGlobalSpacingScale(double& rX, double& rY) const;
+    SAL_DLLPRIVATE void getGlobalSpacingScale(double& rX, double& rY) const;
     basegfx::B2DTuple getGlobalSpacingScale() const;
-    void getGlobalFontScale(double& rX, double& rY) const;
+    SAL_DLLPRIVATE void getGlobalFontScale(double& rX, double& rY) const;
     basegfx::B2DTuple getGlobalFontScale() const;
 
-    void setRoundFontSizeToPt(bool bRound);
+    SAL_DLLPRIVATE void setRoundFontSizeToPt(bool bRound);
 
     void            SetEditTextObjectPool( SfxItemPool* pPool );
     SfxItemPool*    GetEditTextObjectPool() const;
@@ -431,9 +431,9 @@ public:
     void                SetStyleSheetPool( SfxStyleSheetPool* pSPool );
     SfxStyleSheetPool*  GetStyleSheetPool();
 
-    void SetStyleSheet(const EditSelection& aSel, SfxStyleSheet* pStyle);
+    SAL_DLLPRIVATE void SetStyleSheet(const EditSelection& aSel, 
SfxStyleSheet* pStyle);
     void                 SetStyleSheet( sal_Int32 nPara, SfxStyleSheet* pStyle 
);
-    const SfxStyleSheet* GetStyleSheet( sal_Int32 nPara ) const;
+    SAL_DLLPRIVATE const SfxStyleSheet* GetStyleSheet( sal_Int32 nPara ) const;
     SfxStyleSheet* GetStyleSheet( sal_Int32 nPara );
 
     void            SetWordDelimiters( const OUString& rDelimiters );
@@ -443,7 +443,7 @@ public:
 
     void            SetSpeller( css::uno::Reference<
                             css::linguistic2::XSpellChecker1 > const &xSpeller 
);
-    css::uno::Reference<
+    SAL_DLLPRIVATE css::uno::Reference<
         css::linguistic2::XSpellChecker1 > const &
                     GetSpeller();
     void            SetHyphenator( css::uno::Reference<
@@ -460,17 +460,17 @@ public:
     bool            HasOnlineSpellErrors() const;
     void            CompleteOnlineSpelling();
 
-    bool            ShouldCreateBigTextObject() const;
+    SAL_DLLPRIVATE bool            ShouldCreateBigTextObject() const;
 
     // For fast Pre-Test without view:
     EESpellState    HasSpellErrors();
     void ClearSpellErrors();
-    bool            HasText( const SvxSearchItem& rSearchItem );
+    SAL_DLLPRIVATE bool            HasText( const SvxSearchItem& rSearchItem );
 
     //spell and return a sentence
     bool            SpellSentence(EditView const & rEditView, 
svx::SpellPortions& rToFill );
     // put spell position to start of current sentence
-    void            PutSpellingToSentenceStart( EditView const & rEditView );
+    SAL_DLLPRIVATE void            PutSpellingToSentenceStart( EditView const 
& rEditView );
     //applies a changed sentence
     void            ApplyChangedSentence(EditView const & rEditView, const 
svx::SpellPortions& rNewPortions, bool bRecheck );
 
@@ -479,7 +479,7 @@ public:
     virtual bool    ConvertNextDocument();
 
     bool            UpdateFields();
-    bool            UpdateFieldsOnly();
+    SAL_DLLPRIVATE bool            UpdateFieldsOnly();
     void            RemoveFields( const std::function<bool ( const 
SvxFieldData* )>& isFieldData = [] (const SvxFieldData* ){return true;} );
 
     sal_uInt16      GetFieldCount( sal_Int32 nPara ) const;
@@ -490,10 +490,10 @@ public:
     css::uno::Reference<css::datatransfer::XTransferable> 
CreateTransferable(const ESelection& rSelection);
 
     // MT: Can't create new virtual functions like for 
ParagraphInserted/Deleted, must be compatible in SRC638, change later...
-    void            SetBeginMovingParagraphsHdl( const 
Link<MoveParagraphsInfo&,void>& rLink );
-    void            SetEndMovingParagraphsHdl( const 
Link<MoveParagraphsInfo&,void>& rLink );
-    void            SetBeginPasteOrDropHdl( const 
Link<PasteOrDropInfos&,void>& rLink );
-    void            SetEndPasteOrDropHdl( const Link<PasteOrDropInfos&,void>& 
rLink );
+    SAL_DLLPRIVATE void            SetBeginMovingParagraphsHdl( const 
Link<MoveParagraphsInfo&,void>& rLink );
+    SAL_DLLPRIVATE void            SetEndMovingParagraphsHdl( const 
Link<MoveParagraphsInfo&,void>& rLink );
+    SAL_DLLPRIVATE void            SetBeginPasteOrDropHdl( const 
Link<PasteOrDropInfos&,void>& rLink );
+    SAL_DLLPRIVATE void            SetEndPasteOrDropHdl( const 
Link<PasteOrDropInfos&,void>& rLink );
 
     virtual void    PaintingFirstLine(sal_Int32 nPara, const Point& rStartPos, 
const Point& rOrigin, Degree10 nOrientation, OutputDevice& rOutDev);
     virtual void    ParagraphInserted( sal_Int32 nNewParagraph );
@@ -501,7 +501,7 @@ public:
     virtual void    ParagraphConnected( sal_Int32 nLeftParagraph, sal_Int32 
nRightParagraph );
     virtual void    ParaAttribsChanged( sal_Int32 nParagraph );
     virtual void    StyleSheetChanged( SfxStyleSheet* pStyle );
-    void            ParagraphHeightChanged( sal_Int32 nPara );
+    SAL_DLLPRIVATE void            ParagraphHeightChanged( sal_Int32 nPara );
 
     virtual void DrawingText( const Point& rStartPos, const OUString& rText,
                               sal_Int32 nTextStart, sal_Int32 nTextLen,
@@ -540,18 +540,18 @@ public:
     static bool     DoesKeyMoveCursor( const KeyEvent& rKeyEvent );
     static bool     IsSimpleCharInput( const KeyEvent& rKeyEvent );
     static void     SetFontInfoInItemSet( SfxItemSet& rItemSet, const 
vcl::Font& rFont );
-    static void     SetFontInfoInItemSet( SfxItemSet& rItemSet, const SvxFont& 
rFont );
-    static vcl::Font CreateFontFromItemSet( const SfxItemSet& rItemSet, 
SvtScriptType nScriptType );
-    static SvxFont  CreateSvxFontFromItemSet( const SfxItemSet& rItemSet );
-    static bool     IsPrintable( sal_Unicode c ) { return ( ( c >= 32 ) && ( c 
!= 127 ) ); }
+    SAL_DLLPRIVATE static void     SetFontInfoInItemSet( SfxItemSet& rItemSet, 
const SvxFont& rFont );
+    SAL_DLLPRIVATE static vcl::Font CreateFontFromItemSet( const SfxItemSet& 
rItemSet, SvtScriptType nScriptType );
+    SAL_DLLPRIVATE static SvxFont  CreateSvxFontFromItemSet( const SfxItemSet& 
rItemSet );
+    SAL_DLLPRIVATE static bool     IsPrintable( sal_Unicode c ) { return ( ( c 
>= 32 ) && ( c != 127 ) ); }
     static bool     HasValidData( const css::uno::Reference< 
css::datatransfer::XTransferable >& rTransferable );
     /** sets a link that is called at the beginning of a drag operation at an 
edit view */
-    void            SetBeginDropHdl( const Link<EditView*,void>& rLink );
-    Link<EditView*,void> const & GetBeginDropHdl() const;
+    SAL_DLLPRIVATE void            SetBeginDropHdl( const 
Link<EditView*,void>& rLink );
+    SAL_DLLPRIVATE Link<EditView*,void> const & GetBeginDropHdl() const;
 
     /** sets a link that is called at the end of a drag operation at an edit 
view */
-    void            SetEndDropHdl( const Link<EditView*,void>& rLink );
-    Link<EditView*,void> const & GetEndDropHdl() const;
+    SAL_DLLPRIVATE void            SetEndDropHdl( const Link<EditView*,void>& 
rLink );
+    SAL_DLLPRIVATE Link<EditView*,void> const & GetEndDropHdl() const;
 
     /// specifies if auto-correction should capitalize the first word or not 
(default is on)
     void            SetFirstWordCapitalization( bool bCapitalize );
@@ -560,87 +560,87 @@ public:
         mark (apostrophe) or not (default is on) */
     void            SetReplaceLeadingSingleQuotationMark( bool bReplace );
 
-    EditDoc& GetEditDoc();
-    const EditDoc& GetEditDoc() const;
+    SAL_DLLPRIVATE EditDoc& GetEditDoc();
+    SAL_DLLPRIVATE const EditDoc& GetEditDoc() const;
     void dumpAsXmlEditDoc(xmlTextWriterPtr pWriter) const;
 
-    ParaPortionList& GetParaPortions();
-    const ParaPortionList& GetParaPortions() const;
+    SAL_DLLPRIVATE ParaPortionList& GetParaPortions();
+    SAL_DLLPRIVATE const ParaPortionList& GetParaPortions() const;
 
-    bool IsFormatted() const;
-    bool IsHtmlImportHandlerSet() const;
-    bool IsRtfImportHandlerSet() const;
-    bool IsImportRTFStyleSheetsSet() const;
+    SAL_DLLPRIVATE bool IsFormatted() const;
+    SAL_DLLPRIVATE bool IsHtmlImportHandlerSet() const;
+    SAL_DLLPRIVATE bool IsRtfImportHandlerSet() const;
+    SAL_DLLPRIVATE bool IsImportRTFStyleSheetsSet() const;
 
-    void CallRtfImportHandler(RtfImportInfo& rInfo);
-    void CallHtmlImportHandler(HtmlImportInfo& rInfo);
+    SAL_DLLPRIVATE void CallRtfImportHandler(RtfImportInfo& rInfo);
+    SAL_DLLPRIVATE void CallHtmlImportHandler(HtmlImportInfo& rInfo);
 
-    void ParaAttribsToCharAttribs(ContentNode* pNode);
+    SAL_DLLPRIVATE void ParaAttribsToCharAttribs(ContentNode* pNode);
 
-    EditPaM CreateEditPaM(const EPaM& rEPaM);
-    EditPaM ConnectParagraphs(
+    SAL_DLLPRIVATE EditPaM CreateEditPaM(const EPaM& rEPaM);
+    SAL_DLLPRIVATE EditPaM ConnectParagraphs(
         ContentNode* pLeft, ContentNode* pRight, bool bBackward);
 
-    EditPaM InsertField(const EditSelection& rEditSelection, const 
SvxFieldItem& rFld);
-    EditPaM InsertText(const EditSelection& aCurEditSelection, const OUString& 
rStr);
-    EditSelection InsertText(const EditTextObject& rTextObject, const 
EditSelection& rSel);
-    EditPaM InsertParaBreak(const EditSelection& rEditSelection);
-    EditPaM InsertLineBreak(const EditSelection& rEditSelection);
+    SAL_DLLPRIVATE EditPaM InsertField(const EditSelection& rEditSelection, 
const SvxFieldItem& rFld);
+    SAL_DLLPRIVATE EditPaM InsertText(const EditSelection& aCurEditSelection, 
const OUString& rStr);
+    SAL_DLLPRIVATE EditSelection InsertText(const EditTextObject& rTextObject, 
const EditSelection& rSel);
+    SAL_DLLPRIVATE EditPaM InsertParaBreak(const EditSelection& 
rEditSelection);
+    SAL_DLLPRIVATE EditPaM InsertLineBreak(const EditSelection& 
rEditSelection);
 
-    EditPaM CursorLeft(
+    SAL_DLLPRIVATE EditPaM CursorLeft(
         const EditPaM& rPaM, sal_uInt16 nCharacterIteratorMode = 
css::i18n::CharacterIteratorMode::SKIPCELL);
-    EditPaM CursorRight(
+    SAL_DLLPRIVATE EditPaM CursorRight(
         const EditPaM& rPaM, sal_uInt16 nCharacterIteratorMode = 
css::i18n::CharacterIteratorMode::SKIPCELL);
 
-    void SeekCursor(ContentNode* pNode, sal_Int32 nPos, SvxFont& rFont);
+    SAL_DLLPRIVATE void SeekCursor(ContentNode* pNode, sal_Int32 nPos, 
SvxFont& rFont);
 
-    EditPaM DeleteSelection(const EditSelection& rSel);
+    SAL_DLLPRIVATE EditPaM DeleteSelection(const EditSelection& rSel);
 
-    ESelection CreateESelection(const EditSelection& rSel) const;
-    EditSelection CreateSelection(const ESelection& rSel);
+    SAL_DLLPRIVATE ESelection CreateESelection(const EditSelection& rSel) 
const;
+    SAL_DLLPRIVATE EditSelection CreateSelection(const ESelection& rSel);
 
-    const SfxItemSet& GetBaseParaAttribs(sal_Int32 nPara) const;
-    void SetParaAttribsOnly(sal_Int32 nPara, const SfxItemSet& rSet);
-    void SetAttribs(const EditSelection& rSel, const SfxItemSet& rSet, 
SetAttribsMode nSpecial = SetAttribsMode::NONE);
+    SAL_DLLPRIVATE const SfxItemSet& GetBaseParaAttribs(sal_Int32 nPara) const;
+    SAL_DLLPRIVATE void SetParaAttribsOnly(sal_Int32 nPara, const SfxItemSet& 
rSet);
+    SAL_DLLPRIVATE void SetAttribs(const EditSelection& rSel, const 
SfxItemSet& rSet, SetAttribsMode nSpecial = SetAttribsMode::NONE);
 
-    OUString GetSelected(const EditSelection& rSel) const;
-    EditPaM DeleteSelected(const EditSelection& rSel);
+    SAL_DLLPRIVATE OUString GetSelected(const EditSelection& rSel) const;
+    SAL_DLLPRIVATE EditPaM DeleteSelected(const EditSelection& rSel);
 
-    SvtScriptType GetScriptType(const EditSelection& rSel) const;
+    SAL_DLLPRIVATE SvtScriptType GetScriptType(const EditSelection& rSel) 
const;
 
-    void RemoveParaPortion(sal_Int32 nNode);
+    SAL_DLLPRIVATE void RemoveParaPortion(sal_Int32 nNode);
 
-    void SetCallParaInsertedOrDeleted(bool b);
-    bool IsCallParaInsertedOrDeleted() const;
+    SAL_DLLPRIVATE void SetCallParaInsertedOrDeleted(bool b);
+    SAL_DLLPRIVATE bool IsCallParaInsertedOrDeleted() const;
 
-    void AppendDeletedNodeInfo(DeletedNodeInfo* pInfo);
-    void UpdateSelections();
+    SAL_DLLPRIVATE void AppendDeletedNodeInfo(DeletedNodeInfo* pInfo);
+    SAL_DLLPRIVATE void UpdateSelections();
 
-    void InsertContent(std::unique_ptr<ContentNode> pNode, sal_Int32 nPos);
-    EditPaM SplitContent(sal_Int32 nNode, sal_Int32 nSepPos);
-    EditPaM ConnectContents(sal_Int32 nLeftNode, bool bBackward);
+    SAL_DLLPRIVATE void InsertContent(std::unique_ptr<ContentNode> pNode, 
sal_Int32 nPos);
+    SAL_DLLPRIVATE EditPaM SplitContent(sal_Int32 nNode, sal_Int32 nSepPos);
+    SAL_DLLPRIVATE EditPaM ConnectContents(sal_Int32 nLeftNode, bool 
bBackward);
 
-    void InsertFeature(const EditSelection& rEditSelection, const SfxPoolItem& 
rItem);
+    SAL_DLLPRIVATE void InsertFeature(const EditSelection& rEditSelection, 
const SfxPoolItem& rItem);
 
-    EditSelection MoveParagraphs(const Range& rParagraphs, sal_Int32 nNewPos);
+    SAL_DLLPRIVATE EditSelection MoveParagraphs(const Range& rParagraphs, 
sal_Int32 nNewPos);
 
     void RemoveCharAttribs(sal_Int32 nPara, sal_uInt16 nWhich = 0, bool 
bRemoveFeatures = false);
-    void RemoveCharAttribs(const EditSelection& rSel, bool bRemoveParaAttribs, 
sal_uInt16 nWhich);
-    void RemoveCharAttribs(const EditSelection& rSel, EERemoveParaAttribsMode 
eMode, sal_uInt16 nWhich);
+    SAL_DLLPRIVATE void RemoveCharAttribs(const EditSelection& rSel, bool 
bRemoveParaAttribs, sal_uInt16 nWhich);
+    SAL_DLLPRIVATE void RemoveCharAttribs(const EditSelection& rSel, 
EERemoveParaAttribsMode eMode, sal_uInt16 nWhich);
 
-    ViewsType& GetEditViews();
-    const ViewsType& GetEditViews() const;
+    SAL_DLLPRIVATE ViewsType& GetEditViews();
+    SAL_DLLPRIVATE const ViewsType& GetEditViews() const;
 
-    void SetUndoMode(bool b);
+    SAL_DLLPRIVATE void SetUndoMode(bool b);
     void FormatAndLayout(EditView* pCurView, bool bCalledFromUndo = false);
 
-    void Undo(EditView* pView);
-    void Redo(EditView* pView);
+    SAL_DLLPRIVATE void Undo(EditView* pView);
+    SAL_DLLPRIVATE void Redo(EditView* pView);
 
-    sal_Int32 GetOverflowingParaNum() const;
-    sal_Int32 GetOverflowingLineNum() const;
-    void ClearOverflowingParaNum();
-    bool IsPageOverflow();
+    SAL_DLLPRIVATE sal_Int32 GetOverflowingParaNum() const;
+    SAL_DLLPRIVATE sal_Int32 GetOverflowingLineNum() const;
+    SAL_DLLPRIVATE void ClearOverflowingParaNum();
+    SAL_DLLPRIVATE bool IsPageOverflow();
 
     // tdf#132288  By default inserting an attribute beside another that is of
     // the same type expands the original instead of inserting another. But the
@@ -655,7 +655,7 @@ public:
     const Size& GetLOKSpecialPaperSize() const;
 
 #ifdef DBG_UTIL
-    static void DumpData(const EditEngine* pEE, bool bInfoBox);
+    SAL_DLLPRIVATE static void DumpData(const EditEngine* pEE, bool bInfoBox);
 #endif
 };
 
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index c48aa9346dc4..f2c5f9c46d7d 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -160,7 +160,7 @@ public:
     typedef std::vector<VclPtr<vcl::Window>> OutWindowSet;
 
     ImpEditView& getImpl() const { return *mpImpEditView; }
-    ImpEditEngine& getImpEditEngine() const;
+    SAL_DLLPRIVATE ImpEditEngine& getImpEditEngine() const;
 
     void setEditEngine(EditEngine* pEditEngine);
     EditEngine& getEditEngine() const;
@@ -174,7 +174,7 @@ private:
 
     // counts how many characters take unfolded fields
     // bCanOverflow - count field length without trim to the selected pos
-    sal_Int32       countFieldsOffsetSum(sal_Int32 nPara, sal_Int32 nPo, bool 
bCanOverflow) const;
+    SAL_DLLPRIVATE sal_Int32       countFieldsOffsetSum(sal_Int32 nPara, 
sal_Int32 nPo, bool bCanOverflow) const;
 
 public:
                     EditView( EditEngine* pEng, vcl::Window* pWindow );
@@ -190,13 +190,13 @@ public:
 
     LanguageType    GetInputLanguage() const;
 
-    bool            HasOtherViewWindow( vcl::Window* pWin );
+    SAL_DLLPRIVATE bool            HasOtherViewWindow( vcl::Window* pWin );
     bool            AddOtherViewWindow( vcl::Window* pWin );
     bool            RemoveOtherViewWindow( vcl::Window* pWin );
 
     void            Paint( const tools::Rectangle& rRect, OutputDevice* 
pTargetDevice = nullptr );
     tools::Rectangle       GetInvalidateRect() const;
-    void            InvalidateWindow(const tools::Rectangle& rClipRect);
+    SAL_DLLPRIVATE void            InvalidateWindow(const tools::Rectangle& 
rClipRect);
     void            InvalidateOtherViewWindows( const tools::Rectangle& 
rInvRect );
     void            Invalidate();
     ::Pair            Scroll( tools::Long nHorzScroll, tools::Long 
nVertScroll, ScrollRangeCheck nRangeCheck = ScrollRangeCheck::NoNegative );
@@ -250,7 +250,7 @@ public:
 
     bool            MouseButtonUp( const MouseEvent& rMouseEvent );
     bool            MouseButtonDown( const MouseEvent& rMouseEvent );
-    void            ReleaseMouse();
+    SAL_DLLPRIVATE void            ReleaseMouse();
     bool            MouseMove( const MouseEvent& rMouseEvent );
     bool            Command(const CommandEvent& rCEvt);
 
@@ -264,18 +264,18 @@ public:
 
     // especially for Oliver Specht
     Point           GetWindowPosTopLeft( sal_Int32 nParagraph );
-    void            MoveParagraphs( Range aParagraphs, sal_Int32 nNewPos );
-    void            MoveParagraphs( tools::Long nDiff );
+    SAL_DLLPRIVATE void            MoveParagraphs( Range aParagraphs, 
sal_Int32 nNewPos );
+    SAL_DLLPRIVATE void            MoveParagraphs( tools::Long nDiff );
 
     const SfxItemSet& GetEmptyItemSet() const;
     SfxItemSet          GetAttribs();
     void                SetAttribs( const SfxItemSet& rSet );
     void                RemoveAttribs( bool bRemoveParaAttribs = false, 
sal_uInt16 nWhich = 0 );
-    void                RemoveAttribs( EERemoveParaAttribsMode eMode, 
sal_uInt16 nWhich );
+    SAL_DLLPRIVATE void                RemoveAttribs( EERemoveParaAttribsMode 
eMode, sal_uInt16 nWhich );
     void                RemoveCharAttribs( sal_Int32 nPara, sal_uInt16 nWhich 
);
     void                RemoveAttribsKeepLanguages( bool bRemoveParaAttribs );
 
-    ErrCode             Read( SvStream& rInput, EETextFormat eFormat, 
SvKeyValueIterator* pHTTPHeaderAttrs );
+    SAL_DLLPRIVATE ErrCode             Read( SvStream& rInput, EETextFormat 
eFormat, SvKeyValueIterator* pHTTPHeaderAttrs );
 
     void            SetBackgroundColor( const Color& rColor );
     Color const &   GetBackgroundColor() const;
@@ -300,36 +300,36 @@ public:
     bool            SetEditEngineUpdateLayout( bool bUpdate );
     void            ForceLayoutCalculation();
 
-    const SfxStyleSheet* GetStyleSheet() const;
-    SfxStyleSheet* GetStyleSheet();
+    SAL_DLLPRIVATE const SfxStyleSheet* GetStyleSheet() const;
+    SAL_DLLPRIVATE SfxStyleSheet* GetStyleSheet();
 
-    void            SetAnchorMode( EEAnchorMode eMode );
-    EEAnchorMode    GetAnchorMode() const;
+    SAL_DLLPRIVATE void            SetAnchorMode( EEAnchorMode eMode );
+    SAL_DLLPRIVATE EEAnchorMode    GetAnchorMode() const;
 
     void            CompleteAutoCorrect( vcl::Window const * pFrameWin = 
nullptr );
 
     EESpellState    StartSpeller(weld::Widget* pDialogParent, bool 
bMultipleDoc = false);
     EESpellState    StartThesaurus(weld::Widget* pDialogParent);
-    sal_Int32       StartSearchAndReplace( const SvxSearchItem& rSearchItem );
+    SAL_DLLPRIVATE sal_Int32       StartSearchAndReplace( const SvxSearchItem& 
rSearchItem );
 
     // for text conversion
     void            StartTextConversion(weld::Widget* pDialogParent, 
LanguageType nSrcLang, LanguageType nDestLang, const vcl::Font *pDestFont, 
sal_Int32 nOptions, bool bIsInteractive, bool bMultipleDoc);
 
     void            TransliterateText( TransliterationFlags 
nTransliterationMode );
 
-    bool            IsCursorAtWrongSpelledWord();
+    SAL_DLLPRIVATE bool            IsCursorAtWrongSpelledWord();
     bool            IsWrongSpelledWordAtPos( const Point& rPosPixel, bool 
bMarkIfWrong = false );
     bool            ExecuteSpellPopup(const Point& rPosPixel, const 
Link<SpellCallbackInfo&,void>& rCallBack);
     OUString        SpellIgnoreWord();
 
     void                InsertField( const SvxFieldItem& rFld );
     const SvxFieldItem* GetFieldUnderMousePointer() const;
-    const SvxFieldItem* GetFieldUnderMousePointer( sal_Int32& nPara, 
sal_Int32& nPos ) const;
+    SAL_DLLPRIVATE const SvxFieldItem* GetFieldUnderMousePointer( sal_Int32& 
nPara, sal_Int32& nPos ) const;
     const SvxFieldItem* GetField( const Point& rPos, sal_Int32* pnPara = 
nullptr, sal_Int32* pnPos = nullptr ) const;
 
     /// return the selected field or the field immediately after (or before) 
the current cursor
     const SvxFieldItem* GetFieldAtSelection(bool bAlsoCheckBeforeCursor = 
false) const;
-    const SvxFieldItem* GetFieldAtSelection(bool* pIsBeforeCursor) const;
+    SAL_DLLPRIVATE const SvxFieldItem* GetFieldAtSelection(bool* 
pIsBeforeCursor) const;
 
     /// return field under mouse, at selection, or immediately after (or 
before) the current cursor
     const SvxFieldData* GetFieldUnderMouseOrInSelectionOrAtCursor(bool 
bAlsoCheckBeforeCursor = false) const;
@@ -340,8 +340,8 @@ public:
     /// Converts logical position in paragraph to position with unfolded fields
     sal_Int32       GetPosWithField(sal_Int32 nPara, sal_Int32 nPos) const;
 
-    void            SetInvalidateMore( sal_uInt16 nPixel );
-    sal_uInt16      GetInvalidateMore() const;
+    SAL_DLLPRIVATE void            SetInvalidateMore( sal_uInt16 nPixel );
+    SAL_DLLPRIVATE sal_uInt16      GetInvalidateMore() const;
 
     // grows or shrinks the font height for the current selection
     void            ChangeFontSize( bool bGrow, const FontList* pList );
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 012e5208159c..3e4dac1082ad 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -623,45 +623,45 @@ private:
     DECL_DLLPRIVATE_LINK(    BeginPasteOrDropHdl, PasteOrDropInfos&, void );
     DECL_DLLPRIVATE_LINK(    EndPasteOrDropHdl, PasteOrDropInfos&, void );
     DECL_DLLPRIVATE_LINK(    EditEngineNotifyHdl, EENotify&, void );
-    void                ImplCheckParagraphs( sal_Int32 nStart, sal_Int32 nEnd 
);
-    bool                ImplHasNumberFormat( sal_Int32 nPara ) const;
-    Size                ImplGetBulletSize( sal_Int32 nPara );
-    sal_uInt16          ImplGetNumbering( sal_Int32 nPara, const 
SvxNumberFormat* pParaFmt );
-    void                ImplCalcBulletText( sal_Int32 nPara, bool 
bRecalcLevel, bool bRecalcChildren );
-    OUString            ImplGetBulletText( sal_Int32 nPara );
-    void                ImplCheckNumBulletItem( sal_Int32 nPara );
-    void                ImplInitDepth( sal_Int32 nPara, sal_Int16 nDepth, bool 
bCreateUndo );
-    void                ImplSetLevelDependentStyleSheet( sal_Int32 nPara );
-
-    void                ImplBlockInsertionCallbacks( bool b );
-
-    void        ImpFilterIndents( sal_Int32 nFirstPara, sal_Int32 nLastPara );
-    bool        ImpConvertEdtToOut( sal_Int32 nPara );
-
-    void        ImpTextPasted( sal_Int32 nStartPara, sal_Int32 nCount );
-    vcl::Font   ImpCalcBulletFont( sal_Int32 nPara ) const;
-    tools::Rectangle   ImpCalcBulletArea( sal_Int32 nPara, bool bAdjust, bool 
bReturnPaperPos );
-    bool        ImpCanIndentSelectedPages( OutlinerView* pCurView );
-    bool        ImpCanDeleteSelectedPages( OutlinerView* pCurView );
-    bool        ImpCanDeleteSelectedPages( OutlinerView* pCurView, sal_Int32 
nFirstPage, sal_Int32 nPages );
-
-    void        ImplCheckDepth( sal_Int16& rnDepth ) const;
+    SAL_DLLPRIVATE void                ImplCheckParagraphs( sal_Int32 nStart, 
sal_Int32 nEnd );
+    SAL_DLLPRIVATE bool                ImplHasNumberFormat( sal_Int32 nPara ) 
const;
+    SAL_DLLPRIVATE Size                ImplGetBulletSize( sal_Int32 nPara );
+    SAL_DLLPRIVATE sal_uInt16          ImplGetNumbering( sal_Int32 nPara, 
const SvxNumberFormat* pParaFmt );
+    SAL_DLLPRIVATE void                ImplCalcBulletText( sal_Int32 nPara, 
bool bRecalcLevel, bool bRecalcChildren );
+    SAL_DLLPRIVATE OUString            ImplGetBulletText( sal_Int32 nPara );
+    SAL_DLLPRIVATE void                ImplCheckNumBulletItem( sal_Int32 nPara 
);
+    SAL_DLLPRIVATE void                ImplInitDepth( sal_Int32 nPara, 
sal_Int16 nDepth, bool bCreateUndo );
+    SAL_DLLPRIVATE void                ImplSetLevelDependentStyleSheet( 
sal_Int32 nPara );
+
+    SAL_DLLPRIVATE void                ImplBlockInsertionCallbacks( bool b );
+
+    SAL_DLLPRIVATE void        ImpFilterIndents( sal_Int32 nFirstPara, 
sal_Int32 nLastPara );
+    SAL_DLLPRIVATE bool        ImpConvertEdtToOut( sal_Int32 nPara );
+
+    SAL_DLLPRIVATE void        ImpTextPasted( sal_Int32 nStartPara, sal_Int32 
nCount );
+    SAL_DLLPRIVATE vcl::Font   ImpCalcBulletFont( sal_Int32 nPara ) const;
+    SAL_DLLPRIVATE tools::Rectangle   ImpCalcBulletArea( sal_Int32 nPara, bool 
bAdjust, bool bReturnPaperPos );
+    SAL_DLLPRIVATE bool        ImpCanIndentSelectedPages( OutlinerView* 
pCurView );
+    SAL_DLLPRIVATE bool        ImpCanDeleteSelectedPages( OutlinerView* 
pCurView );
+    SAL_DLLPRIVATE bool        ImpCanDeleteSelectedPages( OutlinerView* 
pCurView, sal_Int32 nFirstPage, sal_Int32 nPages );
+
+    SAL_DLLPRIVATE void        ImplCheckDepth( sal_Int16& rnDepth ) const;
 
 protected:
-    void            ParagraphInserted( sal_Int32 nParagraph );
-    void            ParagraphDeleted( sal_Int32 nParagraph );
-    void            ParaAttribsChanged( sal_Int32 nParagraph );
+    SAL_DLLPRIVATE void            ParagraphInserted( sal_Int32 nParagraph );
+    SAL_DLLPRIVATE void            ParagraphDeleted( sal_Int32 nParagraph );
+    SAL_DLLPRIVATE void            ParaAttribsChanged( sal_Int32 nParagraph );
 
-    void            StyleSheetChanged( SfxStyleSheet const * pStyle );
+    SAL_DLLPRIVATE void            StyleSheetChanged( SfxStyleSheet const * 
pStyle );
 
-    void            InvalidateBullet(sal_Int32 nPara);
-    void            PaintBullet(sal_Int32 nPara, const Point& rStartPos,
+    SAL_DLLPRIVATE void            InvalidateBullet(sal_Int32 nPara);
+    SAL_DLLPRIVATE void            PaintBullet(sal_Int32 nPara, const Point& 
rStartPos,
                                 const Point& rOrigin, Degree10 nOrientation,
                                 OutputDevice& rOutDev);
 
     // used by OutlinerEditEng. Allows Outliner objects to provide
     // bullet access to the EditEngine.
-    const SvxNumberFormat*  GetNumberFormat( sal_Int32 nPara ) const;
+    SAL_DLLPRIVATE const SvxNumberFormat*  GetNumberFormat( sal_Int32 nPara ) 
const;
 
 public:
 
@@ -716,8 +716,8 @@ public:
     void            SetBackgroundColor( const Color& rColor );
     Color const &   GetBackgroundColor() const;
 
-    void            SetMaxDepth( sal_Int16 nDepth );
-    sal_Int16       GetMaxDepth() const { return nMaxDepth; }
+    SAL_DLLPRIVATE void            SetMaxDepth( sal_Int16 nDepth );
+    SAL_DLLPRIVATE sal_Int16       GetMaxDepth() const { return nMaxDepth; }
 
     /// @return previous value of bUpdateLayout state
     bool            SetUpdateLayout( bool bUpdate );
@@ -743,47 +743,47 @@ public:
     bool            IsUndoEnabled() const;
     void            UndoActionStart( sal_uInt16 nId );
     void            UndoActionEnd();
-    void            InsertUndo( std::unique_ptr<EditUndo> pUndo );
+    SAL_DLLPRIVATE void            InsertUndo( std::unique_ptr<EditUndo> pUndo 
);
     bool            IsInUndo() const;
 
     void            ClearModifyFlag();
     bool            IsModified() const;
 
-    void            ParagraphInsertedHdl(Paragraph*);
-    void            SetParaInsertedHdl(const Link<ParagraphHdlParam,void>& 
rLink){aParaInsertedHdl=rLink;}
-    const Link<ParagraphHdlParam,void>& GetParaInsertedHdl() const { return 
aParaInsertedHdl; }
+    SAL_DLLPRIVATE void            ParagraphInsertedHdl(Paragraph*);
+    SAL_DLLPRIVATE void            SetParaInsertedHdl(const 
Link<ParagraphHdlParam,void>& rLink){aParaInsertedHdl=rLink;}
+    SAL_DLLPRIVATE const Link<ParagraphHdlParam,void>& GetParaInsertedHdl() 
const { return aParaInsertedHdl; }
 
-    void            SetParaRemovingHdl(const Link<ParagraphHdlParam,void>& 
rLink){aParaRemovingHdl=rLink;}
-    const Link<ParagraphHdlParam,void>& GetParaRemovingHdl() const { return 
aParaRemovingHdl; }
+    SAL_DLLPRIVATE void            SetParaRemovingHdl(const 
Link<ParagraphHdlParam,void>& rLink){aParaRemovingHdl=rLink;}
+    SAL_DLLPRIVATE const Link<ParagraphHdlParam,void>& GetParaRemovingHdl() 
const { return aParaRemovingHdl; }
 
-    std::optional<NonOverflowingText> GetNonOverflowingText() const;
-    std::optional<OverflowingText> GetOverflowingText() const;
+    SAL_DLLPRIVATE std::optional<NonOverflowingText> GetNonOverflowingText() 
const;
+    SAL_DLLPRIVATE std::optional<OverflowingText> GetOverflowingText() const;
     void ClearOverflowingParaNum();
     bool IsPageOverflow();
 
     OutlinerParaObject GetEmptyParaObject() const;
 
 
-    void            DepthChangedHdl(Paragraph*, ParaFlag nPrevFlags);
-    void            SetDepthChangedHdl(const Link<DepthChangeHdlParam,void>& 
rLink){aDepthChangedHdl=rLink;}
-    const Link<DepthChangeHdlParam,void>& GetDepthChangedHdl() const { return 
aDepthChangedHdl; }
-    sal_Int16       GetPrevDepth() const { return 
static_cast<sal_Int16>(nDepthChangedHdlPrevDepth); }
+    SAL_DLLPRIVATE void            DepthChangedHdl(Paragraph*, ParaFlag 
nPrevFlags);
+    SAL_DLLPRIVATE void            SetDepthChangedHdl(const 
Link<DepthChangeHdlParam,void>& rLink){aDepthChangedHdl=rLink;}
+    SAL_DLLPRIVATE const Link<DepthChangeHdlParam,void>& GetDepthChangedHdl() 
const { return aDepthChangedHdl; }
+    SAL_DLLPRIVATE sal_Int16       GetPrevDepth() const { return 
static_cast<sal_Int16>(nDepthChangedHdlPrevDepth); }
 
-    bool            RemovingPagesHdl( OutlinerView* );
-    void            SetRemovingPagesHdl(const Link<OutlinerView*,bool>& 
rLink){aRemovingPagesHdl=rLink;}
-    bool            IndentingPagesHdl( OutlinerView* );
-    void            SetIndentingPagesHdl(const Link<OutlinerView*,bool>& 
rLink){aIndentingPagesHdl=rLink;}
+    SAL_DLLPRIVATE bool            RemovingPagesHdl( OutlinerView* );
+    SAL_DLLPRIVATE void            SetRemovingPagesHdl(const 
Link<OutlinerView*,bool>& rLink){aRemovingPagesHdl=rLink;}
+    SAL_DLLPRIVATE bool            IndentingPagesHdl( OutlinerView* );
+    SAL_DLLPRIVATE void            SetIndentingPagesHdl(const 
Link<OutlinerView*,bool>& rLink){aIndentingPagesHdl=rLink;}
     // valid only in the two upper handlers
-    sal_Int32       GetSelPageCount() const { return 
nDepthChangedHdlPrevDepth; }
+    SAL_DLLPRIVATE sal_Int32       GetSelPageCount() const { return 
nDepthChangedHdlPrevDepth; }
 
-    void            SetCalcFieldValueHdl(const Link<EditFieldInfo*,void>& 
rLink ) { aCalcFieldValueHdl= rLink; }
-    const Link<EditFieldInfo*,void>& GetCalcFieldValueHdl() const { return 
aCalcFieldValueHdl; }
+    SAL_DLLPRIVATE void            SetCalcFieldValueHdl(const 
Link<EditFieldInfo*,void>& rLink ) { aCalcFieldValueHdl= rLink; }
+    SAL_DLLPRIVATE const Link<EditFieldInfo*,void>& GetCalcFieldValueHdl() 
const { return aCalcFieldValueHdl; }
 
-    void            SetDrawPortionHdl(const Link<DrawPortionInfo*,void>& 
rLink){aDrawPortionHdl=rLink;}
+    SAL_DLLPRIVATE void            SetDrawPortionHdl(const 
Link<DrawPortionInfo*,void>& rLink){aDrawPortionHdl=rLink;}
 
-    void            SetDrawBulletHdl(const Link<DrawBulletInfo*,void>& 
rLink){aDrawBulletHdl=rLink;}
+    SAL_DLLPRIVATE void            SetDrawBulletHdl(const 
Link<DrawBulletInfo*,void>& rLink){aDrawBulletHdl=rLink;}
 
-    void            SetPaintFirstLineHdl(const Link<PaintFirstLineInfo*,void>& 
rLink) { maPaintFirstLineHdl = rLink; }
+    SAL_DLLPRIVATE void            SetPaintFirstLineHdl(const 
Link<PaintFirstLineInfo*,void>& rLink) { maPaintFirstLineHdl = rLink; }
 
     void            SetModifyHdl( const Link<LinkParamNone*,void>& rLink );
 
@@ -818,7 +818,7 @@ public:
     void            EnableAutoColor( bool b );
 
     void            ForceAutoColor( bool b );
-    bool            IsForceAutoColor() const;
+    SAL_DLLPRIVATE bool            IsForceAutoColor() const;
 
     EBulletInfo     GetBulletInfo( sal_Int32 nPara );
 
@@ -828,7 +828,7 @@ public:
 
     void            StripPortions();
 
-    void DrawingText( const Point& rStartPos, const OUString& rText,
+    SAL_DLLPRIVATE void DrawingText( const Point& rStartPos, const OUString& 
rText,
                               sal_Int32 nTextStart, sal_Int32 nTextLen,
                               std::span<const sal_Int32> pDXArray,
                               std::span<const sal_Bool> pKashidaArray,
@@ -843,7 +843,7 @@ public:
                               const Color& rOverlineColor,
                               const Color& rTextLineColor);
 
-    void DrawingTab( const Point& rStartPos, tools::Long nWidth, const 
OUString& rChar,
+    SAL_DLLPRIVATE void DrawingTab( const Point& rStartPos, tools::Long 
nWidth, const OUString& rChar,
                              const SvxFont& rFont, sal_Int32 nPara, sal_uInt8 
nRightToLeft,
                              bool bEndOfLine,
                              bool bEndOfParagraph,
@@ -865,8 +865,8 @@ public:
     SfxItemSet const & GetParaAttribs( sal_Int32 nPara ) const;
 
     void            Remove( Paragraph const * pPara, sal_Int32 nParaCount );
-    bool            Expand( Paragraph const * );
-    bool            Collapse( Paragraph const * );
+    SAL_DLLPRIVATE bool            Expand( Paragraph const * );
+    SAL_DLLPRIVATE bool            Collapse( Paragraph const * );
 
     void            SetParaFlag( Paragraph* pPara,  ParaFlag nFlag );
     static bool     HasParaFlag( const Paragraph* pPara, ParaFlag nFlag );
@@ -875,10 +875,10 @@ public:
     void            SetControlWord( EEControlBits nWord );
     EEControlBits   GetControlWord() const;
 
-    const Link<Outliner*,void>& GetBeginMovingHdl() const { return 
aBeginMovingHdl; }
-    void            SetBeginMovingHdl(const Link<Outliner*,void>& rLink) 
{aBeginMovingHdl=rLink;}
-    const Link<Outliner*,void>& GetEndMovingHdl() const {return aEndMovingHdl;}
-    void            SetEndMovingHdl( const Link<Outliner*,void>& 
rLink){aEndMovingHdl=rLink;}
+    SAL_DLLPRIVATE const Link<Outliner*,void>& GetBeginMovingHdl() const { 
return aBeginMovingHdl; }
+    SAL_DLLPRIVATE void            SetBeginMovingHdl(const 
Link<Outliner*,void>& rLink) {aBeginMovingHdl=rLink;}
+    SAL_DLLPRIVATE const Link<Outliner*,void>& GetEndMovingHdl() const {return 
aEndMovingHdl;}
+    SAL_DLLPRIVATE void            SetEndMovingHdl( const 
Link<Outliner*,void>& rLink){aEndMovingHdl=rLink;}
 
     sal_uInt32           GetLineCount( sal_Int32 nParagraph ) const;
     sal_Int32           GetLineLen( sal_Int32 nParagraph, sal_Int32 nLine ) 
const;
@@ -899,7 +899,7 @@ public:
     /// Set attributes from rSet an all characters of nPara.
     void SetCharAttribs(sal_Int32 nPara, const SfxItemSet& rSet);
     void            RemoveCharAttribs( sal_Int32 nPara, sal_uInt16 nWhich = 0 
);
-    void            QuickFormatDoc();
+    SAL_DLLPRIVATE void            QuickFormatDoc();
 
     bool            UpdateFields();
     void            RemoveFields( const std::function<bool ( const 
SvxFieldData* )>& isFieldData = [] (const SvxFieldData* ){return true;} );
@@ -933,10 +933,10 @@ public:
     OutputDevice*   GetRefDevice() const;
 
     sal_uInt32      GetTextHeight() const;
-    tools::Rectangle GetParaBounds( sal_Int32 nParagraph ) const;
-    Point           GetDocPos( const Point& rPaperPos ) const;
+    SAL_DLLPRIVATE tools::Rectangle GetParaBounds( sal_Int32 nParagraph ) 
const;
+    SAL_DLLPRIVATE Point           GetDocPos( const Point& rPaperPos ) const;
     bool            IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder );
-    bool            IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder, 
bool* pbBulletPos );
+    SAL_DLLPRIVATE bool            IsTextPos( const Point& rPaperPos, 
sal_uInt16 nBorder, bool* pbBulletPos );
 
     void setGlobalScale(double rFontX = 100.0, double rFontY = 100.0, double 
rSpacingX = 100.0, double rSpacingY = 100.0);
     void getGlobalScale(double& rFontX, double& rFontY, double& rSpacingX, 
double& rSpacingY) const;
@@ -949,9 +949,9 @@ public:
     const EditEngine& GetEditEngine() const;
 
     // this is needed for StarOffice Api
-    void            SetLevelDependentStyleSheet( sal_Int32 nPara );
+    SAL_DLLPRIVATE void            SetLevelDependentStyleSheet( sal_Int32 
nPara );
 
-    OutlinerMode    GetOutlinerMode() const { return nOutlinerMode; }
+    SAL_DLLPRIVATE OutlinerMode    GetOutlinerMode() const { return 
nOutlinerMode; }
 
     // spell and return a sentence
     bool            SpellSentence(EditView const & rEditView, 
svx::SpellPortions& rToFill );
@@ -999,7 +999,7 @@ public:
     sal_Int32 GetBulletsNumberingStatus() const;
 
     // overridden in SdrOutliner
-    virtual std::optional<bool> GetCompatFlag(SdrCompatibilityFlag /*eFlag*/) 
const { return {}; };
+    SAL_DLLPRIVATE virtual std::optional<bool> 
GetCompatFlag(SdrCompatibilityFlag /*eFlag*/) const { return {}; };
 };
 
 #endif

Reply via email to