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
{
22 class ExtDrawingFragmentHandler
: public ::oox::core::FragmentHandler2
25 ExtDrawingFragmentHandler( oox::core::XmlFilterBase
& rFilter
, const OUString
& rFragmentPath
,
26 const oox::ppt::SlidePersistPtr pSlidePersistPtr
,
27 const oox::ppt::ShapeLocation eShapeLocation
,
28 oox::drawingml::ShapePtr pMasterShapePtr
,
29 oox::drawingml::ShapePtr pGroupShapePtr
,
30 oox::drawingml::ShapePtr pShapePtr
) throw();
31 virtual ~ExtDrawingFragmentHandler() throw();
33 virtual ::oox::core::ContextHandlerRef
onCreateContext( ::sal_Int32 Element
, const AttributeList
& rAttribs
) SAL_OVERRIDE
;
36 const oox::ppt::SlidePersistPtr mpSlidePersistPtr
;
37 const oox::ppt::ShapeLocation meShapeLocation
;
38 oox::drawingml::ShapePtr mpMasterShapePtr
;
39 oox::drawingml::ShapePtr mpGroupShapePtr
;
40 oox::drawingml::ShapePtr mpOrgShapePtr
; // Original Shape data, if any
41 oox::drawingml::ShapePtr mpShapePtr
;
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */