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 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
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();
31 oox::drawingml::ShapePtr mpShape
;
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */