LCOV - code coverage report
Current view: top level - svx/inc/svx - SmartTagItem.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 9 0.0 %
Date: 2012-08-25 Functions: 0 11 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 14 0.0 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : #ifndef _SVX_SMARTTAGITEM_HXX
      29                 :            : #define _SVX_SMARTTAGITEM_HXX
      30                 :            : 
      31                 :            : #include <svl/poolitem.hxx>
      32                 :            : #include <com/sun/star/uno/Reference.hxx>
      33                 :            : #include <com/sun/star/uno/Sequence.hxx>
      34                 :            : #include <com/sun/star/smarttags/XSmartTagAction.hpp>
      35                 :            : #include "svx/svxdllapi.h"
      36                 :            : 
      37                 :            : namespace com { namespace sun { namespace star { namespace container {
      38                 :            :     class XStringKeyMap;
      39                 :            : } } } }
      40                 :            : 
      41                 :            : namespace com { namespace sun { namespace star { namespace text {
      42                 :            :     class XTextRange;
      43                 :            : } } } }
      44                 :            : 
      45                 :            : namespace com { namespace sun { namespace star { namespace frame {
      46                 :            :     class XController;
      47                 :            : } } } }
      48                 :            : 
      49                 :            : // class SvxSmartTagItem -----------------------------------------------------
      50                 :            : 
      51 [ #  # ][ #  # ]:          0 : class SVX_DLLPUBLIC SvxSmartTagItem : public SfxPoolItem
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
                 [ #  # ]
      52                 :            : {
      53                 :            :     const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::smarttags::XSmartTagAction > > > maActionComponentsSequence;
      54                 :            :     const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< sal_Int32 > > maActionIndicesSequence;
      55                 :            :     const com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::container::XStringKeyMap > > maStringKeyMaps;
      56                 :            :     const com::sun::star::uno::Reference<com::sun::star::text::XTextRange> mxRange;
      57                 :            :     const com::sun::star::uno::Reference<com::sun::star::frame::XController> mxController;
      58                 :            :     const com::sun::star::lang::Locale maLocale;
      59                 :            :     const rtl::OUString maApplicationName;
      60                 :            :     const rtl::OUString maRangeText;
      61                 :            : 
      62                 :            : public:
      63                 :            :     TYPEINFO();
      64                 :            : 
      65                 :            :     SvxSmartTagItem( const sal_uInt16 nId,
      66                 :            :                      const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::smarttags::XSmartTagAction > > >& rActionComponentsSequence,
      67                 :            :                      const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< sal_Int32 > >& rActionIndicesSequence,
      68                 :            :                      const com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::container::XStringKeyMap > >& rStringKeyMaps,
      69                 :            :                      const com::sun::star::uno::Reference<com::sun::star::text::XTextRange> rRange,
      70                 :            :                      const com::sun::star::uno::Reference<com::sun::star::frame::XController> rController,
      71                 :            :                      const com::sun::star::lang::Locale rLocale,
      72                 :            :                      const rtl::OUString& rApplicationName,
      73                 :            :                      const rtl::OUString& rRangeText );
      74                 :            : 
      75                 :            :     // "pure virtual Methoden" vom SfxPoolItem
      76                 :            :     virtual int              operator==( const SfxPoolItem& ) const;
      77                 :            :     virtual SfxPoolItem*     Clone( SfxItemPool *pPool = 0 ) const;
      78                 :            :     virtual SfxPoolItem*     Create(SvStream &, sal_uInt16) const; // leer
      79                 :            :     virtual SvStream&        Store(SvStream &, sal_uInt16 nItemVersion) const; // leer
      80                 :            :     virtual bool             QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
      81                 :            :     virtual bool             PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
      82                 :            : 
      83                 :          0 :     const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::smarttags::XSmartTagAction > > >& GetActionComponentsSequence() const { return maActionComponentsSequence; }
      84                 :          0 :     const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< sal_Int32 > >& GetActionIndicesSequence() const { return maActionIndicesSequence; }
      85                 :          0 :     const com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::container::XStringKeyMap > >& GetStringKeyMaps() const { return maStringKeyMaps; }
      86                 :          0 :     const com::sun::star::uno::Reference<com::sun::star::text::XTextRange>& GetTextRange() const { return mxRange; }
      87                 :          0 :     const com::sun::star::uno::Reference<com::sun::star::frame::XController>& GetController() const { return mxController; }
      88                 :          0 :     const com::sun::star::lang::Locale& GetLocale() const { return maLocale; }
      89                 :          0 :     const rtl::OUString GetApplicationName() const { return maApplicationName; }
      90                 :          0 :     const rtl::OUString GetRangeText() const { return maRangeText; }
      91                 :            : };
      92                 :            : 
      93                 :            : #endif // #ifndef _SVX_SMARTTAGITEM_HXX
      94                 :            : 
      95                 :            : 
      96                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10