bump product version to 5.0.4.1
[LibreOffice.git] / oox / source / ppt / extdrawingfragmenthandler.hxx
blobfdfdc0cedc035d3998ddc0a587ae2279aad1a663
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_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
23 public:
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 pMasterShapePtr,
28 oox::drawingml::ShapePtr pGroupShapePtr,
29 oox::drawingml::ShapePtr pShapePtr ) throw();
30 virtual ~ExtDrawingFragmentHandler() throw();
32 virtual ::oox::core::ContextHandlerRef onCreateContext( ::sal_Int32 Element, const AttributeList& rAttribs ) SAL_OVERRIDE;
34 private:
35 const oox::ppt::SlidePersistPtr mpSlidePersistPtr;
36 const oox::ppt::ShapeLocation meShapeLocation;
37 oox::drawingml::ShapePtr mpMasterShapePtr;
38 oox::drawingml::ShapePtr mpGroupShapePtr;
39 oox::drawingml::ShapePtr mpOrgShapePtr; // Original Shape data, if any
40 oox::drawingml::ShapePtr mpShapePtr;
43 } }
45 #endif
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */