/* -*- 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 . */ #include #include #include #include "register.hxx" #include "smdll.hxx" #include "document.hxx" #include #include using namespace ::com::sun::star; OUString SAL_CALL SmDocument_getImplementationName() throw() { return OUString( "com.sun.star.comp.Math.FormulaDocument" ); } uno::Sequence< OUString > SAL_CALL SmDocument_getSupportedServiceNames() throw() { return uno::Sequence{ "com.sun.star.formula.FormulaProperties" }; } uno::Reference< uno::XInterface > SAL_CALL SmDocument_createInstance( const uno::Reference< lang::XMultiServiceFactory > & /*rSMgr*/, SfxModelFlags _nCreationFlags ) { SolarMutexGuard aGuard; SmGlobals::ensure(); SfxObjectShell* pShell = new SmDocShell( _nCreationFlags ); return uno::Reference< uno::XInterface >( pShell->GetModel() ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ e='distro/collabora/cd-5.3-3.1'>distro/collabora/cd-5.3-3.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-05-06loplugin:ostr avmediaNoel Grandin
2024-03-08tdf#146619 Recheck animations/ with IWYUGabor Kelemen
2024-03-06Use less boost_headers in low level librariesGabor Kelemen
2024-01-21animations : use string OUString literals in a11y for XServiceInfo implArnaud VERSINI
2023-09-23animations : remove useless use of XComponentContextArnaud Versini
2023-08-19loplugin: new global analysis locking2Noel Grandin
2023-05-07improve some usage of OInterfaceIteratorHelper4Noel Grandin
2023-04-20Run clang-tidy with misc-unused-using-decls on modules [a-c]*Gabor Kelemen
2023-02-01Remove duplicated includeAndrea Gelmini
2023-01-31osl::Mutex->std::mutex in AnimationNodeNoel Grandin
2023-01-23XUnoTunnel->dynamic_cast in AnimationNodeNoel Grandin
2023-01-12Simplify a bitMike Kaganski
2023-01-12tsan:lock-order-inversion in AnimationNodeNoel Grandin
2022-07-17Animations : no need to use the global mutex hereArnaud VERSINI
2022-05-31Also assert that nNodeType is non-negativeStephan Bergmann
2022-05-07osl::Mutex->std::mutex in TimeContainerEnumerationNoel Grandin
2022-01-30animations : use cppuhelper::BaseMutexArnaud VERSINI
2021-12-10Generally determine Rdb content from gb_*_set_componentfile callsStephan Bergmann
2021-11-27use more OInterfaceContainerHelper3 in AnimationNodeNoel Grandin
2021-10-12loplugin:moveparam in variousNoel Grandin
2021-09-15Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 5Mike Kaganski
2021-09-15Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 4Mike Kaganski
2021-09-15Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 1Mike Kaganski
2021-05-02throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewriteStephan Bergmann
2021-04-19Updated README.md filesHossein
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-04-07rtl::Static -> function local staticNoel Grandin
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-03-21animcore : AnimationNode should be finalArnaud Versini
2021-01-27PPTX filter: fix lost is-narration property for slide narrationsMiklos Vajna
2021-01-26[API CHANGE] PPTX filter: fix lost hide-while-show prop for slide narrationsMiklos Vajna
2021-01-20improve some IllegalArgumentException messagesNoel
2020-11-05tdf#42949 Fix new IWYU warnings in directories [ab]*Gabor Kelemen
2020-08-31add missing initializers about physics animations to AnimationNode classSarper Akdemir
2020-08-22add bounciness velocity and density options to physics animationsSarper Akdemir
2020-08-20make physics based animation effects importable-exportableSarper Akdemir