/* -*- 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 using namespace ::oox::core; namespace oox::drawingml { objectDefaultContext::objectDefaultContext( ContextHandler2Helper const & rParent, Theme& rTheme ) : ContextHandler2( rParent ) , mrTheme( rTheme ) { } ContextHandlerRef objectDefaultContext::onCreateContext( sal_Int32 aElementToken, const AttributeList& /* rAttribs */ ) { switch( aElementToken ) { case A_TOKEN( spDef ): return new spDefContext( *this, mrTheme.getSpDef() ); case A_TOKEN( lnDef ): return new spDefContext( *this, mrTheme.getLnDef() ); case A_TOKEN( txDef ): return new spDefContext( *this, mrTheme.getTxDef() ); } return nullptr; } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ ice-6-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-12-09struct SN needs a strict weak ordering operator <Stephan Bergmann
2024-11-09cid#1634585 Use of auto that causes a copyCaolán McNamara
2024-11-08loplugin:reftotemp in basctl,basegfxNoel Grandin
2024-11-05Simplify a bitMike Kaganski
2024-09-26cid#1607525 silence Overflowed constantCaolán McNamara
2024-09-18cid#1607355 silence Overflowed constantCaolán McNamara
2024-09-01ImplB2DPolygon could do with a move constructorNoel Grandin
2024-09-01avoid intermediate copy in B2DPolygon::appendNoel Grandin
2024-08-30cid#1607087 Overflowed constantCaolán McNamara
2024-08-30cid#1607414 silence Overflowed constantCaolán McNamara
2024-08-18Related: ofz#70815 Timeout, don't need this copyCaolán McNamara
2024-08-11cid#1558088 COPY_INSTEAD_OF_MOVECaolán McNamara
2024-08-02Fix wrong / misleading uses of fTools::(more|less|equal) with literal 0Mike Kaganski
2024-08-01ofz#70815 TimeoutCaolán McNamara
2024-07-20cid#1607830 Use of auto that causes a copyCaolán McNamara
2024-07-17cid#1555694 COPY_INSTEAD_OF_MOVECaolán McNamara
2024-07-12Make SystemDependentData mechanism type-basedArmin Le Grand (allotropia)
2024-07-10tsan: ImplB3DPolygon cannot have mutable stateNoel Grandin
2024-05-02cid#1596705 Unused valueCaolán McNamara
2024-04-29Drop uses of css::uno::Sequence::getConstArray in accessibility .. basegfxMike Kaganski
2024-04-19loplugin:constantparamNoel Grandin
2024-03-26tdf#159805 Printing line style dotted lines (horizontal) turns into dashes.Noel Grandin
2024-03-23tdf#157664 Drop redundant operator != in basegfx moduleRMZeroFour
2024-03-07Simplify some basegfx::fTools::*orEqual callsNoel Grandin