/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef INCLUDED_SC_INC_DOCUMENTLINKMGR_HXX #define INCLUDED_SC_INC_DOCUMENTLINKMGR_HXX #include #include class ScDocument; class SfxObjectShell; namespace vcl { class Window; } namespace sfx2 { class LinkManager; } namespace sc { class DataStream; struct DocumentLinkManagerImpl; class DocumentLinkManager { std::unique_ptr mpImpl; public: DocumentLinkManager( SfxObjectShell* pShell ); DocumentLinkManager(const DocumentLinkManager&) = delete; const DocumentLinkManager& operator=(const DocumentLinkManager&) = delete; ~DocumentLinkManager(); void setDataStream( DataStream* p ); DataStream* getDataStream(); const DataStream* getDataStream() const; /** * @param bCreate if true, create a new link manager instance in case one * does not exist. * * @return link manager instance. */ sfx2::LinkManager* getLinkManager( bool bCreate = true ); const sfx2::LinkManager* getExistingLinkManager() const; bool idleCheckLinks(); bool hasDdeLinks() const; bool hasDdeOrOleLinks() const; bool updateDdeOrOleLinks(vcl::Window* pWin); void updateDdeLink( const OUString& rAppl, const OUString& rTopic, const OUString& rItem ); size_t getDdeLinkCount() const; void disconnectDdeLinks(); private: bool hasDdeOrOleLinks(bool bDde, bool bOle) const; }; } #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ o/cib/libreoffice-6-2'>distro/cib/libreoffice-6-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-03-30 20:27:55 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-31 06:27:11 +0000
commita5a571307fb3306b74ab46b085cde6388270a770 (patch)
tree66d4ce12bb5236c50ab6a5d253bc8c6d8b5d292d /extensions
parent17d821af6bb9df93569836a92f6bed975587fc6c (diff)
tdf#82580 tools: rename Rectangle to tools::Rectangle
Mostly generated using make check COMPILER_EXTERNAL_TOOL=1 CCACHE_PREFIX=clang-rename-wrapper RENAME_ARGS="-qualified-name=Rectangle -new-name=tools::Rectangle" Except some modules have their own foo::tools namespace, so there have to use ::tools::Rectangle. This commit just moves the class from the global namespace, it does not update pre/postwin.h yet. Change-Id: I42b2de3c6f769fcf28cfe086f98eb31e42a305f2 Reviewed-on: https://gerrit.libreoffice.org/35923 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>