Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / oox / source / shape / ShapeDrawingFragmentHandler.hxx
blob7484a4e7c7a3dfaec2ab65637e7a44803e7e77b1
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef INCLUDED_OOX_SOURCE_SHAPE_SHAPEDRAWINGFRAGMENTHANDLER_HXX
11 #define INCLUDED_OOX_SOURCE_SHAPE_SHAPEDRAWINGFRAGMENTHANDLER_HXX
13 #include <oox/core/fragmenthandler2.hxx>
14 #include <oox/drawingml/shapegroupcontext.hxx>
16 namespace oox { namespace shape {
18 /// Generic (i.e. not specific to PPTX) handler for the prerendered diagram parsing.
19 class ShapeDrawingFragmentHandler : public oox::core::FragmentHandler2
21 public:
22 ShapeDrawingFragmentHandler(oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, oox::drawingml::ShapePtr const & pGroupShapePtr);
23 virtual ~ShapeDrawingFragmentHandler() throw() override;
24 virtual void SAL_CALL endDocument() override;
25 virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const AttributeList& rAttribs ) override;
27 private:
28 oox::drawingml::ShapePtr const mpGroupShapePtr;
31 } }
33 #endif
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */