LibreOffice Module sc (master)  1
hints.cxx
Go to the documentation of this file.
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 // ScPaintHint - info what has to be repainted
23 
25  aRange( rRng ),
26  nParts( nPaint ),
27  bPrint( true )
28 {
29 }
30 
32 {
33 }
34 
35 // ScUpdateRefHint - update references
36 
38  SCCOL nX, SCROW nY, SCTAB nZ ) :
39  eUpdateRefMode( eMode ),
40  aRange( rR ),
41  nDx( nX ),
42  nDy( nY ),
43  nDz( nZ )
44 {
45 }
46 
48 {
49 }
50 
51 // ScLinkRefreshedHint - a link has been refreshed
52 
54  nLinkType( ScLinkRefType::NONE )
55 {
56 }
57 
59 {
60 }
61 
62 void ScLinkRefreshedHint::SetSheetLink( const OUString& rSourceUrl )
63 {
65  aUrl = rSourceUrl;
66 }
67 
69  const OUString& rA, const OUString& rT, const OUString& rI )
70 {
72  aDdeAppl = rA;
73  aDdeTopic = rT;
74  aDdeItem = rI;
75 }
76 
78 {
80  aDestPos = rPos;
81 }
82 
83 // ScAutoStyleHint - STYLE() function has been called
84 
85 ScAutoStyleHint::ScAutoStyleHint( const ScRange& rR, const OUString& rSt1,
86  sal_uLong nT, const OUString& rSt2 ) :
87  aRange( rR ),
88  aStyle1( rSt1 ),
89  aStyle2( rSt2 ),
90  nTimeout( nT )
91 {
92 }
93 
95 {
96 }
97 
99  : aParam(rP)
100 {
101 }
103 {
104 }
105 
107  : maName(rName)
108 {
109 }
111 {
112 }
113 
114 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual ~ScUpdateRefHint() override
Definition: hints.cxx:47
OUString aDdeTopic
Definition: hints.hxx:80
OUString aUrl
Definition: hints.hxx:78
sal_uIntPtr sal_uLong
ScDBRangeRefreshedHint(const ScImportParam &rP)
Definition: hints.cxx:98
ScAddress aDestPos
Definition: hints.hxx:82
ScLinkRefType nLinkType
Definition: hints.hxx:77
OUString aDdeAppl
Definition: hints.hxx:79
void SetDdeLink(const OUString &rA, const OUString &rT, const OUString &rI)
Definition: hints.cxx:68
virtual ~ScPaintHint() override
Definition: hints.cxx:31
OUString aDdeItem
Definition: hints.hxx:81
sal_Int16 SCCOL
Definition: types.hxx:22
ScLinkRefType
move ScLinkRefreshedHint to a different file?
Definition: hints.hxx:71
virtual ~ScAutoStyleHint() override
Definition: hints.cxx:94
ScPaintHint()=delete
void SetAreaLink(const ScAddress &rPos)
Definition: hints.cxx:77
UpdateRefMode
Definition: global.hxx:310
ScAutoStyleHint(const ScRange &rR, const OUString &rSt1, sal_uLong nT, const OUString &rSt2)
Definition: hints.cxx:85
sal_Int32 SCROW
Definition: types.hxx:18
ScUpdateRefHint(UpdateRefMode eMode, const ScRange &rR, SCCOL nX, SCROW nY, SCTAB nZ)
Definition: hints.cxx:37
OUString maName
void SetSheetLink(const OUString &rSourceUrl)
Definition: hints.cxx:62
ScLinkRefreshedHint()
also use source data for area links?
Definition: hints.cxx:53
ScDataPilotModifiedHint(const OUString &rName)
Definition: hints.cxx:106
virtual ~ScDBRangeRefreshedHint() override
Definition: hints.cxx:102
PaintPartFlags
Definition: global.hxx:119
virtual ~ScDataPilotModifiedHint() override
Definition: hints.cxx:110
virtual ~ScLinkRefreshedHint() override
Definition: hints.cxx:58
sal_Int16 SCTAB
Definition: types.hxx:23