LCOV - code coverage report
Current view: top level - oox/source/core - contexthandler.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 49 0.0 %
Date: 2014-04-14 Functions: 0 24 0.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             :  * 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             : #include "oox/core/contexthandler.hxx"
      21             : 
      22             : #include "oox/core/fragmenthandler.hxx"
      23             : 
      24             : namespace oox {
      25             : namespace core {
      26             : 
      27             : 
      28             : 
      29             : using namespace ::com::sun::star::uno;
      30             : using namespace ::com::sun::star::xml::sax;
      31             : 
      32             : 
      33             : 
      34             : 
      35           0 : ContextHandler::ContextHandler( const ContextHandler& rParent ) :
      36             :     ContextHandler_BASE(),
      37           0 :     mxBaseData( rParent.mxBaseData )
      38             : {
      39           0 : }
      40             : 
      41           0 : ContextHandler::ContextHandler( const FragmentBaseDataRef& rxBaseData ) :
      42           0 :     mxBaseData( rxBaseData )
      43             : {
      44           0 : }
      45             : 
      46           0 : ContextHandler::~ContextHandler()
      47             : {
      48           0 : }
      49             : 
      50           0 : XmlFilterBase& ContextHandler::getFilter() const
      51             : {
      52           0 :     return mxBaseData->mrFilter;
      53             : }
      54             : 
      55           0 : const Relations& ContextHandler::getRelations() const
      56             : {
      57           0 :     return *mxBaseData->mxRelations;
      58             : }
      59             : 
      60           0 : const OUString& ContextHandler::getFragmentPath() const
      61             : {
      62           0 :     return mxBaseData->maFragmentPath;
      63             : }
      64             : 
      65           0 : OUString ContextHandler::getFragmentPathFromRelation( const Relation& rRelation ) const
      66             : {
      67           0 :     return mxBaseData->mxRelations->getFragmentPathFromRelation( rRelation );
      68             : }
      69             : 
      70           0 : OUString ContextHandler::getFragmentPathFromRelId( const OUString& rRelId ) const
      71             : {
      72           0 :     return mxBaseData->mxRelations->getFragmentPathFromRelId( rRelId );
      73             : }
      74             : 
      75           0 : OUString ContextHandler::getFragmentPathFromFirstType( const OUString& rType ) const
      76             : {
      77           0 :     return mxBaseData->mxRelations->getFragmentPathFromFirstType( rType );
      78             : }
      79             : 
      80           0 : OUString ContextHandler::getFragmentPathFromFirstTypeFromOfficeDoc( const OUString& rType ) const
      81             : {
      82           0 :     return mxBaseData->mxRelations->getFragmentPathFromFirstTypeFromOfficeDoc( rType );
      83             : }
      84             : 
      85           0 : void ContextHandler::implSetLocator( const Reference< XLocator >& rxLocator )
      86             : {
      87           0 :     mxBaseData->mxLocator = rxLocator;
      88           0 : }
      89             : 
      90             : // com.sun.star.xml.sax.XFastContextHandler interface -------------------------
      91             : 
      92           0 : void ContextHandler::startFastElement( sal_Int32, const Reference< XFastAttributeList >& ) throw( SAXException, RuntimeException, std::exception )
      93             : {
      94           0 : }
      95             : 
      96           0 : void ContextHandler::startUnknownElement( const OUString&, const OUString&, const Reference< XFastAttributeList >& ) throw( SAXException, RuntimeException, std::exception )
      97             : {
      98           0 : }
      99             : 
     100           0 : void ContextHandler::endFastElement( sal_Int32 ) throw( SAXException, RuntimeException, std::exception )
     101             : {
     102           0 : }
     103             : 
     104           0 : void ContextHandler::endUnknownElement( const OUString&, const OUString& ) throw( SAXException, RuntimeException, std::exception )
     105             : {
     106           0 : }
     107             : 
     108           0 : Reference< XFastContextHandler > ContextHandler::createFastChildContext( sal_Int32, const Reference< XFastAttributeList >& ) throw( SAXException, RuntimeException, std::exception )
     109             : {
     110           0 :     return 0;
     111             : }
     112             : 
     113           0 : Reference< XFastContextHandler > ContextHandler::createUnknownChildContext( const OUString&, const OUString&, const Reference< XFastAttributeList >& ) throw( SAXException, RuntimeException, std::exception )
     114             : {
     115           0 :     return 0;
     116             : }
     117             : 
     118           0 : void ContextHandler::characters( const OUString& ) throw( SAXException, RuntimeException, std::exception )
     119             : {
     120           0 : }
     121             : 
     122           0 : void ContextHandler::ignorableWhitespace( const OUString& ) throw( SAXException, RuntimeException )
     123             : {
     124           0 : }
     125             : 
     126           0 : void ContextHandler::processingInstruction( const OUString&, const OUString& ) throw( SAXException, RuntimeException )
     127             : {
     128           0 : }
     129             : 
     130             : // record context interface ---------------------------------------------------
     131             : 
     132           0 : ContextHandlerRef ContextHandler::createRecordContext( sal_Int32, SequenceInputStream& )
     133             : {
     134           0 :     return 0;
     135             : }
     136             : 
     137           0 : void ContextHandler::startRecord( sal_Int32, SequenceInputStream& )
     138             : {
     139           0 : }
     140             : 
     141           0 : void ContextHandler::endRecord( sal_Int32 )
     142             : {
     143           0 : }
     144             : 
     145             : 
     146             : 
     147             : } // namespace core
     148             : } // namespace oox
     149             : 
     150             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10