/* -*- 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_UNOTOOLS_EVENTCFG_HXX #define INCLUDED_UNOTOOLS_EVENTCFG_HXX #include #include #include #include enum class GlobalEventId { STARTAPP, CLOSEAPP, DOCCREATED, CREATEDOC, LOADFINISHED, OPENDOC, PREPARECLOSEDOC, CLOSEDOC, SAVEDOC, SAVEDOCDONE, SAVEDOCFAILED, SAVEASDOC, SAVEASDOCDONE, SAVEASDOCFAILED, SAVETODOC, SAVETODOCDONE, SAVETODOCFAILED, ACTIVATEDOC, DEACTIVATEDOC, PRINTDOC, VIEWCREATED, PREPARECLOSEVIEW, CLOSEVIEW, MODIFYCHANGED, TITLECHANGED, VISAREACHANGED, MODECHANGED, STORAGECHANGED, LAST = STORAGECHANGED }; class GlobalEventConfig_Impl; class UNOTOOLS_DLLPUBLIC GlobalEventConfig: public cppu::WeakImplHelper< css::document::XEventsSupplier, css::container::XNameReplace > { public: GlobalEventConfig( ); virtual ~GlobalEventConfig( ) override; static ::osl::Mutex& GetOwnStaticMutex(); css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents( ) override; void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) override; css::uno::Any SAL_CALL getByName( const OUString& aName ) override; css::uno::Sequence< OUString > SAL_CALL getElementNames( ) override; sal_Bool SAL_CALL hasByName( const OUString& aName ) override; css::uno::Type SAL_CALL getElementType( ) override; sal_Bool SAL_CALL hasElements( ) override; static OUString GetEventName( GlobalEventId nID ); private: static GlobalEventConfig_Impl* m_pImpl; static sal_Int32 m_nRefCount; }; #endif // INCLUDED_UNOTOOLS_EVENTCFG_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ llabora/co-24.04.10'>distro/collabora/co-24.04.10 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2014-04-09coverity#708101 Uninitialized scalar fieldCaolán McNamara
2014-04-06whitespace cleanup in scMarkus Mohrhard
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
2014-02-19sal_Bool->boolNoel Grandin
2014-02-07fdo#39468 Translate German commentsSven Wehner
2014-01-28bool improvementsStephan Bergmann
2013-12-13Revert "Always disable anti-aliasing for drawing cell borders." fdo#60805Noel Power
2013-12-02Integrate branch of IAccessible2Steve Yin
2013-12-02don't use fixed size icon sets, fdo#62652Markus Mohrhard
2013-10-23Re-implement cell note storage using mdds::multi_type_vector.Laurent Godard
2013-10-08convert sc/source/ui/view/*.cxx from String to OUStringNoel Grandin
2013-09-01First step toward showing mis-spelled words without modifying cells.Kohei Yoshida
2013-08-30Related: fdo#38838 remove UniString::ToUpperAsciiCaolán McNamara
2013-08-17sal_Bool to boolTakeshi Abe
2013-08-17Mark as constTakeshi Abe
2013-08-14Revert "Revert "Always disable anti-aliasing for drawing cell borders." fdo#6...Kohei Yoshida
2013-08-14Revert "Always disable anti-aliasing for drawing cell borders." fdo#60805Noel Power
2013-08-14Resolves: #i122149# Corrected stuff around polygon-based clip regionsArmin Le Grand
2013-08-08Make selection corner marks slightly transparent.Tomaž Vajngerl
2013-08-08fdo#67592 Resize selection box from all 4 cornersTomaž Vajngerl
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
2013-03-28Move ScFormulaCell into its own header source files: formulacell.?xx.Kohei Yoshida
2013-03-28Replace ScBaseCell in CellInfo with ScRefCellValue.Kohei Yoshida
2013-03-14Reverse the logic of enable / disable idle flag...Kohei Yoshida
2013-02-12Renamed hard-to-remember 8-char headers in editeng.Kohei Yoshida
2012-12-04re-base on ALv2 code. Includes:Michael Meeks
2012-12-02initial support for icon sets in the dialogMarkus Mohrhard
2012-11-12implement the missing icon-setsMarkus Mohrhard
2012-10-30implement basic support for icon setsMarkus Mohrhard
2012-10-12Always disable anti-aliasing for drawing cell borders.Kohei Yoshida
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
2012-07-23-Werror,-Wshadow (Clang 3.1)Stephan Bergmann
2012-07-06Merge branch 'feature/template-dialog'Rafael Dominguez
2012-06-27support colored axis in data barsMarkus Mohrhard
2012-06-13moved createBaseProcessor2DFromOutputDevice to drawinglayer moduleCédric Bosdonnat
2012-06-12Get rid of GRADIENT_* defines, they conflict with Windows GDI types.Jan Holesovsky
2012-06-09Remove superfluous include commentsThomas Arnhold