diff options
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 8 | ||||
-rw-r--r-- | sc/inc/documentlinkmgr.hxx | 14 |
2 files changed, 14 insertions, 8 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index b3d2a92ef167..3fe416cae9ff 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -683,10 +683,8 @@ public: on first call. */ ScFormulaParserPool& GetFormulaParserPool() const; - bool HasDdeLinks() const; bool HasAreaLinks() const; void UpdateExternalRefLinks(Window* pWin); - void UpdateDdeLinks(Window* pWin); void UpdateAreaLinks(); // originating DDE links @@ -695,11 +693,6 @@ public: bool IsInDdeLinkUpdate() const { return nInDdeLinkUpdate != 0; } SC_DLLPUBLIC void CopyDdeLinks( ScDocument* pDestDoc ) const; - void DisconnectDdeLinks(); - - // for StarOne Api: - size_t GetDdeLinkCount() const; - bool UpdateDdeLink( const OUString& rAppl, const OUString& rTopic, const OUString& rItem ); /** Tries to find a DDE link with the specified connection data. @param rnDdePos (out-param) Returns the index of the DDE link (does not include other links from link manager). @@ -1685,7 +1678,6 @@ public: void InvalidateTextWidth( const ScAddress* pAdrFrom, const ScAddress* pAdrTo, bool bNumFormatChanged ); bool IdleCalcTextWidth(); - bool IdleCheckLinks(); void RepaintRange( const ScRange& rRange ); void RepaintRange( const ScRangeList& rRange ); diff --git a/sc/inc/documentlinkmgr.hxx b/sc/inc/documentlinkmgr.hxx index 5de8dcd2d5e7..c4c4971d5c11 100644 --- a/sc/inc/documentlinkmgr.hxx +++ b/sc/inc/documentlinkmgr.hxx @@ -11,9 +11,11 @@ #define SC_DOCUMENTLINKMGR_HXX #include <boost/noncopyable.hpp> +#include <rtl/ustring.hxx> class ScDocument; class SfxObjectShell; +class Window; namespace sfx2 { @@ -47,6 +49,18 @@ public: sfx2::LinkManager* getLinkManager( bool bCreate = true ); const sfx2::LinkManager* getExistingLinkManager() const; + + bool idleCheckLinks(); + + bool hasDdeLinks() const; + + bool updateDdeLinks( Window* pWin ); + + bool updateDdeLink( const OUString& rAppl, const OUString& rTopic, const OUString& rItem ); + + size_t getDdeLinkCount() const; + + void disconnectDdeLinks(); }; } |