LCOV - code coverage report
Current view: top level - svx/source/xoutdev - xattr2.cxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 121 419 28.9 %
Date: 2014-04-11 Functions: 106 197 53.8 %
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             : #include <com/sun/star/drawing/LineJoint.hpp>
      21             : #include <com/sun/star/drawing/LineCap.hpp>
      22             : #include <com/sun/star/uno/Any.hxx>
      23             : 
      24             : #include <i18nutil/unicode.hxx>
      25             : #include <svx/dialogs.hrc>
      26             : #include "svx/xattr.hxx"
      27             : #include <svx/xtable.hxx>
      28             : #include <svx/dialmgr.hxx>
      29             : #include <editeng/itemtype.hxx>
      30             : #include <svx/xdef.hxx>
      31             : #include <svx/AffineMatrixItem.hxx>
      32             : #include <vcl/svapp.hxx>
      33             : #include <vcl/settings.hxx>
      34             : 
      35             : // class XLineTransparenceItem
      36             : 
      37       86107 : TYPEINIT1_AUTOFACTORY(XLineTransparenceItem, SfxUInt16Item);
      38             : 
      39        2850 : XLineTransparenceItem::XLineTransparenceItem(sal_uInt16 nLineTransparence) :
      40        2850 :     SfxUInt16Item(XATTR_LINETRANSPARENCE, nLineTransparence)
      41             : {
      42        2850 : }
      43             : 
      44           0 : XLineTransparenceItem::XLineTransparenceItem(SvStream& rIn) :
      45           0 :     SfxUInt16Item(XATTR_LINETRANSPARENCE, rIn)
      46             : {
      47           0 : }
      48             : 
      49       16943 : SfxPoolItem* XLineTransparenceItem::Clone(SfxItemPool* /*pPool*/) const
      50             : {
      51       16943 :     return new XLineTransparenceItem(*this);
      52             : }
      53             : 
      54           0 : SfxPoolItem* XLineTransparenceItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const
      55             : {
      56           0 :     return new XLineTransparenceItem(rIn);
      57             : }
      58             : 
      59           0 : SfxItemPresentation XLineTransparenceItem::GetPresentation
      60             : (
      61             :     SfxItemPresentation ePres,
      62             :     SfxMapUnit          /*eCoreUnit*/,
      63             :     SfxMapUnit          /*ePresUnit*/,
      64             :     OUString&           rText, const IntlWrapper *
      65             : )   const
      66             : {
      67           0 :     rText = OUString();
      68             : 
      69           0 :     switch ( ePres )
      70             :     {
      71             :         case SFX_ITEM_PRESENTATION_NONE:
      72           0 :             return ePres;
      73             :         case SFX_ITEM_PRESENTATION_COMPLETE:
      74           0 :             rText = OUString( ResId( RID_SVXSTR_TRANSPARENCE, DIALOG_MGR() ) ) + ": ";
      75             :         case SFX_ITEM_PRESENTATION_NAMELESS:
      76           0 :             rText += unicode::formatPercent(GetValue(),
      77           0 :                 Application::GetSettings().GetUILanguageTag());
      78           0 :             return ePres;
      79             :         default:
      80           0 :             return SFX_ITEM_PRESENTATION_NONE;
      81             :     }
      82             : }
      83             : 
      84             : // class XLineJointItem -
      85             : 
      86       29266 : TYPEINIT1_AUTOFACTORY(XLineJointItem, SfxEnumItem);
      87             : 
      88        3711 : XLineJointItem::XLineJointItem( com::sun::star::drawing::LineJoint eLineJoint ) :
      89        3711 :     SfxEnumItem(XATTR_LINEJOINT, sal::static_int_cast< sal_uInt16 >(eLineJoint))
      90             : {
      91        3711 : }
      92             : 
      93           0 : XLineJointItem::XLineJointItem( SvStream& rIn ) :
      94           0 :     SfxEnumItem( XATTR_LINEJOINT, rIn )
      95             : {
      96           0 : }
      97             : 
      98           0 : sal_uInt16 XLineJointItem::GetVersion( sal_uInt16 /*nFileFormatVersion*/) const
      99             : {
     100           0 :     return 1;
     101             : }
     102             : 
     103           0 : SfxPoolItem* XLineJointItem::Create( SvStream& rIn, sal_uInt16 nVer ) const
     104             : {
     105           0 :     XLineJointItem* pRet = new XLineJointItem( rIn );
     106             : 
     107           0 :     if(nVer < 1)
     108           0 :         pRet->SetValue(com::sun::star::drawing::LineJoint_ROUND);
     109             : 
     110           0 :     return pRet;
     111             : }
     112             : 
     113        5520 : SfxPoolItem* XLineJointItem::Clone(SfxItemPool* /*pPool*/) const
     114             : {
     115        5520 :     return new XLineJointItem( *this );
     116             : }
     117             : 
     118           0 : SfxItemPresentation XLineJointItem::GetPresentation( SfxItemPresentation ePres, SfxMapUnit /*eCoreUnit*/,
     119             :     SfxMapUnit /*ePresUnit*/, OUString& rText, const IntlWrapper*) const
     120             : {
     121           0 :     rText = OUString();
     122             : 
     123           0 :     switch( ePres )
     124             :     {
     125           0 :         case SFX_ITEM_PRESENTATION_NONE: return ePres;
     126             : 
     127             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     128             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     129             :         {
     130           0 :             sal_uInt16 nId = 0;
     131             : 
     132           0 :             switch( GetValue() )
     133             :             {
     134             :                 case( com::sun::star::drawing::LineJoint_MAKE_FIXED_SIZE ):
     135             :                 case( com::sun::star::drawing::LineJoint_NONE ):
     136           0 :                     nId = RID_SVXSTR_LINEJOINT_NONE;
     137           0 :                 break;
     138             : 
     139             :                 case( com::sun::star::drawing::LineJoint_MIDDLE ):
     140           0 :                     nId = RID_SVXSTR_LINEJOINT_MIDDLE;
     141           0 :                 break;
     142             : 
     143             : 
     144             :                 case( com::sun::star::drawing::LineJoint_BEVEL ):
     145           0 :                     nId = RID_SVXSTR_LINEJOINT_BEVEL;
     146           0 :                 break;
     147             : 
     148             : 
     149             :                 case( com::sun::star::drawing::LineJoint_MITER ):
     150           0 :                     nId = RID_SVXSTR_LINEJOINT_MITER;
     151           0 :                 break;
     152             : 
     153             : 
     154             :                 case( com::sun::star::drawing::LineJoint_ROUND ):
     155           0 :                     nId = RID_SVXSTR_LINEJOINT_ROUND;
     156           0 :                 break;
     157             :             }
     158             : 
     159           0 :             if( nId )
     160           0 :                 rText = SVX_RESSTR( nId );
     161             : 
     162           0 :             return ePres;
     163             :         }
     164             :         default:
     165           0 :             return SFX_ITEM_PRESENTATION_NONE;
     166             :     }
     167             : }
     168             : 
     169         797 : bool XLineJointItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
     170             : {
     171         797 :     const ::com::sun::star::drawing::LineJoint eJoint = GetValue();
     172         797 :     rVal <<= eJoint;
     173         797 :     return true;
     174             : }
     175             : 
     176        3644 : bool XLineJointItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/)
     177             : {
     178             :     ::com::sun::star::drawing::LineJoint eUnoJoint;
     179             : 
     180        3644 :     if(!(rVal >>= eUnoJoint))
     181             :     {
     182             :         // also try an int (for Basic)
     183           0 :         sal_Int32 nLJ = 0;
     184           0 :         if(!(rVal >>= nLJ))
     185           0 :             return false;
     186           0 :         eUnoJoint = (::com::sun::star::drawing::LineJoint)nLJ;
     187             :     }
     188             : 
     189        3644 :     SetValue( sal::static_int_cast< sal_uInt16 >( eUnoJoint ) );
     190             : 
     191        3644 :     return true;
     192             : }
     193             : 
     194           0 : sal_uInt16 XLineJointItem::GetValueCount() const
     195             : {
     196             :     // don't forget to update the api interface also
     197           0 :     return 5;
     198             : }
     199             : 
     200             : // class AffineMatrixItem
     201             : 
     202           0 : TYPEINIT1_AUTOFACTORY(AffineMatrixItem, SfxPoolItem);
     203             : 
     204           0 : AffineMatrixItem::AffineMatrixItem(const com::sun::star::geometry::AffineMatrix2D* pMatrix)
     205           0 : :   SfxPoolItem(SID_ATTR_TRANSFORM_MATRIX)
     206             : {
     207           0 :     if(pMatrix)
     208             :     {
     209           0 :         maMatrix = *pMatrix;
     210             :     }
     211             :     else
     212             :     {
     213           0 :         maMatrix.m00 = 1.0;
     214           0 :         maMatrix.m01 = 0.0;
     215           0 :         maMatrix.m02 = 0.0;
     216           0 :         maMatrix.m10 = 0.0;
     217           0 :         maMatrix.m11 = 1.0;
     218           0 :         maMatrix.m12 = 0.0;
     219             :     }
     220           0 : }
     221             : 
     222           0 : AffineMatrixItem::AffineMatrixItem(SvStream& rIn)
     223           0 : :   SfxPoolItem(SID_ATTR_TRANSFORM_MATRIX)
     224             : {
     225           0 :     rIn.ReadDouble( maMatrix.m00 );
     226           0 :     rIn.ReadDouble( maMatrix.m01 );
     227           0 :     rIn.ReadDouble( maMatrix.m02 );
     228           0 :     rIn.ReadDouble( maMatrix.m10 );
     229           0 :     rIn.ReadDouble( maMatrix.m11 );
     230           0 :     rIn.ReadDouble( maMatrix.m12 );
     231           0 : }
     232             : 
     233           0 : AffineMatrixItem::AffineMatrixItem(const AffineMatrixItem& rRef)
     234           0 : :   SfxPoolItem(SID_ATTR_TRANSFORM_MATRIX)
     235             : {
     236           0 :     maMatrix = rRef.maMatrix;
     237           0 : }
     238             : 
     239           0 : AffineMatrixItem::~AffineMatrixItem()
     240             : {
     241           0 : }
     242             : 
     243           0 : bool AffineMatrixItem::operator==(const SfxPoolItem& rRef) const
     244             : {
     245           0 :     if(!SfxPoolItem::operator==(rRef))
     246             :     {
     247           0 :         return false;
     248             :     }
     249             : 
     250           0 :     const AffineMatrixItem* pRef = dynamic_cast< const AffineMatrixItem* >(&rRef);
     251             : 
     252           0 :     if(!pRef)
     253             :     {
     254           0 :         return false;
     255             :     }
     256             : 
     257           0 :     return (maMatrix.m00 == pRef->maMatrix.m00
     258           0 :         && maMatrix.m01 == pRef->maMatrix.m01
     259           0 :         && maMatrix.m02 == pRef->maMatrix.m02
     260           0 :         && maMatrix.m10 == pRef->maMatrix.m10
     261           0 :         && maMatrix.m11 == pRef->maMatrix.m11
     262           0 :         && maMatrix.m12 == pRef->maMatrix.m12);
     263             : }
     264             : 
     265           0 : SfxPoolItem* AffineMatrixItem::Clone( SfxItemPool* /*pPool*/ ) const
     266             : {
     267           0 :     return new AffineMatrixItem(*this);
     268             : }
     269             : 
     270           0 : SfxPoolItem* AffineMatrixItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/ ) const
     271             : {
     272           0 :     return new AffineMatrixItem(rIn);
     273             : }
     274             : 
     275           0 : SvStream& AffineMatrixItem::Store(SvStream &rStream, sal_uInt16 /*nItemVersion*/ ) const
     276             : {
     277           0 :     rStream.WriteDouble( maMatrix.m00 );
     278           0 :     rStream.WriteDouble( maMatrix.m01 );
     279           0 :     rStream.WriteDouble( maMatrix.m02 );
     280           0 :     rStream.WriteDouble( maMatrix.m10 );
     281           0 :     rStream.WriteDouble( maMatrix.m11 );
     282           0 :     rStream.WriteDouble( maMatrix.m12 );
     283           0 :     return rStream;
     284             : }
     285             : 
     286           0 : bool AffineMatrixItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
     287             : {
     288           0 :     rVal <<= maMatrix;
     289           0 :     return true;
     290             : }
     291             : 
     292           0 : bool AffineMatrixItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
     293             : {
     294           0 :     if (rVal >>= maMatrix)
     295             :     {
     296           0 :         return true;
     297             :     }
     298             : 
     299             :     OSL_ENSURE(false, "AffineMatrixItem::PutValue - Wrong type!");
     300           0 :     return false;
     301             : }
     302             : 
     303             : // class XLineCapItem -
     304             : 
     305        9411 : TYPEINIT1_AUTOFACTORY(XLineCapItem, SfxEnumItem);
     306             : 
     307        3708 : XLineCapItem::XLineCapItem(com::sun::star::drawing::LineCap eLineCap)
     308        3708 : :   SfxEnumItem(XATTR_LINECAP, sal::static_int_cast< sal_uInt16 >(eLineCap))
     309             : {
     310        3708 : }
     311             : 
     312           0 : XLineCapItem::XLineCapItem( SvStream& rIn )
     313           0 : :   SfxEnumItem(XATTR_LINECAP, rIn)
     314             : {
     315           0 : }
     316             : 
     317           0 : sal_uInt16 XLineCapItem::GetVersion( sal_uInt16 /*nFileFormatVersion*/) const
     318             : {
     319           0 :     return 1;
     320             : }
     321             : 
     322           0 : SfxPoolItem* XLineCapItem::Create( SvStream& rIn, sal_uInt16 nVer ) const
     323             : {
     324           0 :     XLineCapItem* pRet = new XLineCapItem( rIn );
     325             : 
     326           0 :     if(nVer < 1)
     327           0 :         pRet->SetValue(com::sun::star::drawing::LineCap_BUTT);
     328             : 
     329           0 :     return pRet;
     330             : }
     331             : 
     332         451 : SfxPoolItem* XLineCapItem::Clone(SfxItemPool* /*pPool*/) const
     333             : {
     334         451 :     return new XLineCapItem( *this );
     335             : }
     336             : 
     337           0 : SfxItemPresentation XLineCapItem::GetPresentation( SfxItemPresentation ePres, SfxMapUnit /*eCoreUnit*/,
     338             :                                                      SfxMapUnit /*ePresUnit*/, OUString& rText, const IntlWrapper*) const
     339             : {
     340           0 :     rText = OUString();
     341             : 
     342           0 :     switch( ePres )
     343             :     {
     344           0 :         case SFX_ITEM_PRESENTATION_NONE: return ePres;
     345             : 
     346             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     347             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     348             :         {
     349           0 :             sal_uInt16 nId = 0;
     350             : 
     351           0 :             switch( GetValue() )
     352             :             {
     353             :                 default: /*com::sun::star::drawing::LineCap_BUTT*/
     354           0 :                     nId = RID_SVXSTR_LINECAP_BUTT;
     355           0 :                 break;
     356             : 
     357             :                 case(com::sun::star::drawing::LineCap_ROUND):
     358           0 :                     nId = RID_SVXSTR_LINECAP_ROUND;
     359           0 :                 break;
     360             : 
     361             :                 case(com::sun::star::drawing::LineCap_SQUARE):
     362           0 :                     nId = RID_SVXSTR_LINECAP_SQUARE;
     363           0 :                 break;
     364             :             }
     365             : 
     366           0 :             if( nId )
     367           0 :                 rText = SVX_RESSTR( nId );
     368             : 
     369           0 :             return ePres;
     370             :         }
     371             :         default:
     372           0 :             return SFX_ITEM_PRESENTATION_NONE;
     373             :     }
     374             : }
     375             : 
     376         443 : bool XLineCapItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
     377             : {
     378         443 :     const com::sun::star::drawing::LineCap eCap(GetValue());
     379         443 :     rVal <<= eCap;
     380         443 :     return true;
     381             : }
     382             : 
     383           1 : bool XLineCapItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/)
     384             : {
     385             :     com::sun::star::drawing::LineCap eUnoCap;
     386             : 
     387           1 :     if(!(rVal >>= eUnoCap))
     388             :     {
     389             :         // also try an int (for Basic)
     390           0 :         sal_Int32 nLJ(0);
     391             : 
     392           0 :         if(!(rVal >>= nLJ))
     393             :         {
     394           0 :             return false;
     395             :         }
     396             : 
     397           0 :         eUnoCap = (com::sun::star::drawing::LineCap)nLJ;
     398             :     }
     399             : 
     400             :     OSL_ENSURE(com::sun::star::drawing::LineCap_BUTT == eUnoCap
     401             :         || com::sun::star::drawing::LineCap_ROUND == eUnoCap
     402             :         || com::sun::star::drawing::LineCap_SQUARE == eUnoCap, "Unknown enum value in XATTR_LINECAP (!)");
     403             : 
     404           1 :     SetValue(sal::static_int_cast< sal_uInt16 >(eUnoCap));
     405             : 
     406           1 :     return true;
     407             : }
     408             : 
     409           0 : sal_uInt16 XLineCapItem::GetValueCount() const
     410             : {
     411             :     // don't forget to update the api interface also
     412           0 :     return 3;
     413             : }
     414             : 
     415       13477 : com::sun::star::drawing::LineCap XLineCapItem::GetValue() const
     416             : {
     417       13477 :     const com::sun::star::drawing::LineCap eRetval((com::sun::star::drawing::LineCap)SfxEnumItem::GetValue());
     418             :     OSL_ENSURE(com::sun::star::drawing::LineCap_BUTT == eRetval
     419             :         || com::sun::star::drawing::LineCap_ROUND == eRetval
     420             :         || com::sun::star::drawing::LineCap_SQUARE == eRetval, "Unknown enum value in XATTR_LINECAP (!)");
     421             : 
     422       13477 :     return eRetval;
     423             : }
     424             : 
     425             : // class XFillTransparenceItem
     426             : 
     427       67654 : TYPEINIT1_AUTOFACTORY(XFillTransparenceItem, SfxUInt16Item);
     428             : 
     429        3330 : XFillTransparenceItem::XFillTransparenceItem(sal_uInt16 nFillTransparence) :
     430        3330 :     SfxUInt16Item(XATTR_FILLTRANSPARENCE, nFillTransparence)
     431             : {
     432        3330 : }
     433             : 
     434           0 : XFillTransparenceItem::XFillTransparenceItem(SvStream& rIn) :
     435           0 :     SfxUInt16Item(XATTR_FILLTRANSPARENCE, rIn)
     436             : {
     437           0 : }
     438             : 
     439       13587 : SfxPoolItem* XFillTransparenceItem::Clone(SfxItemPool* /*pPool*/) const
     440             : {
     441       13587 :     return new XFillTransparenceItem(*this);
     442             : }
     443             : 
     444           0 : SfxPoolItem* XFillTransparenceItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const
     445             : {
     446           0 :     return new XFillTransparenceItem(rIn);
     447             : }
     448             : 
     449           0 : SfxItemPresentation XFillTransparenceItem::GetPresentation
     450             : (
     451             :     SfxItemPresentation ePres,
     452             :     SfxMapUnit          /*eCoreUnit*/,
     453             :     SfxMapUnit          /*ePresUnit*/,
     454             :     OUString&           rText, const IntlWrapper *
     455             : )   const
     456             : {
     457           0 :     rText = OUString();
     458             : 
     459           0 :     switch ( ePres )
     460             :     {
     461             :         case SFX_ITEM_PRESENTATION_NONE:
     462           0 :             return ePres;
     463             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     464           0 :             rText = OUString( ResId( RID_SVXSTR_TRANSPARENCE, DIALOG_MGR() ) ) + ": ";
     465             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     466           0 :             rText += unicode::formatPercent(GetValue(),
     467           0 :                 Application::GetSettings().GetUILanguageTag());
     468           0 :             return ePres;
     469             :         default:
     470           0 :             return SFX_ITEM_PRESENTATION_NONE;
     471             :     }
     472             : }
     473             : 
     474             : // class XFormTextShadowTranspItem
     475             : 
     476        7854 : TYPEINIT1_AUTOFACTORY(XFormTextShadowTranspItem, SfxUInt16Item);
     477             : 
     478        2841 : XFormTextShadowTranspItem::XFormTextShadowTranspItem(sal_uInt16 nShdwTransparence) :
     479        2841 :     SfxUInt16Item(XATTR_FORMTXTSHDWTRANSP, nShdwTransparence)
     480             : {
     481        2841 : }
     482             : 
     483           0 : XFormTextShadowTranspItem::XFormTextShadowTranspItem(SvStream& rIn) :
     484           0 :     SfxUInt16Item(XATTR_FORMTXTSHDWTRANSP, rIn)
     485             : {
     486           0 : }
     487             : 
     488          12 : SfxPoolItem* XFormTextShadowTranspItem::Clone(SfxItemPool* /*pPool*/) const
     489             : {
     490          12 :     return new XFormTextShadowTranspItem(*this);
     491             : }
     492             : 
     493           0 : SfxPoolItem* XFormTextShadowTranspItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const
     494             : {
     495           0 :     return new XFormTextShadowTranspItem(rIn);
     496             : }
     497             : 
     498             : // class XFillGradientStepCountItem
     499             : 
     500        7865 : TYPEINIT1_AUTOFACTORY(XGradientStepCountItem, SfxUInt16Item);
     501             : 
     502        2841 : XGradientStepCountItem::XGradientStepCountItem( sal_uInt16 nStepCount ) :
     503        2841 :     SfxUInt16Item( XATTR_GRADIENTSTEPCOUNT, nStepCount )
     504             : {
     505        2841 : }
     506             : 
     507           0 : XGradientStepCountItem::XGradientStepCountItem( SvStream& rIn ) :
     508           0 :     SfxUInt16Item( XATTR_GRADIENTSTEPCOUNT, rIn )
     509             : {
     510           0 : }
     511             : 
     512          12 : SfxPoolItem* XGradientStepCountItem::Clone( SfxItemPool* /*pPool*/) const
     513             : {
     514          12 :     return new XGradientStepCountItem( *this );
     515             : }
     516             : 
     517           0 : SfxPoolItem* XGradientStepCountItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const
     518             : {
     519           0 :     return new XGradientStepCountItem( rIn );
     520             : }
     521             : 
     522           0 : SfxItemPresentation XGradientStepCountItem::GetPresentation
     523             : (
     524             :     SfxItemPresentation ePres,
     525             :     SfxMapUnit          /*eCoreUnit*/,
     526             :     SfxMapUnit          /*ePresUnit*/,
     527             :     OUString&           rText, const IntlWrapper *
     528             : )   const
     529             : {
     530           0 :     rText = OUString();
     531             : 
     532           0 :     switch ( ePres )
     533             :     {
     534             :         case SFX_ITEM_PRESENTATION_NONE:
     535           0 :             return ePres;
     536             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     537             : //          rText = OUString( ResId( RID_SVXSTR_GRADIENTSTEPCOUNT, DIALOG_MGR() ) ) + ": ";
     538             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     539           0 :             rText += OUString::number(GetValue());
     540           0 :             return ePres;
     541             :         default:
     542           0 :             return SFX_ITEM_PRESENTATION_NONE;
     543             :     }
     544             : }
     545             : 
     546             : // class XFillBmpTileItem
     547             : 
     548        8682 : TYPEINIT1_AUTOFACTORY( XFillBmpTileItem, SfxBoolItem );
     549             : 
     550       14199 : XFillBmpTileItem::XFillBmpTileItem( bool bTile ) :
     551       14199 :             SfxBoolItem( XATTR_FILLBMP_TILE, bTile )
     552             : {
     553       14199 : }
     554             : 
     555           0 : XFillBmpTileItem::XFillBmpTileItem( SvStream& rIn ) :
     556           0 :             SfxBoolItem( XATTR_FILLBMP_TILE, rIn )
     557             : {
     558           0 : }
     559             : 
     560        1041 : SfxPoolItem* XFillBmpTileItem::Clone( SfxItemPool* /*pPool*/) const
     561             : {
     562        1041 :     return new XFillBmpTileItem( *this );
     563             : }
     564             : 
     565           0 : SfxPoolItem* XFillBmpTileItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     566             : {
     567           0 :     return new XFillBmpTileItem( rIn );
     568             : }
     569             : 
     570           0 : SfxItemPresentation XFillBmpTileItem::GetPresentation
     571             : (
     572             :     SfxItemPresentation ePres,
     573             :     SfxMapUnit          /*eCoreUnit*/,
     574             :     SfxMapUnit          /*ePresUnit*/,
     575             :     OUString&           rText, const IntlWrapper *
     576             : )   const
     577             : {
     578           0 :     rText = OUString();
     579             : 
     580           0 :     switch ( ePres )
     581             :     {
     582             :         case SFX_ITEM_PRESENTATION_NONE:
     583           0 :             return ePres;
     584             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     585             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     586           0 :             return ePres;
     587             :         default:
     588           0 :             return SFX_ITEM_PRESENTATION_NONE;
     589             :     }
     590             : }
     591             : 
     592             : // class XFillBmpTilePosItem
     593             : 
     594       65238 : TYPEINIT1_AUTOFACTORY( XFillBmpPosItem, SfxEnumItem );
     595             : 
     596        2841 : XFillBmpPosItem::XFillBmpPosItem( RECT_POINT eRP ) :
     597        2841 :     SfxEnumItem( XATTR_FILLBMP_POS, sal::static_int_cast< sal_uInt16 >( eRP ) )
     598             : {
     599        2841 : }
     600             : 
     601           0 : XFillBmpPosItem::XFillBmpPosItem( SvStream& rIn ) :
     602           0 :             SfxEnumItem( XATTR_FILLBMP_POS, rIn )
     603             : {
     604           0 : }
     605             : 
     606       12420 : SfxPoolItem* XFillBmpPosItem::Clone( SfxItemPool* /*pPool*/) const
     607             : {
     608       12420 :     return new XFillBmpPosItem( *this );
     609             : }
     610             : 
     611           0 : SfxPoolItem* XFillBmpPosItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     612             : {
     613           0 :     return new XFillBmpPosItem( rIn );
     614             : }
     615             : 
     616           0 : SfxItemPresentation XFillBmpPosItem::GetPresentation
     617             : (
     618             :     SfxItemPresentation ePres,
     619             :     SfxMapUnit          /*eCoreUnit*/,
     620             :     SfxMapUnit          /*ePresUnit*/,
     621             :     OUString&           rText, const IntlWrapper *
     622             : )   const
     623             : {
     624           0 :     rText = OUString();
     625             : 
     626           0 :     switch ( ePres )
     627             :     {
     628             :         case SFX_ITEM_PRESENTATION_NONE:
     629           0 :             return ePres;
     630             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     631             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     632           0 :             return ePres;
     633             :         default:
     634           0 :             return SFX_ITEM_PRESENTATION_NONE;
     635             :     }
     636             : }
     637             : 
     638           0 : sal_uInt16 XFillBmpPosItem::GetValueCount() const
     639             : {
     640           0 :     return 9;
     641             : }
     642             : 
     643             : // class XFillBmpTileSizeXItem
     644             : 
     645       65278 : TYPEINIT1_AUTOFACTORY( XFillBmpSizeXItem, SfxMetricItem );
     646             : 
     647        2841 : XFillBmpSizeXItem::XFillBmpSizeXItem( long nSizeX ) :
     648        2841 :             SfxMetricItem( XATTR_FILLBMP_SIZEX, nSizeX )
     649             : {
     650        2841 : }
     651             : 
     652           0 : XFillBmpSizeXItem::XFillBmpSizeXItem( SvStream& rIn ) :
     653           0 :             SfxMetricItem( XATTR_FILLBMP_SIZEX, rIn )
     654             : {
     655           0 : }
     656             : 
     657       12738 : SfxPoolItem* XFillBmpSizeXItem::Clone( SfxItemPool* /*pPool*/) const
     658             : {
     659       12738 :     return new XFillBmpSizeXItem( *this );
     660             : }
     661             : 
     662           0 : SfxPoolItem* XFillBmpSizeXItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     663             : {
     664           0 :     return new XFillBmpSizeXItem( rIn );
     665             : }
     666             : 
     667           0 : SfxItemPresentation XFillBmpSizeXItem::GetPresentation
     668             : (
     669             :     SfxItemPresentation ePres,
     670             :     SfxMapUnit          /*eCoreUnit*/,
     671             :     SfxMapUnit          /*ePresUnit*/,
     672             :     OUString&           rText, const IntlWrapper *
     673             : )   const
     674             : {
     675           0 :     rText = OUString();
     676             : 
     677           0 :     switch ( ePres )
     678             :     {
     679             :         case SFX_ITEM_PRESENTATION_NONE:
     680           0 :             return ePres;
     681             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     682             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     683           0 :             return ePres;
     684             :         default:
     685           0 :             return SFX_ITEM_PRESENTATION_NONE;
     686             :     }
     687             : }
     688             : 
     689           0 : bool XFillBmpSizeXItem::HasMetrics() const
     690             : {
     691           0 :     return GetValue() > 0L;
     692             : }
     693             : 
     694             : // class XFillBmpTileSizeYItem
     695             : 
     696       65278 : TYPEINIT1_AUTOFACTORY( XFillBmpSizeYItem, SfxMetricItem );
     697             : 
     698        2841 : XFillBmpSizeYItem::XFillBmpSizeYItem( long nSizeY ) :
     699        2841 :             SfxMetricItem( XATTR_FILLBMP_SIZEY, nSizeY )
     700             : {
     701        2841 : }
     702             : 
     703           0 : XFillBmpSizeYItem::XFillBmpSizeYItem( SvStream& rIn ) :
     704           0 :             SfxMetricItem( XATTR_FILLBMP_SIZEY, rIn )
     705             : {
     706           0 : }
     707             : 
     708       12736 : SfxPoolItem* XFillBmpSizeYItem::Clone( SfxItemPool* /*pPool*/) const
     709             : {
     710       12736 :     return new XFillBmpSizeYItem( *this );
     711             : }
     712             : 
     713           0 : SfxPoolItem* XFillBmpSizeYItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     714             : {
     715           0 :     return new XFillBmpSizeYItem( rIn );
     716             : }
     717             : 
     718           0 : SfxItemPresentation XFillBmpSizeYItem::GetPresentation
     719             : (
     720             :     SfxItemPresentation ePres,
     721             :     SfxMapUnit          /*eCoreUnit*/,
     722             :     SfxMapUnit          /*ePresUnit*/,
     723             :     OUString&           rText, const IntlWrapper *
     724             : )   const
     725             : {
     726           0 :     rText = OUString();
     727             : 
     728           0 :     switch ( ePres )
     729             :     {
     730             :         case SFX_ITEM_PRESENTATION_NONE:
     731           0 :             return ePres;
     732             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     733             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     734           0 :             return ePres;
     735             :         default:
     736           0 :             return SFX_ITEM_PRESENTATION_NONE;
     737             :     }
     738             : }
     739             : 
     740           0 : bool XFillBmpSizeYItem::HasMetrics() const
     741             : {
     742           0 :     return GetValue() > 0L;
     743             : }
     744             : 
     745             : // class XFillBmpTileLogItem
     746             : 
     747       65272 : TYPEINIT1_AUTOFACTORY( XFillBmpSizeLogItem, SfxBoolItem );
     748             : 
     749        2841 : XFillBmpSizeLogItem::XFillBmpSizeLogItem( bool bLog ) :
     750        2841 :             SfxBoolItem( XATTR_FILLBMP_SIZELOG, bLog )
     751             : {
     752        2841 : }
     753             : 
     754           0 : XFillBmpSizeLogItem::XFillBmpSizeLogItem( SvStream& rIn ) :
     755           0 :             SfxBoolItem( XATTR_FILLBMP_SIZELOG, rIn )
     756             : {
     757           0 : }
     758             : 
     759       12364 : SfxPoolItem* XFillBmpSizeLogItem::Clone( SfxItemPool* /*pPool*/) const
     760             : {
     761       12364 :     return new XFillBmpSizeLogItem( *this );
     762             : }
     763             : 
     764           0 : SfxPoolItem* XFillBmpSizeLogItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     765             : {
     766           0 :     return new XFillBmpSizeLogItem( rIn );
     767             : }
     768             : 
     769           0 : SfxItemPresentation XFillBmpSizeLogItem::GetPresentation
     770             : (
     771             :     SfxItemPresentation ePres,
     772             :     SfxMapUnit          /*eCoreUnit*/,
     773             :     SfxMapUnit          /*ePresUnit*/,
     774             :     OUString&           rText, const IntlWrapper *
     775             : )   const
     776             : {
     777           0 :     rText = OUString();
     778             : 
     779           0 :     switch ( ePres )
     780             :     {
     781             :         case SFX_ITEM_PRESENTATION_NONE:
     782           0 :             return ePres;
     783             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     784             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     785           0 :             return ePres;
     786             :         default:
     787           0 :             return SFX_ITEM_PRESENTATION_NONE;
     788             :     }
     789             : }
     790             : 
     791             : // class XFillBmpTileOffXItem
     792             : 
     793       65252 : TYPEINIT1_AUTOFACTORY( XFillBmpTileOffsetXItem, SfxUInt16Item );
     794             : 
     795        2841 : XFillBmpTileOffsetXItem::XFillBmpTileOffsetXItem( sal_uInt16 nOffX ) :
     796        2841 :             SfxUInt16Item( XATTR_FILLBMP_TILEOFFSETX, nOffX )
     797             : {
     798        2841 : }
     799             : 
     800           0 : XFillBmpTileOffsetXItem::XFillBmpTileOffsetXItem( SvStream& rIn ) :
     801           0 :             SfxUInt16Item( XATTR_FILLBMP_TILEOFFSETX, rIn )
     802             : {
     803           0 : }
     804             : 
     805       12444 : SfxPoolItem* XFillBmpTileOffsetXItem::Clone( SfxItemPool* /*pPool*/) const
     806             : {
     807       12444 :     return new XFillBmpTileOffsetXItem( *this );
     808             : }
     809             : 
     810           0 : SfxPoolItem* XFillBmpTileOffsetXItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     811             : {
     812           0 :     return new XFillBmpTileOffsetXItem( rIn );
     813             : }
     814             : 
     815           0 : SfxItemPresentation XFillBmpTileOffsetXItem::GetPresentation
     816             : (
     817             :     SfxItemPresentation ePres,
     818             :     SfxMapUnit          /*eCoreUnit*/,
     819             :     SfxMapUnit          /*ePresUnit*/,
     820             :     OUString&           rText, const IntlWrapper *
     821             : )   const
     822             : {
     823           0 :     rText = OUString();
     824             : 
     825           0 :     switch ( ePres )
     826             :     {
     827             :         case SFX_ITEM_PRESENTATION_NONE:
     828           0 :             return ePres;
     829             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     830             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     831           0 :             return ePres;
     832             :         default:
     833           0 :             return SFX_ITEM_PRESENTATION_NONE;
     834             :     }
     835             : }
     836             : 
     837             : // class XFillBmpTileOffYItem
     838             : 
     839       65252 : TYPEINIT1_AUTOFACTORY( XFillBmpTileOffsetYItem, SfxUInt16Item );
     840             : 
     841        2841 : XFillBmpTileOffsetYItem::XFillBmpTileOffsetYItem( sal_uInt16 nOffY ) :
     842        2841 :             SfxUInt16Item( XATTR_FILLBMP_TILEOFFSETY, nOffY )
     843             : {
     844        2841 : }
     845             : 
     846           0 : XFillBmpTileOffsetYItem::XFillBmpTileOffsetYItem( SvStream& rIn ) :
     847           0 :             SfxUInt16Item( XATTR_FILLBMP_TILEOFFSETY, rIn )
     848             : {
     849           0 : }
     850             : 
     851       12444 : SfxPoolItem* XFillBmpTileOffsetYItem::Clone( SfxItemPool* /*pPool*/) const
     852             : {
     853       12444 :     return new XFillBmpTileOffsetYItem( *this );
     854             : }
     855             : 
     856           0 : SfxPoolItem* XFillBmpTileOffsetYItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     857             : {
     858           0 :     return new XFillBmpTileOffsetYItem( rIn );
     859             : }
     860             : 
     861           0 : SfxItemPresentation XFillBmpTileOffsetYItem::GetPresentation
     862             : (
     863             :     SfxItemPresentation ePres,
     864             :     SfxMapUnit          /*eCoreUnit*/,
     865             :     SfxMapUnit          /*ePresUnit*/,
     866             :     OUString&           rText, const IntlWrapper *
     867             : )   const
     868             : {
     869           0 :     rText = OUString();
     870             : 
     871           0 :     switch ( ePres )
     872             :     {
     873             :         case SFX_ITEM_PRESENTATION_NONE:
     874           0 :             return ePres;
     875             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     876             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     877           0 :             return ePres;
     878             :         default:
     879           0 :             return SFX_ITEM_PRESENTATION_NONE;
     880             :     }
     881             : }
     882             : 
     883             : // class XFillBmpStretchItem
     884             : 
     885        8717 : TYPEINIT1_AUTOFACTORY( XFillBmpStretchItem, SfxBoolItem );
     886             : 
     887       14199 : XFillBmpStretchItem::XFillBmpStretchItem( bool bStretch ) :
     888       14199 :             SfxBoolItem( XATTR_FILLBMP_STRETCH, bStretch )
     889             : {
     890       14199 : }
     891             : 
     892           0 : XFillBmpStretchItem::XFillBmpStretchItem( SvStream& rIn ) :
     893           0 :             SfxBoolItem( XATTR_FILLBMP_STRETCH, rIn )
     894             : {
     895           0 : }
     896             : 
     897        1143 : SfxPoolItem* XFillBmpStretchItem::Clone( SfxItemPool* /*pPool*/) const
     898             : {
     899        1143 :     return new XFillBmpStretchItem( *this );
     900             : }
     901             : 
     902           0 : SfxPoolItem* XFillBmpStretchItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     903             : {
     904           0 :     return new XFillBmpStretchItem( rIn );
     905             : }
     906             : 
     907           0 : SfxItemPresentation XFillBmpStretchItem::GetPresentation
     908             : (
     909             :     SfxItemPresentation ePres,
     910             :     SfxMapUnit          /*eCoreUnit*/,
     911             :     SfxMapUnit          /*ePresUnit*/,
     912             :     OUString&           rText, const IntlWrapper *
     913             : )   const
     914             : {
     915           0 :     rText = OUString();
     916             : 
     917           0 :     switch ( ePres )
     918             :     {
     919             :         case SFX_ITEM_PRESENTATION_NONE:
     920           0 :             return ePres;
     921             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     922             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     923           0 :             return ePres;
     924             :         default:
     925           0 :             return SFX_ITEM_PRESENTATION_NONE;
     926             :     }
     927             : }
     928             : 
     929             : // class XFillBmpTileOffPosXItem
     930             : 
     931       65252 : TYPEINIT1_AUTOFACTORY( XFillBmpPosOffsetXItem, SfxUInt16Item );
     932             : 
     933        2841 : XFillBmpPosOffsetXItem::XFillBmpPosOffsetXItem( sal_uInt16 nOffPosX ) :
     934        2841 :             SfxUInt16Item( XATTR_FILLBMP_POSOFFSETX, nOffPosX )
     935             : {
     936        2841 : }
     937             : 
     938           0 : XFillBmpPosOffsetXItem::XFillBmpPosOffsetXItem( SvStream& rIn ) :
     939           0 :             SfxUInt16Item( XATTR_FILLBMP_POSOFFSETX, rIn )
     940             : {
     941           0 : }
     942             : 
     943       12440 : SfxPoolItem* XFillBmpPosOffsetXItem::Clone( SfxItemPool* /*pPool*/) const
     944             : {
     945       12440 :     return new XFillBmpPosOffsetXItem( *this );
     946             : }
     947             : 
     948           0 : SfxPoolItem* XFillBmpPosOffsetXItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     949             : {
     950           0 :     return new XFillBmpPosOffsetXItem( rIn );
     951             : }
     952             : 
     953           0 : SfxItemPresentation XFillBmpPosOffsetXItem::GetPresentation
     954             : (
     955             :     SfxItemPresentation ePres,
     956             :     SfxMapUnit          /*eCoreUnit*/,
     957             :     SfxMapUnit          /*ePresUnit*/,
     958             :     OUString&           rText, const IntlWrapper *
     959             : )   const
     960             : {
     961           0 :     rText = OUString();
     962             : 
     963           0 :     switch ( ePres )
     964             :     {
     965             :         case SFX_ITEM_PRESENTATION_NONE:
     966           0 :             return ePres;
     967             :         case SFX_ITEM_PRESENTATION_COMPLETE:
     968             :         case SFX_ITEM_PRESENTATION_NAMELESS:
     969           0 :             return ePres;
     970             :         default:
     971           0 :             return SFX_ITEM_PRESENTATION_NONE;
     972             :     }
     973             : }
     974             : 
     975             : // class XFillBmpTileOffPosYItem
     976             : 
     977       65252 : TYPEINIT1_AUTOFACTORY( XFillBmpPosOffsetYItem, SfxUInt16Item );
     978             : 
     979        2841 : XFillBmpPosOffsetYItem::XFillBmpPosOffsetYItem( sal_uInt16 nOffPosY ) :
     980        2841 :             SfxUInt16Item( XATTR_FILLBMP_POSOFFSETY, nOffPosY )
     981             : {
     982        2841 : }
     983             : 
     984           0 : XFillBmpPosOffsetYItem::XFillBmpPosOffsetYItem( SvStream& rIn ) :
     985           0 :             SfxUInt16Item( XATTR_FILLBMP_POSOFFSETY, rIn )
     986             : {
     987           0 : }
     988             : 
     989       12438 : SfxPoolItem* XFillBmpPosOffsetYItem::Clone( SfxItemPool* /*pPool*/) const
     990             : {
     991       12438 :     return new XFillBmpPosOffsetYItem( *this );
     992             : }
     993             : 
     994           0 : SfxPoolItem* XFillBmpPosOffsetYItem::Create( SvStream& rIn, sal_uInt16 /*nVer*/) const
     995             : {
     996           0 :     return new XFillBmpPosOffsetYItem( rIn );
     997             : }
     998             : 
     999           0 : SfxItemPresentation XFillBmpPosOffsetYItem::GetPresentation
    1000             : (
    1001             :     SfxItemPresentation ePres,
    1002             :     SfxMapUnit          /*eCoreUnit*/,
    1003             :     SfxMapUnit          /*ePresUnit*/,
    1004             :     OUString&           rText, const IntlWrapper *
    1005             : )   const
    1006             : {
    1007           0 :     rText = OUString();
    1008             : 
    1009           0 :     switch ( ePres )
    1010             :     {
    1011             :         case SFX_ITEM_PRESENTATION_NONE:
    1012           0 :             return ePres;
    1013             :         case SFX_ITEM_PRESENTATION_COMPLETE:
    1014             :         case SFX_ITEM_PRESENTATION_NAMELESS:
    1015           0 :             return ePres;
    1016             :         default:
    1017           0 :             return SFX_ITEM_PRESENTATION_NONE;
    1018             :     }
    1019             : }
    1020             : 
    1021             : // class XFillBackgroundItem
    1022             : 
    1023       65252 : TYPEINIT1_AUTOFACTORY(XFillBackgroundItem, SfxBoolItem);
    1024             : 
    1025        2841 : XFillBackgroundItem::XFillBackgroundItem( bool bFill ) :
    1026        2841 :     SfxBoolItem( XATTR_FILLBACKGROUND, bFill )
    1027             : {
    1028        2841 : }
    1029             : 
    1030           0 : XFillBackgroundItem::XFillBackgroundItem( SvStream& rIn ) :
    1031           0 :     SfxBoolItem( XATTR_FILLBACKGROUND, rIn )
    1032             : {
    1033           0 : }
    1034             : 
    1035       12424 : SfxPoolItem* XFillBackgroundItem::Clone( SfxItemPool* /*pPool*/) const
    1036             : {
    1037       12424 :     return new XFillBackgroundItem( *this );
    1038             : }
    1039             : 
    1040           0 : SfxPoolItem* XFillBackgroundItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const
    1041             : {
    1042           0 :     return new XFillBackgroundItem( rIn );
    1043             : }
    1044             : 
    1045           0 : SfxItemPresentation XFillBackgroundItem::GetPresentation( SfxItemPresentation ePres, SfxMapUnit /*eCoreUnit*/,
    1046             :                                                           SfxMapUnit /*ePresUnit*/, OUString& rText, const IntlWrapper*) const
    1047             : {
    1048           0 :     rText = OUString();
    1049             : 
    1050           0 :     switch( ePres )
    1051             :     {
    1052             :         case SFX_ITEM_PRESENTATION_NONE:
    1053           0 :             return ePres;
    1054             : 
    1055             :         case SFX_ITEM_PRESENTATION_COMPLETE:
    1056             :         case SFX_ITEM_PRESENTATION_NAMELESS:
    1057           0 :             return ePres;
    1058             :         default:
    1059           0 :             return SFX_ITEM_PRESENTATION_NONE;
    1060             :     }
    1061             : }
    1062             : 
    1063             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10