/* -*- 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/. */ #pragma once #include #include #include "scdllapi.h" #include #include class ScDocument; class ScFormulaCell; class ScUserMacroDepTracker; class ScMacroManager { public: explicit ScMacroManager(ScDocument& rDoc); ~ScMacroManager(); SC_DLLPUBLIC void InitUserFuncData(); SC_DLLPUBLIC void SetUserFuncVolatile(const OUString& sName, bool isVolatile); SC_DLLPUBLIC bool GetUserFuncVolatile(const OUString& sName); void AddDependentCell(const OUString& aModuleName, ScFormulaCell* pCell); void RemoveDependentCell(const ScFormulaCell* pCell); void BroadcastModuleUpdate(const OUString& aModuleName); private: typedef std::unordered_map NameBoolMap; NameBoolMap mhFuncToVolatile; css::uno::Reference mxContainerListener; ::std::unique_ptr mpDepTracker; ScDocument& mrDoc; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ value='distro/cib/libreoffice-5-1'>distro/cib/libreoffice-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2020-02-02tdf#128302: Split SVXCORE_DLLPUBLIC from SVX_DLLPUBLICStephan Bergmann
2019-07-03tdf#42949 Fix IWYU warnings in include/svx/x*Gabor Kelemen
2018-11-27tdf#42949 Fix IWYU warnings in include/vcl/[f-h]*Gabor Kelemen
2018-08-22new loplugin:conststringfieldNoel Grandin
2017-11-10loplugin:unusedmethodsNoel Grandin
2017-10-24loplugin:finalclasses in svxNoel Grandin
2017-10-17use rtl::Reference in SvXMLEmbeddedObjectHelperNoel Grandin
2017-10-06use rtl::Reference in SvXMLEmbeddedObjectHelperNoel Grandin
2017-06-28SvXMLEmbeddedObjectHelper::Create bDirect parameter is unusedStephan Bergmann
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2016-12-04tdf#88206 replace cppu::WeakImplHelper* in svtools and svxJochen Nitschke
2016-10-31Omit comparator which is the same as default std::less<key_type>Takeshi Abe
2016-10-27loplugin:expandablemethods in svxNoel Grandin
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
2016-08-18convert SvXMLEmbeddedObjectHelperMode to scoped enumNoel Grandin
2016-07-27improve passstuffbyref return analysisNoel Grandin
2016-02-09Formatting changes across all modulesChris Sherlock
2016-01-13loplugin:unusedmethods unused return value in include/svxNoel Grandin
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-10-23com::sun::star->css in include/sot to include/typelibNoel Grandin
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann