/* -*- 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_SC_INC_FORMULAPARSERPOOL_HXX #define INCLUDED_SC_INC_FORMULAPARSERPOOL_HXX #include #include class ScDocument; /** Stores the used instances of the FilterFormulaParser service implementations, mapped by the formula namespace they support. */ class ScFormulaParserPool { public: explicit ScFormulaParserPool( const ScDocument& rDoc ); ~ScFormulaParserPool(); /** Returns true, if a formula parser is registered for the passed namespace. */ bool hasFormulaParser( const OUString& rNamespace ); /** Returns the formula parser that is registered for the passed namespace. */ css::uno::Reference< css::sheet::XFormulaParser > getFormulaParser( const OUString& rNamespace ); private: typedef std::unordered_map< OUString, css::uno::Reference< css::sheet::XFormulaParser > > ParserMap; const ScDocument& mrDoc; ParserMap maParsers; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ istro/cib/libreoffice-6-4'>distro/cib/libreoffice-6-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2022-06-14stop using removed ---with-idlc-cpp=cpp argumentCaolán McNamara
2022-01-13ofz#43613 oss-fuzz build failureCaolán McNamara
2021-12-27ofz#43008 drop ---with-system-lockfile from oss-fuzz buildCaolán McNamara
2021-12-25oss-fuzz: convert to static cross-buildJan-Marek Glogowski
2021-12-21Keep GUI with --enable-avmedia and --disable-guiJan-Marek Glogowski
2021-12-15Simplify CURL and LIBCMIS testsJan-Marek Glogowski
2021-12-03ofz#41602 fix more build failureCaolán McNamara
2021-12-03ofz#41602 Build-FailureCaolán McNamara
2021-09-25add dbffuzzerCaolán McNamara
2021-08-22ofz: prep for allowing oss-fuzz msanCaolán McNamara
2021-08-16ofz: use system curl .a and system glm headersCaolán McNamara
2021-08-14ofz: build with system libexttextcatCaolán McNamara
2021-08-13ofz: use system .a curl, fontconfig, freetypeCaolán McNamara
2021-08-12use --with-idlc-cpp=cpp instead of --with-system-ucppCaolán McNamara
2021-08-12ofz: use system .a libs when they aren't c++ onesCaolán McNamara
2021-08-10oss-fuzz: can use system ucppCaolán McNamara
2021-08-07disable scripting for fuzzingCaolán McNamara
2021-08-07explicitly disable ldap for fuzzingCaolán McNamara
2021-08-06disable a few more things when fuzzingCaolán McNamara
2021-08-06oss-fuzz: disable some more features we don't needCaolán McNamara
2021-06-26use --disable-xmlhelp for fuzzingCaolán McNamara
2021-03-30drop ---disable-scripting again for fuzzingCaolán McNamara
2021-03-29disable scripting for oss-fuzz tooCaolán McNamara
2021-03-23qrcodegen was replaced by zxingCaolán McNamara
2020-09-21add an explicit --disable-qrcodegen configure optionCaolán McNamara