LibreOffice Module sc (master)  1
refhint.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 
10 #include <refhint.hxx>
11 
12 namespace sc {
13 
16 
18 {
19  return meType;
20 }
21 
23  RefHint(ColumnReordered), mrColMap(rColMap), mnTab(nTab), mnRow1(nRow1), mnRow2(nRow2) {}
24 
26 
28 {
29  return mrColMap;
30 }
31 
33 {
34  return mnTab;
35 }
36 
38 {
39  return mnRow1;
40 }
41 
43 {
44  return mnRow2;
45 }
46 
48  RefHint(RowReordered), mrRowMap(rRowMap), mnTab(nTab), mnCol1(nCol1), mnCol2(nCol2) {}
49 
51 
53 {
54  return mrRowMap;
55 }
56 
58 {
59  return mnTab;
60 }
61 
63 {
64  return mnCol1;
65 }
66 
68 {
69  return mnCol2;
70 }
71 
74 
77 
78 }
79 
80 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
If set, cloned formula cells will start to listen to the document.
SfxHintId
virtual ~RefHint() override=0
Definition: refhint.cxx:15
SCTAB getTab() const
Definition: refhint.cxx:32
SCCOL getStartColumn() const
Definition: refhint.cxx:62
SCCOL getEndColumn() const
Definition: refhint.cxx:67
SCROW getEndRow() const
Definition: refhint.cxx:42
RefRowReorderHint(const sc::ColRowReorderMapType &rRowMap, SCTAB nTab, SCCOL nCol1, SCCOL nCol2)
Definition: refhint.cxx:47
SCTAB getTab() const
Definition: refhint.cxx:57
sal_Int16 SCCOL
Definition: types.hxx:22
virtual ~RefRowReorderHint() override
Definition: refhint.cxx:50
RefHint()=delete
const sc::ColRowReorderMapType & mrRowMap
Definition: refhint.hxx:74
const sc::ColRowReorderMapType & getColMap() const
Definition: refhint.cxx:27
const sc::ColRowReorderMapType & mrColMap
Definition: refhint.hxx:51
const sc::ColRowReorderMapType & getRowMap() const
Definition: refhint.cxx:52
virtual ~RefStopListeningHint() override
Definition: refhint.cxx:76
sal_Int32 SCROW
Definition: types.hxx:18
Type getType() const
Definition: refhint.cxx:17
virtual ~RefColReorderHint() override
Definition: refhint.cxx:25
RefColReorderHint(const sc::ColRowReorderMapType &rColMap, SCTAB nTab, SCROW nRow1, SCROW nRow2)
Definition: refhint.cxx:22
Type meType
Definition: refhint.hxx:32
SCROW getStartRow() const
Definition: refhint.cxx:37
RedlineType meType
virtual ~RefStartListeningHint() override
Definition: refhint.cxx:73
sal_Int16 SCTAB
Definition: types.hxx:23