fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / oox / source / shape / ShapeDrawingFragmentHandler.hxx
blob5555b1be95cdc603de8e2c3925614d9f803ef4a3
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 OOX_SHAPE_DRAWINGFRAGMENTHANDLER
11 #define OOX_SHAPE_DRAWINGFRAGMENTHANDLER
13 #include "oox/core/fragmenthandler.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::FragmentHandler
21 public:
22 ShapeDrawingFragmentHandler( oox::core::XmlFilterBase& rFilter, const OUString& rFragmentPath, oox::drawingml::ShapePtr pGroupShapePtr ) throw();
23 virtual ~ShapeDrawingFragmentHandler() throw();
24 virtual void SAL_CALL endDocument() throw (com::sun::star::xml::sax::SAXException, com::sun::star::uno::RuntimeException);
25 virtual com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(sal_Int32 Element, const com::sun::star::uno::Reference<com::sun::star::xml::sax::XFastAttributeList>& Attribs ) throw (com::sun::star::xml::sax::SAXException, com::sun::star::uno::RuntimeException);
27 private:
28 oox::drawingml::ShapePtr mpGroupShapePtr;
32 } }
35 #endif
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */