LCOV - code coverage report
Current view: top level - oox/source/shape - WpgContext.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 2 2 100.0 %
Date: 2014-11-03 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       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             : 
      13             : #include "oox/core/contexthandler2.hxx"
      14             : #include "oox/drawingml/shape.hxx"
      15             : 
      16             : namespace oox
      17             : {
      18             : namespace shape
      19             : {
      20             : 
      21             : /// Wpg is the drawingML equivalent of v:group.
      22             : class WpgContext : public oox::core::ContextHandler2
      23             : {
      24             : public:
      25             :     WpgContext(oox::core::ContextHandler2Helper& rParent);
      26             :     virtual ~WpgContext();
      27             : 
      28             :     virtual oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) SAL_OVERRIDE;
      29             : 
      30         130 :     oox::drawingml::ShapePtr getShape()
      31             :     {
      32         130 :         return mpShape;
      33             :     }
      34             : 
      35             : protected:
      36             :     oox::drawingml::ShapePtr mpShape;
      37             : };
      38             : 
      39             : }
      40             : }
      41             : 
      42             : #endif
      43             : 
      44             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10