LCOV - code coverage report
Current view: top level - unoxml/source/dom - notation.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 48 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 25 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             : #ifndef INCLUDED_UNOXML_SOURCE_DOM_NOTATION_HXX
      21             : #define INCLUDED_UNOXML_SOURCE_DOM_NOTATION_HXX
      22             : 
      23             : #include <libxml/tree.h>
      24             : 
      25             : #include <com/sun/star/uno/Reference.h>
      26             : #include <com/sun/star/xml/dom/XNotation.hpp>
      27             : 
      28             : #include <node.hxx>
      29             : 
      30             : namespace DOM
      31             : {
      32             :     typedef cppu::ImplInheritanceHelper1< CNode, css::xml::dom::XNotation > CNotation_Base;
      33             : 
      34           0 :     class CNotation
      35             :         : public CNotation_Base
      36             :     {
      37             :     private:
      38             :         friend class CDocument;
      39             : 
      40             :     private:
      41             :         xmlNotationPtr m_aNotationPtr;
      42             : 
      43             :     protected:
      44             :         CNotation(CDocument const& rDocument, ::osl::Mutex const& rMutex,
      45             :                 xmlNotationPtr const pNotation);
      46             : 
      47             :         /**
      48             :         The public identifier of this notation.
      49             :         */
      50             :         virtual OUString SAL_CALL getPublicId() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      51             : 
      52             :         /**
      53             :         The system identifier of this notation.
      54             :         */
      55             :         virtual OUString SAL_CALL getSystemId() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      56             : 
      57             :         // ---- resolve uno inheritance problems...
      58             :         // overrides for XNode base
      59             :         virtual OUString SAL_CALL getNodeName()
      60             :             throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      61             :         virtual OUString SAL_CALL getNodeValue()
      62             :             throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      63             :     // --- delegation for XNode base.
      64           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL appendChild(const css::uno::Reference< css::xml::dom::XNode >& newChild)
      65             :         throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) SAL_OVERRIDE
      66             :     {
      67           0 :         return CNode::appendChild(newChild);
      68             :     }
      69           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL cloneNode(sal_Bool deep)
      70             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
      71             :     {
      72           0 :         return CNode::cloneNode(deep);
      73             :     }
      74           0 :     virtual css::uno::Reference< css::xml::dom::XNamedNodeMap > SAL_CALL getAttributes()
      75             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
      76             :     {
      77           0 :         return CNode::getAttributes();
      78             :     }
      79           0 :     virtual css::uno::Reference< css::xml::dom::XNodeList > SAL_CALL getChildNodes()
      80             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
      81             :     {
      82           0 :         return CNode::getChildNodes();
      83             :     }
      84           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getFirstChild()
      85             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
      86             :     {
      87           0 :         return CNode::getFirstChild();
      88             :     }
      89           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getLastChild()
      90             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
      91             :     {
      92           0 :         return CNode::getLastChild();
      93             :     }
      94           0 :     virtual OUString SAL_CALL getLocalName()
      95             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
      96             :     {
      97           0 :         return CNode::getLocalName();
      98             :     }
      99           0 :     virtual OUString SAL_CALL getNamespaceURI()
     100             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     101             :     {
     102           0 :         return CNode::getNamespaceURI();
     103             :     }
     104           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getNextSibling()
     105             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     106             :     {
     107           0 :         return CNode::getNextSibling();
     108             :     }
     109           0 :     virtual css::xml::dom::NodeType SAL_CALL getNodeType()
     110             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     111             :     {
     112           0 :         return CNode::getNodeType();
     113             :     }
     114           0 :     virtual css::uno::Reference< css::xml::dom::XDocument > SAL_CALL getOwnerDocument()
     115             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     116             :     {
     117           0 :         return CNode::getOwnerDocument();
     118             :     }
     119           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getParentNode()
     120             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     121             :     {
     122           0 :         return CNode::getParentNode();
     123             :     }
     124           0 :     virtual OUString SAL_CALL getPrefix()
     125             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     126             :     {
     127           0 :         return CNode::getPrefix();
     128             :     }
     129           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getPreviousSibling()
     130             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     131             :     {
     132           0 :         return CNode::getPreviousSibling();
     133             :     }
     134           0 :     virtual sal_Bool SAL_CALL hasAttributes()
     135             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     136             :     {
     137           0 :         return CNode::hasAttributes();
     138             :     }
     139           0 :     virtual sal_Bool SAL_CALL hasChildNodes()
     140             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     141             :     {
     142           0 :         return CNode::hasChildNodes();
     143             :     }
     144           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL insertBefore(
     145             :             const css::uno::Reference< css::xml::dom::XNode >& newChild, const css::uno::Reference< css::xml::dom::XNode >& refChild)
     146             :         throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) SAL_OVERRIDE
     147             :     {
     148           0 :         return CNode::insertBefore(newChild, refChild);
     149             :     }
     150           0 :     virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver)
     151             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     152             :     {
     153           0 :         return CNode::isSupported(feature, ver);
     154             :     }
     155           0 :     virtual void SAL_CALL normalize()
     156             :         throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
     157             :     {
     158           0 :         CNode::normalize();
     159           0 :     }
     160           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL removeChild(const css::uno::Reference< css::xml::dom::XNode >& oldChild)
     161             :         throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) SAL_OVERRIDE
     162             :     {
     163           0 :         return CNode::removeChild(oldChild);
     164             :     }
     165           0 :     virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL replaceChild(
     166             :             const css::uno::Reference< css::xml::dom::XNode >& newChild, const css::uno::Reference< css::xml::dom::XNode >& oldChild)
     167             :         throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) SAL_OVERRIDE
     168             :     {
     169           0 :         return CNode::replaceChild(newChild, oldChild);
     170             :     }
     171           0 :     virtual void SAL_CALL setNodeValue(const OUString& nodeValue)
     172             :         throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) SAL_OVERRIDE
     173             :     {
     174           0 :         return CNode::setNodeValue(nodeValue);
     175             :     }
     176           0 :     virtual void SAL_CALL setPrefix(const OUString& prefix)
     177             :         throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) SAL_OVERRIDE
     178             :     {
     179           0 :         return CNode::setPrefix(prefix);
     180             :     }
     181             : 
     182             : 
     183             :     };
     184             : }
     185             : 
     186             : #endif
     187             : 
     188             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11