LibreOffice Module oox (master)  1
ShapeDrawingFragmentHandler.cxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
11 
13 #include <oox/token/namespaces.hxx>
14 
15 using namespace com::sun::star;
16 
17 namespace oox::shape {
18 
19 ShapeDrawingFragmentHandler::ShapeDrawingFragmentHandler(oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, oox::drawingml::ShapePtr const & pGroupShapePtr)
20  : FragmentHandler2(rFilter, rFragmentPath)
21  , mpGroupShapePtr(pGroupShapePtr)
22 {
23 }
24 
26 {
27 }
28 
30 {
31 }
32 
34 {
35  switch( Element )
36  {
37  case DSP_TOKEN( spTree ):
39  default:
40  break;
41  }
42 
43  return this;
44 }
45 
46 }
47 
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Provides access to attribute values of an element.
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
std::shared_ptr< Shape > ShapePtr