LCOV - code coverage report
Current view: top level - sc/source/core/tool - hints.cxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 54 0.0 %
Date: 2014-04-14 Functions: 0 58 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             : #include "hints.hxx"
      21             : 
      22           0 : TYPEINIT1(ScPaintHint, SfxHint);
      23           0 : TYPEINIT1(ScUpdateRefHint, SfxHint);
      24           0 : TYPEINIT1(ScPointerChangedHint, SfxHint);
      25           0 : TYPEINIT1(ScLinkRefreshedHint, SfxHint);
      26           0 : TYPEINIT1(ScAutoStyleHint, SfxHint);
      27           0 : TYPEINIT1(ScDBRangeRefreshedHint, SfxHint);
      28           0 : TYPEINIT1(ScDataPilotModifiedHint, SfxHint);
      29             : 
      30             : // ScPaintHint - info what has to be repainted
      31             : 
      32           0 : ScPaintHint::ScPaintHint( const ScRange& rRng, sal_uInt16 nPaint ) :
      33             :     aRange( rRng ),
      34             :     nParts( nPaint ),
      35           0 :     bPrint( true )
      36             : {
      37           0 : }
      38             : 
      39           0 : ScPaintHint::~ScPaintHint()
      40             : {
      41           0 : }
      42             : 
      43             : // ScUpdateRefHint - update references
      44             : 
      45           0 : ScUpdateRefHint::ScUpdateRefHint( UpdateRefMode eMode, const ScRange& rR,
      46             :                                     SCsCOL nX, SCsROW nY, SCsTAB nZ ) :
      47             :     eUpdateRefMode( eMode ),
      48             :     aRange( rR ),
      49             :     nDx( nX ),
      50             :     nDy( nY ),
      51           0 :     nDz( nZ )
      52             : {
      53           0 : }
      54             : 
      55           0 : ScUpdateRefHint::~ScUpdateRefHint()
      56             : {
      57           0 : }
      58             : 
      59             : // ScPointerChangedHint - pointer has become invalid
      60             : 
      61           0 : ScPointerChangedHint::~ScPointerChangedHint()
      62             : {
      63           0 : }
      64             : 
      65             : //      ScLinkRefreshedHint - a link has been refreshed
      66             : 
      67           0 : ScLinkRefreshedHint::ScLinkRefreshedHint() :
      68             :     nLinkType( SC_LINKREFTYPE_NONE ),
      69           0 :     nDdeMode( 0 )
      70             : {
      71           0 : }
      72             : 
      73           0 : ScLinkRefreshedHint::~ScLinkRefreshedHint()
      74             : {
      75           0 : }
      76             : 
      77           0 : void ScLinkRefreshedHint::SetSheetLink( const OUString& rSourceUrl )
      78             : {
      79           0 :     nLinkType = SC_LINKREFTYPE_SHEET;
      80           0 :     aUrl = rSourceUrl;
      81           0 : }
      82             : 
      83           0 : void ScLinkRefreshedHint::SetDdeLink(
      84             :             const OUString& rA, const OUString& rT, const OUString& rI, sal_uInt8 nM )
      85             : {
      86           0 :     nLinkType = SC_LINKREFTYPE_DDE;
      87           0 :     aDdeAppl  = rA;
      88           0 :     aDdeTopic = rT;
      89           0 :     aDdeItem  = rI;
      90           0 :     nDdeMode  = nM;
      91           0 : }
      92             : 
      93           0 : void ScLinkRefreshedHint::SetAreaLink( const ScAddress& rPos )
      94             : {
      95           0 :     nLinkType = SC_LINKREFTYPE_AREA;
      96           0 :     aDestPos = rPos;
      97           0 : }
      98             : 
      99             : //      ScAutoStyleHint - STYLE() function has been called
     100             : 
     101           0 : ScAutoStyleHint::ScAutoStyleHint( const ScRange& rR, const OUString& rSt1,
     102             :                                         sal_uLong nT, const OUString& rSt2 ) :
     103             :     aRange( rR ),
     104             :     aStyle1( rSt1 ),
     105             :     aStyle2( rSt2 ),
     106           0 :     nTimeout( nT )
     107             : {
     108           0 : }
     109             : 
     110           0 : ScAutoStyleHint::~ScAutoStyleHint()
     111             : {
     112           0 : }
     113             : 
     114           0 : ScDBRangeRefreshedHint::ScDBRangeRefreshedHint( const ScImportParam& rP )
     115           0 :     : aParam(rP)
     116             : {
     117           0 : }
     118           0 : ScDBRangeRefreshedHint::~ScDBRangeRefreshedHint()
     119             : {
     120           0 : }
     121             : 
     122           0 : ScDataPilotModifiedHint::ScDataPilotModifiedHint( const OUString& rName )
     123           0 :     : maName(rName)
     124             : {
     125           0 : }
     126           0 : ScDataPilotModifiedHint::~ScDataPilotModifiedHint()
     127             : {
     128           0 : }
     129             : 
     130             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10