LibreOffice Module oox (master)  1
WpgContext.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_WPGCONTEXT_HXX
11 #define INCLUDED_OOX_SOURCE_SHAPE_WPGCONTEXT_HXX
12 
15 
16 namespace oox::shape
17 {
20 {
21 public:
22  explicit WpgContext(oox::core::FragmentHandler2 const& rParent);
23  ~WpgContext() override;
24 
25  oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken,
26  const oox::AttributeList& rAttribs) override;
27 
28  const oox::drawingml::ShapePtr& getShape() const { return mpShape; }
29 
30 private:
32 };
33 }
34 
35 #endif
36 
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
WpgContext(oox::core::FragmentHandler2 const &rParent)
Definition: WpgContext.cxx:22
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: WpgContext.cxx:31
const oox::drawingml::ShapePtr & getShape() const
Definition: WpgContext.hxx:28
Provides access to attribute values of an element.
std::shared_ptr< Shape > ShapePtr
oox::drawingml::ShapePtr mpShape
Definition: WpgContext.hxx:31
Wpg is the drawingML equivalent of v:group.
Definition: WpgContext.hxx:19