LCOV - code coverage report
Current view: top level - desktop/source/deployment/registry/sfwk - dp_parceldesc.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 4 0.0 %
Date: 2012-08-25 Functions: 0 5 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 2 0.0 %

           Branch data     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 <cppuhelper/implbase1.hxx>
      21                 :            : 
      22                 :            : #include <com/sun/star/xml/sax/XAttributeList.hpp>
      23                 :            : #include <com/sun/star/xml/sax/SAXException.hpp>
      24                 :            : #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
      25                 :            : #include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
      26                 :            : #include <com/sun/star/xml/sax/XParser.hpp>
      27                 :            : 
      28                 :            : #include <com/sun/star/lang/NoSupportException.hpp>
      29                 :            : #include <com/sun/star/lang/XMultiComponentFactory.hpp>
      30                 :            : namespace css = ::com::sun::star;
      31                 :            : namespace dp_registry
      32                 :            : {
      33                 :            : namespace backend
      34                 :            : {
      35                 :            : namespace sfwk
      36                 :            : {
      37                 :            : 
      38                 :            : typedef ::cppu::WeakImplHelper1< css::xml::sax::XDocumentHandler > t_DocHandlerImpl;
      39                 :            : 
      40         [ #  # ]:          0 : class ParcelDescDocHandler : public t_DocHandlerImpl
      41                 :            : {
      42                 :            : private:
      43                 :            :     bool m_bIsParsed;
      44                 :            :     ::rtl::OUString m_sLang;
      45                 :            :     sal_Int32 skipIndex;
      46                 :            : public:
      47                 :          0 :     ParcelDescDocHandler():m_bIsParsed( false ), skipIndex( 0 ){}
      48                 :          0 :     ::rtl::OUString getParcelLanguage() { return m_sLang; }
      49                 :          0 :     bool isParsed() { return m_bIsParsed; }
      50                 :            :     // XDocumentHandler
      51                 :            :     virtual void SAL_CALL startDocument()
      52                 :            :         throw ( css::xml::sax::SAXException, css::uno::RuntimeException );
      53                 :            : 
      54                 :            :     virtual void SAL_CALL endDocument()
      55                 :            :         throw ( css::xml::sax::SAXException, css::uno::RuntimeException );
      56                 :            : 
      57                 :            :     virtual void SAL_CALL startElement( const ::rtl::OUString& aName,
      58                 :            :         const css::uno::Reference< css::xml::sax::XAttributeList > & xAttribs )
      59                 :            :         throw ( css::xml::sax::SAXException,
      60                 :            :             css::uno::RuntimeException );
      61                 :            : 
      62                 :            :     virtual void SAL_CALL endElement( const ::rtl::OUString & aName )
      63                 :            :         throw ( css::xml::sax::SAXException, css::uno::RuntimeException );
      64                 :            : 
      65                 :            :     virtual void SAL_CALL characters( const ::rtl::OUString & aChars )
      66                 :            :         throw ( css::xml::sax::SAXException, css::uno::RuntimeException );
      67                 :            : 
      68                 :            :     virtual void SAL_CALL ignorableWhitespace( const ::rtl::OUString & aWhitespaces )
      69                 :            :         throw ( css::xml::sax::SAXException, css::uno::RuntimeException );
      70                 :            : 
      71                 :            :     virtual void SAL_CALL processingInstruction(
      72                 :            :         const ::rtl::OUString & aTarget, const ::rtl::OUString & aData )
      73                 :            :         throw ( css::xml::sax::SAXException, css::uno::RuntimeException );
      74                 :            : 
      75                 :            :     virtual void SAL_CALL setDocumentLocator(
      76                 :            :         const css::uno::Reference< css::xml::sax::XLocator >& xLocator )
      77                 :            :         throw ( css::xml::sax::SAXException, css::uno::RuntimeException );
      78                 :            : };
      79                 :            : }
      80                 :            : }
      81                 :            : }
      82                 :            : 
      83                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10