LibreOffice Module oox (master)  1
ShapeDrawingFragmentHandler.hxx
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 
10 #ifndef INCLUDED_OOX_SOURCE_SHAPE_SHAPEDRAWINGFRAGMENTHANDLER_HXX
11 #define INCLUDED_OOX_SOURCE_SHAPE_SHAPEDRAWINGFRAGMENTHANDLER_HXX
12 
15 
16 namespace oox::shape {
17 
20 {
21 public:
22  ShapeDrawingFragmentHandler(oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, oox::drawingml::ShapePtr const & pGroupShapePtr);
23  virtual ~ShapeDrawingFragmentHandler() noexcept override;
24  virtual void SAL_CALL endDocument() override;
25  virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const AttributeList& rAttribs ) override;
26 
27 private:
29 };
30 
31 }
32 
33 #endif
34 
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generic (i.e. not specific to PPTX) handler for the prerendered diagram parsing.
ShapeDrawingFragmentHandler(oox::core::XmlFilterBase &rFilter, const OUString &rFragmentPath, oox::drawingml::ShapePtr const &pGroupShapePtr)
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.
::rtl::Reference< ContextHandler > ContextHandlerRef
std::shared_ptr< Shape > ShapePtr