fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / oox / source / shape / WpsContext.hxx
blobdf83f888ecb373c1d457690323892ec1faea8d9f
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_SHAPE_WPSCONTEXT_HXX
11 #define INCLUDED_OOX_SOURCE_SHAPE_WPSCONTEXT_HXX
13 #include "oox/core/contexthandler2.hxx"
14 #include "oox/drawingml/shape.hxx"
16 namespace oox
18 namespace shape
21 /// Wps is the drawingML equivalent of v:shape.
22 class WpsContext : public oox::core::ContextHandler2
24 public:
25 WpsContext(oox::core::ContextHandler2Helper& rParent, css::uno::Reference<css::drawing::XShape> xShape);
26 virtual ~WpsContext();
28 virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) SAL_OVERRIDE;
30 oox::drawingml::ShapePtr getShape()
32 return mpShape;
35 protected:
36 oox::drawingml::ShapePtr mpShape;
37 css::uno::Reference<css::drawing::XShape> mxShape;
43 #endif
45 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */