LibreOffice Module oox (master)  1
WpsContext.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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  */
9 
10 #ifndef INCLUDED_OOX_SOURCE_SHAPE_WPSCONTEXT_HXX
11 #define INCLUDED_OOX_SOURCE_SHAPE_WPSCONTEXT_HXX
12 
16 
18 {
19 class XShape;
20 }
21 
22 namespace oox::shape
23 {
26 {
27 public:
29  css::uno::Reference<css::drawing::XShape> xShape,
30  oox::drawingml::ShapePtr const& pMasterShapePtr,
31  oox::drawingml::ShapePtr const& pShapePtr);
32  ~WpsContext() override;
33 
34  oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken,
35  const oox::AttributeList& rAttribs) override;
36 
37 private:
38  css::uno::Reference<css::drawing::XShape> mxShape;
39 };
40 }
41 
42 #endif
43 
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Reference< css::drawing::XShape > mxShape
Definition: WpsContext.hxx:38
WpsContext(oox::core::ContextHandler2Helper const &rParent, css::uno::Reference< css::drawing::XShape > xShape, oox::drawingml::ShapePtr const &pMasterShapePtr, oox::drawingml::ShapePtr const &pShapePtr)
Definition: WpsContext.cxx:34
Provides access to attribute values of an element.
Wps is the drawingML equivalent of v:shape.
Definition: WpsContext.hxx:25
std::shared_ptr< Shape > ShapePtr
Helper class that provides a context stack.
oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList &rAttribs) override
Will be called to create a context handler for the passed element.
Definition: WpsContext.cxx:46