LCOV - code coverage report
Current view: top level - sd/inc - sdattr.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 28 0.0 %
Date: 2012-08-25 Functions: 0 38 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 34 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                 :            : 
      29                 :            : #ifndef _SDATTR_HXX
      30                 :            : #define _SDATTR_HXX
      31                 :            : 
      32                 :            : #include <com/sun/star/presentation/FadeEffect.hpp>
      33                 :            : #include <svl/intitem.hxx>
      34                 :            : #include <svl/eitem.hxx>
      35                 :            : #include <svl/stritem.hxx>
      36                 :            : #include <sfx2/sfx.hrc>
      37                 :            : 
      38                 :            : #include "sdattr.hrc"
      39                 :            : #include "glob.hxx"
      40                 :            : #include "fadedef.h"
      41                 :            : #include "diadef.h"
      42                 :            : 
      43                 :            : //------------------------------------------------------------------
      44                 :            : 
      45                 :            : 
      46                 :            : //==================================================================
      47                 :            : //  Layer-Attribute
      48                 :            : //==================================================================
      49                 :            : 
      50         [ #  # ]:          0 : class SdAttrLayerName : public SfxStringItem
      51                 :            : {
      52                 :            : public:
      53                 :            :     SdAttrLayerName() :
      54                 :            :         SfxStringItem( ATTR_LAYER_NAME, String( RTL_CONSTASCII_USTRINGPARAM( "neue Ebene" ))) {}
      55                 :          0 :     SdAttrLayerName( const String& aStr ) :
      56                 :          0 :         SfxStringItem( ATTR_LAYER_NAME, aStr ) {}
      57                 :            : };
      58                 :            : 
      59                 :            : //------------------------------------------------------------------
      60                 :            : 
      61         [ #  # ]:          0 : class SdAttrLayerTitle : public SfxStringItem
      62                 :            : {
      63                 :            : public:
      64 [ #  # ][ #  # ]:          0 :     SdAttrLayerTitle() : SfxStringItem( ATTR_LAYER_TITLE, rtl::OUString()) {}
                 [ #  # ]
      65                 :          0 :     SdAttrLayerTitle( const String& aStr ) : SfxStringItem( ATTR_LAYER_TITLE, aStr ) {}
      66                 :            : };
      67                 :            : 
      68                 :            : //------------------------------------------------------------------
      69                 :            : 
      70         [ #  # ]:          0 : class SdAttrLayerDesc : public SfxStringItem
      71                 :            : {
      72                 :            : public:
      73 [ #  # ][ #  # ]:          0 :     SdAttrLayerDesc() : SfxStringItem( ATTR_LAYER_DESC, rtl::OUString()) {}
                 [ #  # ]
      74                 :          0 :     SdAttrLayerDesc( const String& aStr ) : SfxStringItem( ATTR_LAYER_DESC, aStr ) {}
      75                 :            : };
      76                 :            : 
      77                 :            : //------------------------------------------------------------------
      78                 :            : 
      79         [ #  # ]:          0 : class SdAttrLayerVisible : public SfxBoolItem
      80                 :            : {
      81                 :            : public:
      82                 :          0 :     SdAttrLayerVisible( sal_Bool bValue = sal_True ) :
      83                 :          0 :         SfxBoolItem( ATTR_LAYER_VISIBLE, bValue ) {}
      84                 :            : };
      85                 :            : 
      86                 :            : //------------------------------------------------------------------
      87                 :            : 
      88         [ #  # ]:          0 : class SdAttrLayerPrintable : public SfxBoolItem
      89                 :            : {
      90                 :            : public:
      91                 :          0 :     SdAttrLayerPrintable( sal_Bool bValue = sal_True ) :
      92                 :          0 :         SfxBoolItem( ATTR_LAYER_PRINTABLE, bValue ) {}
      93                 :            : };
      94                 :            : 
      95                 :            : //------------------------------------------------------------------
      96                 :            : 
      97         [ #  # ]:          0 : class SdAttrLayerLocked : public SfxBoolItem
      98                 :            : {
      99                 :            : public:
     100                 :          0 :     SdAttrLayerLocked( sal_Bool bValue = sal_False ) :
     101                 :          0 :         SfxBoolItem( ATTR_LAYER_LOCKED, bValue ) {}
     102                 :            : };
     103                 :            : 
     104                 :            : //------------------------------------------------------------------
     105                 :            : 
     106         [ #  # ]:          0 : class SdAttrLayerThisPage : public SfxBoolItem
     107                 :            : {
     108                 :            : public:
     109                 :          0 :     SdAttrLayerThisPage( sal_Bool bValue = sal_False ) :
     110                 :          0 :         SfxBoolItem( ATTR_LAYER_THISPAGE, bValue ) {}
     111                 :            : };
     112                 :            : 
     113                 :            : //------------------------------------------------------------------
     114                 :            : 
     115         [ #  # ]:          0 : class DiaEffectItem : public SfxEnumItem
     116                 :            : {
     117                 :            : public:
     118                 :            :             TYPEINFO();
     119                 :            :             DiaEffectItem( ::com::sun::star::presentation::FadeEffect eFade = com::sun::star::presentation::FadeEffect_NONE );
     120                 :            :             DiaEffectItem( SvStream& rIn );
     121                 :            : 
     122                 :            :     virtual SfxPoolItem*    Clone( SfxItemPool* pPool = 0 ) const;
     123                 :            :     virtual SfxPoolItem*    Create( SvStream& rIn, sal_uInt16 nVer ) const;
     124                 :          0 :             sal_uInt16          GetValueCount() const { return FADE_EFFECT_COUNT; }
     125                 :            :             ::com::sun::star::presentation::FadeEffect      GetValue() const
     126                 :            :                             { return (::com::sun::star::presentation::FadeEffect) SfxEnumItem::GetValue(); }
     127                 :            : };
     128                 :            : 
     129                 :            : //------------------------------------------------------------------
     130                 :            : 
     131         [ #  # ]:          0 : class DiaSpeedItem : public SfxEnumItem
     132                 :            : {
     133                 :            : public:
     134                 :            :             TYPEINFO();
     135                 :            :             DiaSpeedItem( FadeSpeed = FADE_SPEED_MEDIUM );
     136                 :            :             DiaSpeedItem( SvStream& rIn );
     137                 :            : 
     138                 :            :     virtual SfxPoolItem*    Clone( SfxItemPool* pPool = 0 ) const;
     139                 :            :     virtual SfxPoolItem*    Create( SvStream& rIn, sal_uInt16 nVer ) const;
     140                 :          0 :             sal_uInt16          GetValueCount() const { return FADE_SPEED_COUNT; }
     141                 :            :             FadeSpeed       GetValue() const
     142                 :            :                             { return (FadeSpeed) SfxEnumItem::GetValue(); }
     143                 :            : };
     144                 :            : 
     145                 :            : //------------------------------------------------------------------
     146                 :            : 
     147         [ #  # ]:          0 : class DiaAutoItem : public SfxEnumItem
     148                 :            : {
     149                 :            : public:
     150                 :            :             TYPEINFO();
     151                 :            :             DiaAutoItem( PresChange = PRESCHANGE_MANUAL );
     152                 :            :             DiaAutoItem( SvStream& rIn );
     153                 :            : 
     154                 :            :     virtual SfxPoolItem*    Clone( SfxItemPool* pPool = 0 ) const;
     155                 :            :     virtual SfxPoolItem*    Create( SvStream& rIn, sal_uInt16 nVer ) const;
     156                 :          0 :             sal_uInt16          GetValueCount() const { return PRESCHANGE_COUNT; }
     157                 :            :             PresChange      GetValue() const { return (PresChange) SfxEnumItem::GetValue(); }
     158                 :            : };
     159                 :            : 
     160                 :            : //------------------------------------------------------------------
     161                 :            : 
     162         [ #  # ]:          0 : class DiaTimeItem : public SfxUInt32Item
     163                 :            : {
     164                 :            : public:
     165                 :            :             TYPEINFO();
     166                 :            :             DiaTimeItem( sal_uInt32 nValue = 0L );
     167                 :            : 
     168                 :            :     virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
     169                 :            :     virtual int          operator==( const SfxPoolItem& ) const;
     170                 :            : };
     171                 :            : 
     172                 :            : #endif // _SDATTR_HXX
     173                 :            : 
     174                 :            : 
     175                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10