1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_OOX_SOURCE_PPT_EXTDRAWINGFRAGMENTHANDLER_HXX
11 #define INCLUDED_OOX_SOURCE_PPT_EXTDRAWINGFRAGMENTHANDLER_HXX
13 #include <oox/core/fragmenthandler2.hxx>
14 #include <oox/drawingml/shapegroupcontext.hxx>
15 #include <oox/ppt/slidepersist.hxx>
16 #include <oox/ppt/pptshapegroupcontext.hxx>
17 #include <oox/ppt/pptshape.hxx>
19 namespace oox
{ namespace ppt
{
21 class ExtDrawingFragmentHandler
: public ::oox::core::FragmentHandler2
24 ExtDrawingFragmentHandler( oox::core::XmlFilterBase
& rFilter
, const OUString
& rFragmentPath
,
25 const oox::ppt::SlidePersistPtr
& rSlidePersistPtr
,
26 const oox::ppt::ShapeLocation eShapeLocation
,
27 oox::drawingml::ShapePtr
const & pGroupShapePtr
,
28 oox::drawingml::ShapePtr
const & pShapePtr
);
29 virtual ~ExtDrawingFragmentHandler() throw() override
;
31 virtual ::oox::core::ContextHandlerRef
onCreateContext( ::sal_Int32 Element
, const AttributeList
& rAttribs
) override
;
34 const oox::ppt::SlidePersistPtr mpSlidePersistPtr
;
35 const oox::ppt::ShapeLocation meShapeLocation
;
36 oox::drawingml::ShapePtr
const mpGroupShapePtr
;
37 oox::drawingml::ShapePtr mpShapePtr
;
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */