LCOV - code coverage report
Current view: top level - starmath/source - ooxmlexport.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 1 1 100.0 %
Date: 2014-11-03 Functions: 1 2 50.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_STARMATH_SOURCE_OOXMLEXPORT_HXX
      11             : #define INCLUDED_STARMATH_SOURCE_OOXMLEXPORT_HXX
      12             : 
      13             : #include "wordexportbase.hxx"
      14             : 
      15             : #include <sax/fshelper.hxx>
      16             : #include <oox/core/filterbase.hxx>
      17             : 
      18             : /**
      19             :  Class implementing writing of formulas to OOXML.
      20             :  */
      21         138 : class SmOoxmlExport : public SmWordExportBase
      22             : {
      23             : public:
      24             :     SmOoxmlExport( const SmNode* pIn, oox::core::OoxmlVersion version );
      25             :     bool ConvertFromStarMath( ::sax_fastparser::FSHelperPtr m_pSerializer );
      26             : private:
      27             :     virtual void HandleVerticalStack( const SmNode* pNode, int nLevel ) SAL_OVERRIDE;
      28             :     virtual void HandleText( const SmNode* pNode, int nLevel ) SAL_OVERRIDE;
      29             :     virtual void HandleFractions( const SmNode* pNode, int nLevel, const char* type = NULL ) SAL_OVERRIDE;
      30             :     virtual void HandleRoot( const SmRootNode* pNode, int nLevel ) SAL_OVERRIDE;
      31             :     virtual void HandleAttribute( const SmAttributNode* pNode, int nLevel ) SAL_OVERRIDE;
      32             :     virtual void HandleOperator( const SmOperNode* pNode, int nLevel ) SAL_OVERRIDE;
      33             :     virtual void HandleSubSupScriptInternal( const SmSubSupNode* pNode, int nLevel, int flags ) SAL_OVERRIDE;
      34             :     virtual void HandleMatrix( const SmMatrixNode* pNode, int nLevel ) SAL_OVERRIDE;
      35             :     virtual void HandleBrace( const SmBraceNode* pNode, int nLevel ) SAL_OVERRIDE;
      36             :     virtual void HandleVerticalBrace( const SmVerticalBraceNode* pNode, int nLevel ) SAL_OVERRIDE;
      37             :     virtual void HandleBlank() SAL_OVERRIDE;
      38             :     ::sax_fastparser::FSHelperPtr m_pSerializer;
      39             :     oox::core::OoxmlVersion version;
      40             : };
      41             : 
      42             : 
      43             : #endif
      44             : 
      45             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10