Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / oox / source / shape / WpsContext.hxx
blobc5a6565a58fca7b67b67f220c5faa80e6162b6ea
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/shapecontext.hxx>
15 #include <oox/drawingml/drawingmltypes.hxx>
17 namespace com
19 namespace sun
21 namespace star
23 namespace drawing
25 class XShape;
31 namespace oox
33 namespace shape
35 /// Wps is the drawingML equivalent of v:shape.
36 class WpsContext final : public oox::drawingml::ShapeContext
38 public:
39 WpsContext(oox::core::ContextHandler2Helper const& rParent,
40 css::uno::Reference<css::drawing::XShape> xShape,
41 oox::drawingml::ShapePtr const& pMasterShapePtr,
42 oox::drawingml::ShapePtr const& pShapePtr);
43 ~WpsContext() override;
45 oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken,
46 const oox::AttributeList& rAttribs) override;
48 private:
49 css::uno::Reference<css::drawing::XShape> mxShape;
54 #endif
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */