LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/editeng - xmlcnitm.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-12-17 Functions: 1 1 100.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 _SVX_XMLCNITM_HXX
      21             : #define _SVX_XMLCNITM_HXX
      22             : 
      23             : #include <svl/poolitem.hxx>
      24             : #include "editeng/editengdllapi.h"
      25             : 
      26             : class SvXMLNamespaceMap;
      27             : namespace rtl { class OUString; }
      28             : 
      29             : //============================================================================
      30             : 
      31             : class SvXMLAttrContainerData;
      32             : 
      33             : class EDITENG_DLLPUBLIC SvXMLAttrContainerItem: public SfxPoolItem
      34             : {
      35             :     SvXMLAttrContainerData  *pImpl;
      36             : 
      37             : public:
      38             :     TYPEINFO();
      39             : 
      40             :     SvXMLAttrContainerItem( sal_uInt16 nWhich = 0 );
      41             :     SvXMLAttrContainerItem( const SvXMLAttrContainerItem& );
      42             :     virtual ~SvXMLAttrContainerItem();
      43             : 
      44             :     virtual int operator==( const SfxPoolItem& ) const;
      45             :     using SfxPoolItem::Compare;
      46             :     virtual int Compare( const SfxPoolItem &rWith ) const;
      47             : 
      48             :     virtual SfxItemPresentation GetPresentation(
      49             :                                 SfxItemPresentation ePresentation,
      50             :                                 SfxMapUnit eCoreMetric,
      51             :                                 SfxMapUnit ePresentationMetric,
      52             :                                 XubString &rText,
      53             :                                 const IntlWrapper *pIntlWrapper = 0 ) const;
      54             : 
      55             :     virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
      56             : 
      57             :     virtual bool            QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
      58             :     virtual bool            PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
      59             : 
      60        1026 :     virtual SfxPoolItem *Clone( SfxItemPool * = 0) const
      61        1026 :     { return new SvXMLAttrContainerItem( *this ); }
      62             : 
      63             :     sal_Bool AddAttr( const ::rtl::OUString& rLName,
      64             :                           const ::rtl::OUString& rValue );
      65             :     sal_Bool AddAttr( const ::rtl::OUString& rPrefix,
      66             :                           const ::rtl::OUString& rNamespace,
      67             :                           const ::rtl::OUString& rLName,
      68             :                           const ::rtl::OUString& rValue );
      69             : 
      70             :     sal_uInt16 GetAttrCount() const;
      71             :     ::rtl::OUString GetAttrNamespace( sal_uInt16 i ) const;
      72             :     ::rtl::OUString GetAttrPrefix( sal_uInt16 i ) const;
      73             :     const ::rtl::OUString& GetAttrLName( sal_uInt16 i ) const;
      74             :     const ::rtl::OUString& GetAttrValue( sal_uInt16 i ) const;
      75             : 
      76             :     sal_uInt16 GetFirstNamespaceIndex() const;
      77             :     sal_uInt16 GetNextNamespaceIndex( sal_uInt16 nIdx ) const;
      78             :     const ::rtl::OUString& GetNamespace( sal_uInt16 i ) const;
      79             :     const ::rtl::OUString& GetPrefix( sal_uInt16 i ) const;
      80             : };
      81             : 
      82             : #endif //  _SVX_XMLCNITM_HXX
      83             : 
      84             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10