LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/oox/drawingml - graphicshapecontext.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 3 33.3 %
Date: 2012-12-27 Functions: 2 6 33.3 %
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             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #ifndef OOX_DRAWINGML_GRAPHICSHAPECONTEXT_HXX
      21             : #define OOX_DRAWINGML_GRAPHICSHAPECONTEXT_HXX
      22             : 
      23             : #include "oox/drawingml/shape.hxx"
      24             : #include "oox/drawingml/shapecontext.hxx"
      25             : #include "oox/dllapi.h"
      26             : 
      27             : namespace oox { namespace vml { struct OleObjectInfo; } }
      28             : 
      29             : namespace oox { namespace drawingml {
      30             : 
      31          27 : class OOX_DLLPUBLIC GraphicShapeContext : public ShapeContext
      32             : {
      33             : public:
      34             :     GraphicShapeContext( ::oox::core::ContextHandler& rParent, ShapePtr pMasterShapePtr, ShapePtr pShapePtr );
      35             : 
      36             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
      37             : 
      38             : };
      39             : 
      40             : // ====================================================================
      41             : 
      42           0 : class OOX_DLLPUBLIC GraphicalObjectFrameContext : public ShapeContext
      43             : {
      44             : public:
      45             :     GraphicalObjectFrameContext( ::oox::core::ContextHandler& rParent, ShapePtr pMasterShapePtr, ShapePtr pShapePtr, bool bEmbedShapesInChart );
      46             : 
      47             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
      48             : 
      49             : private:
      50             :     bool                mbEmbedShapesInChart;
      51             : };
      52             : 
      53             : // ====================================================================
      54             : 
      55             : class OleObjectGraphicDataContext : public ShapeContext
      56             : {
      57             : public:
      58             :     OleObjectGraphicDataContext( ::oox::core::ContextHandler& rParent, ShapePtr pShapePtr );
      59             :     ~OleObjectGraphicDataContext();
      60             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
      61             : 
      62             : private:
      63             :     ::oox::vml::OleObjectInfo& mrOleObjectInfo;
      64             : };
      65             : 
      66             : // ====================================================================
      67             : 
      68             : class Diagram;
      69             : 
      70             : class DiagramGraphicDataContext
      71             :     : public ShapeContext
      72             : {
      73             : public:
      74             :     DiagramGraphicDataContext( ::oox::core::ContextHandler& rParent, ShapePtr pShapePtr );
      75             :     virtual ~DiagramGraphicDataContext();
      76             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 Element, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& Attribs ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
      77             : 
      78             : private:
      79             :     ::rtl::OUString msDm;
      80             :     ::rtl::OUString msLo;
      81             :     ::rtl::OUString msQs;
      82             :     ::rtl::OUString msCs;
      83             : };
      84             : 
      85             : // ====================================================================
      86             : 
      87           0 : class ChartGraphicDataContext : public ShapeContext
      88             : {
      89             : public:
      90             :     explicit            ChartGraphicDataContext(
      91             :                             ::oox::core::ContextHandler& rParent,
      92             :                             const ShapePtr& rxShape, bool bEmbedShapes );
      93             : 
      94             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastContextHandler > SAL_CALL
      95             :                         createFastChildContext(
      96             :                             sal_Int32 nElement,
      97             :                             const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastAttributeList >& rxAttribs )
      98             :                         throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException);
      99             : 
     100             : private:
     101             :     ChartShapeInfo&     mrChartShapeInfo;
     102             : };
     103             : 
     104             : // ====================================================================
     105             : 
     106             : } }
     107             : 
     108             : #endif  //  OOX_DRAWINGML_GRAPHICSHAPECONTEXT_HXX
     109             : 
     110             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10