summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-02-26 15:36:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-03-07 07:03:17 +0100
commita7094c815628c70ac0430cd2ddc21f13b0b316d2 (patch)
treed6f3fc91ed5c62d5236a24c5858dd195c8688b58 /sc/source/ui
parent9c5fda14fff397d5d503f749ad019791d7e4ef83 (diff)
make more symbols private in calc
Change-Id: Id36a104e9d016dfc72477000c3899cf8682ad102 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164007 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/inc/docsh.hxx100
-rw-r--r--sc/source/ui/inc/prevwsh.hxx8
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx34
-rw-r--r--sc/source/ui/inc/viewdata.hxx48
4 files changed, 95 insertions, 95 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index 1b1f4164db06..e60b9f2b94e8 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -77,7 +77,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImportDBF(SvStream &rStream);
#define SC_PF_TESTMERGE 2
#define SC_PF_WHOLEROWS 4
-class SC_DLLPUBLIC ScDocShell final: public SfxObjectShell, public SfxListener
+class SAL_DLLPUBLIC_RTTI ScDocShell final: public SfxObjectShell, public SfxListener
{
std::shared_ptr<ScDocument> m_pDocument;
@@ -113,14 +113,14 @@ class SC_DLLPUBLIC ScDocShell final: public SfxObjectShell, public SfxListener
css::uno::Reference<css::script::vba::XVBAScriptListener> m_xVBAListener;
css::uno::Reference<css::datatransfer::XTransferable2> m_xClipData;
- SAL_DLLPRIVATE void InitItems();
- SAL_DLLPRIVATE void DoEnterHandler();
- SAL_DLLPRIVATE void InitOptions(bool bForLoading);
- SAL_DLLPRIVATE void ResetDrawObjectShell();
+ void InitItems();
+ void DoEnterHandler();
+ void InitOptions(bool bForLoading);
+ void ResetDrawObjectShell();
/** Do things that need to be done before saving to our own format and
necessary clean ups in dtor. */
- class SAL_DLLPRIVATE PrepareSaveGuard
+ class PrepareSaveGuard
{
public:
explicit PrepareSaveGuard( ScDocShell & rDocShell );
@@ -129,38 +129,39 @@ class SC_DLLPUBLIC ScDocShell final: public SfxObjectShell, public SfxListener
ScDocShell & mrDocShell;
};
- SAL_DLLPRIVATE bool LoadXML( SfxMedium* pMedium, const css::uno::Reference< css::embed::XStorage >& );
- SAL_DLLPRIVATE bool SaveXML( SfxMedium* pMedium, const css::uno::Reference< css::embed::XStorage >& );
- SAL_DLLPRIVATE SCTAB GetSaveTab();
+ bool LoadXML( SfxMedium* pMedium, const css::uno::Reference< css::embed::XStorage >& );
+ bool SaveXML( SfxMedium* pMedium, const css::uno::Reference< css::embed::XStorage >& );
+ SCTAB GetSaveTab();
friend bool TestImportDBF(SvStream &rStream);
- SAL_DLLPRIVATE ErrCode DBaseImport( const OUString& rFullFileName, rtl_TextEncoding eCharSet,
+ ErrCode DBaseImport( const OUString& rFullFileName, rtl_TextEncoding eCharSet,
std::map<SCCOL, ScColWidthParam>& aColWidthParam, ScFlatBoolRowSegments& rRowHeightsRecalc );
- SAL_DLLPRIVATE ErrCodeMsg DBaseExport(
+ ErrCodeMsg DBaseExport(
const OUString& rFullFileName, rtl_TextEncoding eCharSet, bool& bHasMemo );
- SAL_DLLPRIVATE static bool MoveFile( const INetURLObject& rSource, const INetURLObject& rDest );
- SAL_DLLPRIVATE static bool KillFile( const INetURLObject& rURL );
- SAL_DLLPRIVATE static bool IsDocument( const INetURLObject& rURL );
+ static bool MoveFile( const INetURLObject& rSource, const INetURLObject& rDest );
+ static bool KillFile( const INetURLObject& rURL );
+ static bool IsDocument( const INetURLObject& rURL );
- SAL_DLLPRIVATE void LockPaint_Impl(bool bDoc);
- SAL_DLLPRIVATE void UnlockPaint_Impl(bool bDoc);
- SAL_DLLPRIVATE void LockDocument_Impl(sal_uInt16 nNew);
- SAL_DLLPRIVATE void UnlockDocument_Impl(sal_uInt16 nNew);
+ void LockPaint_Impl(bool bDoc);
+ void UnlockPaint_Impl(bool bDoc);
+ void LockDocument_Impl(sal_uInt16 nNew);
+ void UnlockDocument_Impl(sal_uInt16 nNew);
- SAL_DLLPRIVATE void EnableSharedSettings( bool bEnable );
- SAL_DLLPRIVATE css::uno::Reference< css::frame::XModel > LoadSharedDocument();
+ void EnableSharedSettings( bool bEnable );
+ css::uno::Reference< css::frame::XModel > LoadSharedDocument();
- SAL_DLLPRIVATE void UseSheetSaveEntries();
+ void UseSheetSaveEntries();
- SAL_DLLPRIVATE std::unique_ptr<ScDocFunc> CreateDocFunc();
+ std::unique_ptr<ScDocFunc> CreateDocFunc();
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
public:
SFX_DECL_INTERFACE(SCID_DOC_SHELL)
- SFX_DECL_OBJECTFACTORY();
+ SC_DLLPUBLIC static SfxObjectFactory& Factory(); \
+ virtual SfxObjectFactory& GetFactory() const override { return Factory(); }
private:
/// SfxInterface initializer.
@@ -168,11 +169,10 @@ private:
public:
explicit ScDocShell( const ScDocShell& rDocShell ) = delete;
- explicit ScDocShell( const SfxModelFlags i_nSfxCreationFlags = SfxModelFlags::EMBEDDED_OBJECT, const std::shared_ptr<ScDocument>& pDoc = {} );
+ SC_DLLPUBLIC explicit ScDocShell( const SfxModelFlags i_nSfxCreationFlags = SfxModelFlags::EMBEDDED_OBJECT, const std::shared_ptr<ScDocument>& pDoc = {} );
virtual ~ScDocShell() override;
- virtual SfxUndoManager*
- GetUndoManager() override;
+ SC_DLLPUBLIC virtual SfxUndoManager* GetUndoManager() override;
virtual void FillClass( SvGlobalName * pClassName,
SotClipboardFormatId * pFormat,
@@ -200,7 +200,7 @@ public:
virtual void Draw(OutputDevice *, const JobSetup & rSetup, sal_uInt16 nAspect, bool bOutputForScreen) override;
- virtual void SetVisArea( const tools::Rectangle & rVisArea ) override;
+ SC_DLLPUBLIC virtual void SetVisArea( const tools::Rectangle & rVisArea ) override;
virtual void TerminateEditing() override;
@@ -215,7 +215,7 @@ public:
virtual std::shared_ptr<SfxDocumentInfoDialog> CreateDocumentInfoDialog(weld::Window* pParent, const SfxItemSet &rSet) override;
- void GetDocStat( ScDocStat& rDocStat );
+ SC_DLLPUBLIC void GetDocStat( ScDocStat& rDocStat );
const ScDocument& GetDocument() const { return *m_pDocument; }
ScDocument& GetDocument() { return *m_pDocument; }
@@ -262,13 +262,13 @@ public:
void NotifyStyle( const SfxStyleSheetHint& rHint );
void DoAutoStyle( const ScRange& rRange, const OUString& rStyle );
- static weld::Window* GetActiveDialogParent();
+ SC_DLLPUBLIC static weld::Window* GetActiveDialogParent();
void ErrorMessage(TranslateId pGlobStrId);
bool IsEditable() const;
bool AdjustRowHeight( SCROW nStartRow, SCROW nEndRow, SCTAB nTab );
- void UpdateAllRowHeights( const ScMarkData* pTabMark = nullptr );
- void UpdateAllRowHeights(const bool bOnlyUsedRows);
+ SC_DLLPUBLIC void UpdateAllRowHeights( const ScMarkData* pTabMark = nullptr );
+ SC_DLLPUBLIC void UpdateAllRowHeights(const bool bOnlyUsedRows);
void UpdatePendingRowHeights( SCTAB nUpdateTab, bool bBefore = false );
void RefreshPivotTables( const ScRange& rSource );
@@ -279,14 +279,14 @@ public:
ScMarkData& rMark, bool bRecord = true);
void ModifyScenario(SCTAB nTab, const OUString& rName, const OUString& rComment,
const Color& rColor, ScScenarioFlags nFlags);
- bool TransferTab( ScDocShell& rSrcDocShell, SCTAB nSrcPos,
+ SC_DLLPUBLIC bool TransferTab( ScDocShell& rSrcDocShell, SCTAB nSrcPos,
SCTAB nDestPos, bool bInsertNew,
bool bNotifyAndPaint );
bool MoveTable( SCTAB nSrcTab, SCTAB nDestTab, bool bCopy, bool bRecord );
- void DoRecalc( bool bApi );
- void DoHardRecalc();
+ SC_DLLPUBLIC void DoRecalc( bool bApi );
+ SC_DLLPUBLIC void DoHardRecalc();
void UpdateOle(const ScViewData& rViewData, bool bSnapSize = false);
bool IsOle() const;
@@ -299,13 +299,13 @@ public:
virtual void ReconnectDdeLink(SfxObjectShell& rServer) override;
void UpdateLinks() override;
- void SetInitialLinkUpdate( const SfxMedium* pMedium );
+ SC_DLLPUBLIC void SetInitialLinkUpdate( const SfxMedium* pMedium );
void AllowLinkUpdate();
- void ReloadAllLinks();
+ SC_DLLPUBLIC void ReloadAllLinks();
void ReloadTabLinks();
ScLkUpdMode GetLinkUpdateModeState() const;
- void SetFormulaOptions( const ScFormulaOptions& rOpt, bool bForLoading = false );
+ SC_DLLPUBLIC void SetFormulaOptions( const ScFormulaOptions& rOpt, bool bForLoading = false );
/**
* Called when the Options dialog is dismissed with the OK button, to
* handle potentially conflicting option settings.
@@ -319,12 +319,12 @@ public:
void PostPaint( SCCOL nStartCol, SCROW nStartRow, SCTAB nStartTab,
SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab, PaintPartFlags nPart,
sal_uInt16 nExtFlags = 0, tools::Long nMaxWidthAffectedHint = -1 );
- void PostPaint( const ScRangeList& rRanges, PaintPartFlags nPart, sal_uInt16 nExtFlags = 0,
+ SC_DLLPUBLIC void PostPaint( const ScRangeList& rRanges, PaintPartFlags nPart, sal_uInt16 nExtFlags = 0,
tools::Long nMaxWidthAffectedHint = -1 );
void PostPaintCell( SCCOL nCol, SCROW nRow, SCTAB nTab, tools::Long nMaxWidthAffectedHint = -1);
void PostPaintCell( const ScAddress& rPos, tools::Long nMaxWidthAffectedHint = -1);
- void PostPaintGridAll();
+ SC_DLLPUBLIC void PostPaintGridAll();
void PostPaintExtras();
bool IsPaintLocked() const { return m_pPaintLockData != nullptr; }
@@ -335,25 +335,25 @@ public:
SCCOL nEndCol, SCROW nEndRow, SCTAB nEndTab );
void UpdatePaintExt( sal_uInt16& rExtFlags, const ScRange& rRange );
- void SetDocumentModified();
+ SC_DLLPUBLIC void SetDocumentModified();
void SetDrawModified();
- void LockPaint();
- void UnlockPaint();
+ SC_DLLPUBLIC void LockPaint();
+ SC_DLLPUBLIC void UnlockPaint();
sal_uInt16 GetLockCount() const { return m_nDocumentLock;}
void SetLockCount(sal_uInt16 nNew);
void LockDocument();
void UnlockDocument();
- DECL_DLLPRIVATE_LINK( DialogClosedHdl, sfx2::FileDialogHelper*, void );
- DECL_DLLPRIVATE_LINK( ReloadAllLinksHdl, weld::Button&, void );
+ DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper*, void );
+ DECL_LINK( ReloadAllLinksHdl, weld::Button&, void );
virtual SfxStyleSheetBasePool* GetStyleSheetPool() override;
void SetInplace( bool bInplace );
bool IsEmpty() const { return m_bIsEmpty; }
- void SetEmpty(bool bSet);
+ SC_DLLPUBLIC void SetEmpty(bool bSet);
bool IsInUndo() const { return m_bIsInUndo; }
void SetInUndo(bool bSet);
@@ -378,7 +378,7 @@ public:
SfxBindings* GetViewBindings();
- ScTabViewShell* GetBestViewShell( bool bOnlyVisible = true );
+ SC_DLLPUBLIC ScTabViewShell* GetBestViewShell( bool bOnlyVisible = true );
void SetDocumentModifiedPending( bool bVal )
{ m_bDocumentModifiedPending = bVal; }
@@ -395,8 +395,8 @@ public:
OutputDevice* GetRefDevice(); // WYSIWYG: Printer, otherwise VirtualDevice...
- static ScViewData* GetViewData();
- static SCTAB GetCurTab();
+ SC_DLLPUBLIC static ScViewData* GetViewData();
+ SC_DLLPUBLIC static SCTAB GetCurTab();
static ScDocShell* GetShellByNum( sal_uInt16 nDocNo );
static OUString GetOwnFilterName();
@@ -409,7 +409,7 @@ public:
static bool HasAutomaticTableName( std::u16string_view rFilter );
static void LOKCommentNotify(LOKCommentNotificationType nType, const ScDocument& rDocument, const ScAddress& rPos, const ScPostIt* pNote);
- DECL_DLLPRIVATE_LINK( RefreshDBDataHdl, Timer*, void );
+ DECL_LINK( RefreshDBDataHdl, Timer*, void );
void BeforeXMLLoading();
void AfterXMLLoading(bool bRet);
@@ -431,7 +431,7 @@ public:
void SnapVisArea( tools::Rectangle& rRect ) const;
- void RegisterAutomationWorkbookObject(css::uno::Reference< ooo::vba::excel::XWorkbook > const& xWorkbook);
+ SC_DLLPUBLIC void RegisterAutomationWorkbookObject(css::uno::Reference< ooo::vba::excel::XWorkbook > const& xWorkbook);
ScModelObj* GetModel() const { return static_cast<ScModelObj*>(SfxObjectShell::GetModel().get()); }
diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx
index 5c2a37c4a519..76a338d5945d 100644
--- a/sc/source/ui/inc/prevwsh.hxx
+++ b/sc/source/ui/inc/prevwsh.hxx
@@ -37,7 +37,7 @@ class ScPreviewLocationData;
class CommandEvent;
class SfxViewFactory;
-class SC_DLLPUBLIC ScPreviewShell final : public SfxViewShell
+class SAL_DLLPUBLIC_RTTI ScPreviewShell final : public SfxViewShell
{
ScDocShell* pDocShell;
@@ -56,10 +56,10 @@ class SC_DLLPUBLIC ScPreviewShell final : public SfxViewShell
bool GetPageSize( Size& aPageSize );
private:
void Construct( vcl::Window* pParent );
- DECL_DLLPRIVATE_LINK( HorzScrollHandler, weld::Scrollbar&, void );
- DECL_DLLPRIVATE_LINK( VertScrollHandler, weld::Scrollbar&, void );
+ DECL_LINK( HorzScrollHandler, weld::Scrollbar&, void );
+ DECL_LINK( VertScrollHandler, weld::Scrollbar&, void );
void ScrollHandler(ScrollAdaptor* pScrollBar);
- DECL_DLLPRIVATE_LINK( CloseHdl, SystemWindow&, void);
+ DECL_LINK( CloseHdl, SystemWindow&, void);
void DoScroll( sal_uInt16 nMode );
void ExitPreview();
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index d6c159a9fa61..9dea7aaad429 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -99,7 +99,7 @@ enum ObjectSelectionType
class ScFormEditData;
class ScViewOptiChangesListener;
-class SC_DLLPUBLIC ScTabViewShell : public SfxViewShell, public ScDBFunc
+class SAL_DLLPUBLIC_RTTI ScTabViewShell : public SfxViewShell, public ScDBFunc
{
private:
rtl::Reference<ScViewOptiChangesListener> mChangesListener;
@@ -209,12 +209,12 @@ private:
bool IsSignatureLineSigned();
bool IsQRCodeSelected();
- DECL_DLLPRIVATE_LINK( SimpleRefClose, const OUString*, void );
- DECL_DLLPRIVATE_LINK( SimpleRefDone, const OUString&, void );
- DECL_DLLPRIVATE_LINK( SimpleRefAborted, const OUString&, void );
- DECL_DLLPRIVATE_LINK( SimpleRefChange, const OUString&, void );
- DECL_DLLPRIVATE_LINK( FormControlActivated, LinkParamNone*, void );
- DECL_DLLPRIVATE_LINK( DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*, void );
+ DECL_LINK( SimpleRefClose, const OUString*, void );
+ DECL_LINK( SimpleRefDone, const OUString&, void );
+ DECL_LINK( SimpleRefAborted, const OUString&, void );
+ DECL_LINK( SimpleRefChange, const OUString&, void );
+ DECL_LINK( FormControlActivated, LinkParamNone*, void );
+ DECL_LINK( DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*, void );
protected:
virtual void Activate(bool bMDI) override;
@@ -261,12 +261,12 @@ public:
weld::Window* GetDialogParent();
- bool IsRefInputMode() const;
+ SC_DLLPUBLIC bool IsRefInputMode() const;
void ExecuteInputDirect();
const ScInputHandler* GetInputHandler() const { return mpInputHandler.get(); }
ScInputHandler* GetInputHandler() { return mpInputHandler.get(); }
- const OUString* GetEditString() const;
+ SC_DLLPUBLIC const OUString* GetEditString() const;
void UpdateInputHandler( bool bForce = false, bool bStopEditing = true );
void UpdateInputHandlerCellAdjust( SvxCellHorJustify eJust );
bool TabKeyInput(const KeyEvent& rKEvt);
@@ -277,14 +277,14 @@ public:
::editeng::SvxBorderLine* GetDefaultFrameLine() const { return pCurFrameLine.get(); }
void SetDefaultFrameLine(const ::editeng::SvxBorderLine* pLine );
- void Execute( SfxRequest& rReq );
- void GetState( SfxItemSet& rSet );
+ SC_DLLPUBLIC void Execute( SfxRequest& rReq );
+ SC_DLLPUBLIC void GetState( SfxItemSet& rSet );
void ExecuteTable( SfxRequest& rReq );
void GetStateTable( SfxItemSet& rSet );
void WindowChanged();
- void ExecDraw(SfxRequest&);
+ SC_DLLPUBLIC void ExecDraw(SfxRequest&);
void ExecDrawIns(SfxRequest& rReq);
void GetDrawState(SfxItemSet &rSet);
void GetDrawInsState(SfxItemSet &rSet);
@@ -312,7 +312,7 @@ public:
void GetStyleState(SfxItemSet &rSet);
void UpdateDrawShell();
- void SetDrawShell( bool bActive );
+ SC_DLLPUBLIC void SetDrawShell( bool bActive );
void SetDrawTextShell( bool bActive );
void SetPivotShell( bool bActive );
@@ -364,7 +364,7 @@ public:
void DeactivateOle();
- static ScTabViewShell* GetActiveViewShell();
+ SC_DLLPUBLIC static ScTabViewShell* GetActiveViewShell();
std::shared_ptr<SfxModelessDialogController> CreateRefDialogController(SfxBindings* pB, SfxChildWindow* pCW,
SfxChildWinInfo* pInfo,
@@ -381,13 +381,13 @@ public:
const Point* pInsPos );
void InsertURLField( const OUString& rName, const OUString& rURL, const OUString& rTarget );
- bool SelectObject( std::u16string_view rName );
+ SC_DLLPUBLIC bool SelectObject( std::u16string_view rName );
void SetInFormatDialog(bool bFlag) {bInFormatDialog=bFlag;}
void ForceMove() { Move(); }
- static std::unique_ptr<SvxNumberInfoItem> MakeNumberInfoItem( ScDocument& rDoc, const ScViewData& rViewData );
+ SC_DLLPUBLIC static std::unique_ptr<SvxNumberInfoItem> MakeNumberInfoItem( ScDocument& rDoc, const ScViewData& rViewData );
static void UpdateNumberFormatter( const SvxNumberInfoItem& rInfoItem );
@@ -440,7 +440,7 @@ public:
bool bHidden, bool bFiltered, bool bGroups, SCTAB nCurrentTabIndex);
void LOKSendFormulabarUpdate(EditView* pEditView, const OUString& rText, const ESelection& rSelection);
css::uno::Reference<css::drawing::XShapes> getSelectedXShapes();
- static css::uno::Reference<css::datatransfer::XTransferable2> GetClipData(vcl::Window* pWin);
+ SC_DLLPUBLIC static css::uno::Reference<css::datatransfer::XTransferable2> GetClipData(vcl::Window* pWin);
void InitFormEditData();
void ClearFormEditData();
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 62231b116813..673ab2407bb9 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -268,7 +268,7 @@ private:
[[nodiscard]] ScSplitPos SanitizeWhichActive() const;
};
-class SC_DLLPUBLIC ScViewData
+class ScViewData
{
private:
double nPPTX, nPPTY; // Scaling factors
@@ -336,16 +336,16 @@ private:
tools::Long m_nLOKPageUpDownOffset;
tools::Rectangle maLOKVisibleArea;///< The visible area in the LibreOfficeKit client.
- DECL_DLLPRIVATE_LINK( EditEngineHdl, EditStatus&, void );
+ DECL_LINK( EditEngineHdl, EditStatus&, void );
- SAL_DLLPRIVATE void CalcPPT();
- SAL_DLLPRIVATE void CreateTabData( SCTAB nNewTab );
- SAL_DLLPRIVATE void CreateTabData( std::vector< SCTAB >& rvTabs );
- SAL_DLLPRIVATE void CreateSelectedTabData();
- SAL_DLLPRIVATE void EnsureTabDataSize(size_t nSize);
- SAL_DLLPRIVATE void UpdateCurrentTab();
- SAL_DLLPRIVATE ScViewDataTable* FetchTableData(SCTAB) const;
+ void CalcPPT();
+ void CreateTabData( SCTAB nNewTab );
+ void CreateTabData( std::vector< SCTAB >& rvTabs );
+ void CreateSelectedTabData();
+ void EnsureTabDataSize(size_t nSize);
+ void UpdateCurrentTab();
+ ScViewDataTable* FetchTableData(SCTAB) const;
ScViewData(ScDocument* pDoc, ScDocShell* pDocSh, ScTabViewShell* pViewSh);
@@ -356,27 +356,27 @@ public:
ScDocShell* GetDocShell() const { return pDocShell; }
ScDocFunc& GetDocFunc() const;
- ScDBFunc* GetView() const;
+ SC_DLLPUBLIC ScDBFunc* GetView() const;
ScTabViewShell* GetViewShell() const { return pView; }
SfxObjectShell* GetSfxDocShell() const { return pDocShell; }
SfxBindings& GetBindings(); // from ViewShell's ViewFrame
- SfxDispatcher& GetDispatcher(); // from ViewShell's ViewFrame
+ SC_DLLPUBLIC SfxDispatcher& GetDispatcher(); // from ViewShell's ViewFrame
- ScMarkData& GetMarkData();
+ SC_DLLPUBLIC ScMarkData& GetMarkData();
ScMarkData& GetHighlightData();
- const ScMarkData& GetMarkData() const;
+ SC_DLLPUBLIC const ScMarkData& GetMarkData() const;
weld::Window* GetDialogParent(); // forwarded from tabvwsh
- ScGridWindow* GetActiveWin(); // from View
+ SC_DLLPUBLIC ScGridWindow* GetActiveWin(); // from View
const ScGridWindow* GetActiveWin() const;
- ScDrawView* GetScDrawView(); // from View
+ SC_DLLPUBLIC ScDrawView* GetScDrawView(); // from View
bool IsMinimized() const; // from View
void UpdateInputHandler( bool bForce = false );
void WriteUserData(OUString& rData);
void ReadUserData(std::u16string_view rData);
- void WriteExtOptions( ScExtDocOptions& rOpt ) const;
+ SC_DLLPUBLIC void WriteExtOptions( ScExtDocOptions& rOpt ) const;
void ReadExtOptions( const ScExtDocOptions& rOpt );
void WriteUserDataSequence(css::uno::Sequence <css::beans::PropertyValue>& rSettings) const;
void ReadUserDataSequence(const css::uno::Sequence <css::beans::PropertyValue>& rSettings);
@@ -400,8 +400,8 @@ public:
SCCOL MaxCol() const { return mrDoc.MaxCol(); }
SCROW MaxRow() const { return mrDoc.MaxRow(); }
ScSplitPos GetActivePart() const { return pThisTab->eWhichActive; }
- SCCOL GetPosX( ScHSplitPos eWhich, SCTAB nForTab = -1 ) const;
- SCROW GetPosY( ScVSplitPos eWhich, SCTAB nForTab = -1 ) const;
+ SC_DLLPUBLIC SCCOL GetPosX( ScHSplitPos eWhich, SCTAB nForTab = -1 ) const;
+ SC_DLLPUBLIC SCROW GetPosY( ScVSplitPos eWhich, SCTAB nForTab = -1 ) const;
SCCOL GetCurX() const { return pThisTab->nCurX; }
SCROW GetCurY() const { return pThisTab->nCurY; }
SCCOL GetCurXForTab( SCTAB nTabIndex ) const;
@@ -453,7 +453,7 @@ public:
void SetZoomType( SvxZoomType eNew, bool bAll );
void SetZoomType( SvxZoomType eNew, std::vector< SCTAB >& tabs );
- void SetZoom( const Fraction& rNewX, const Fraction& rNewY, std::vector< SCTAB >& tabs );
+ SC_DLLPUBLIC void SetZoom( const Fraction& rNewX, const Fraction& rNewY, std::vector< SCTAB >& tabs );
void SetZoom( const Fraction& rNewX, const Fraction& rNewY, bool bAll );
void RefreshZoom();
@@ -481,9 +481,9 @@ public:
}
sal_Int16 GetFormulaBarLines() const { return nFormulaBarLines; };
- ScMarkType GetSimpleArea( SCCOL& rStartCol, SCROW& rStartRow, SCTAB& rStartTab,
+ SC_DLLPUBLIC ScMarkType GetSimpleArea( SCCOL& rStartCol, SCROW& rStartRow, SCTAB& rStartTab,
SCCOL& rEndCol, SCROW& rEndRow, SCTAB& rEndTab ) const;
- ScMarkType GetSimpleArea( ScRange& rRange ) const;
+ SC_DLLPUBLIC ScMarkType GetSimpleArea( ScRange& rRange ) const;
/// May modify rNewMark using MarkToSimple().
ScMarkType GetSimpleArea( ScRange & rRange, ScMarkData & rNewMark ) const;
void GetMultiArea( ScRangeListRef& rRange ) const;
@@ -556,7 +556,7 @@ public:
inline void GetMoveCursor( SCCOL& rCurX, SCROW& rCurY );
const ScViewOptions& GetOptions() const { return maOptions; }
- void SetOptions( const ScViewOptions& rOpt );
+ SC_DLLPUBLIC void SetOptions( const ScViewOptions& rOpt );
bool IsGridMode () const { return maOptions.GetOption(VOPT_GRID); }
bool IsSyntaxMode () const { return maOptions.GetOption(VOPT_SYNTAX); }
@@ -617,12 +617,12 @@ public:
void SetTabNo( SCTAB nNewTab );
void SetActivePart( ScSplitPos eNewActive );
- Point GetScrPos( SCCOL nWhereX, SCROW nWhereY, ScSplitPos eWhich,
+ SC_DLLPUBLIC Point GetScrPos( SCCOL nWhereX, SCROW nWhereY, ScSplitPos eWhich,
bool bAllowNeg = false, SCTAB nForTab = -1 ) const;
Point GetScrPos( SCCOL nWhereX, SCROW nWhereY, ScHSplitPos eWhich ) const;
Point GetScrPos( SCCOL nWhereX, SCROW nWhereY, ScVSplitPos eWhich ) const;
/// returns the position (top-left corner) of the requested cell in print twips coordinates.
- Point GetPrintTwipsPos( SCCOL nCol, SCROW nRow ) const;
+ SC_DLLPUBLIC Point GetPrintTwipsPos( SCCOL nCol, SCROW nRow ) const;
Point GetPrintTwipsPosFromTileTwips(const Point& rTileTwipsPos) const;
/// return json for our cursor position.