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