fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / oox / source / shape / LockedCanvasContext.hxx
blobc93d49d54aade73c17488bb3fd22ee40879d0186
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_LOCKEDCANVASCONTEXT
11 #define OOX_SHAPE_LOCKEDCANVASCONTEXT
13 #include "oox/core/contexthandler.hxx"
14 #include "oox/drawingml/shape.hxx"
16 namespace oox { namespace shape {
18 /// Locked canvas is kind of a container for drawingml shapes: it can even contain group shapes.
19 class LockedCanvasContext : public oox::core::ContextHandler
21 public:
22 LockedCanvasContext( oox::core::ContextHandler& rParent );
23 virtual ~LockedCanvasContext();
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 oox::drawingml::ShapePtr getShape();
29 protected:
31 oox::drawingml::ShapePtr mpShape;
35 } }
38 #endif
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */