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
12namespace 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: */
virtual ~RefColReorderHint() override
Definition: refhint.cxx:25
SCROW getEndRow() const
Definition: refhint.cxx:42
const sc::ColRowReorderMapType & mrColMap
Definition: refhint.hxx:50
SCTAB getTab() const
Definition: refhint.cxx:32
const sc::ColRowReorderMapType & getColMap() const
Definition: refhint.cxx:27
RefColReorderHint(const sc::ColRowReorderMapType &rColMap, SCTAB nTab, SCROW nRow1, SCROW nRow2)
Definition: refhint.cxx:22
SCROW getStartRow() const
Definition: refhint.cxx:37
RefHint()=delete
virtual ~RefHint() override=0
Definition: refhint.cxx:15
Type getType() const
Definition: refhint.cxx:17
Type meType
Definition: refhint.hxx:31
RefRowReorderHint(const sc::ColRowReorderMapType &rRowMap, SCTAB nTab, SCCOL nCol1, SCCOL nCol2)
Definition: refhint.cxx:47
virtual ~RefRowReorderHint() override
Definition: refhint.cxx:50
const sc::ColRowReorderMapType & getRowMap() const
Definition: refhint.cxx:52
const sc::ColRowReorderMapType & mrRowMap
Definition: refhint.hxx:73
SCTAB getTab() const
Definition: refhint.cxx:57
SCCOL getEndColumn() const
Definition: refhint.cxx:67
SCCOL getStartColumn() const
Definition: refhint.cxx:62
virtual ~RefStartListeningHint() override
Definition: refhint.cxx:73
virtual ~RefStopListeningHint() override
Definition: refhint.cxx:76
DocumentType eType
@ StartListening
If set, cloned formula cells will start to listen to the document.
SfxHintId
CAUTION! The following defines must be in the same namespace as the respective type.
Definition: broadcast.cxx:15
sal_Int16 SCTAB
Definition: types.hxx:22
sal_Int16 SCCOL
Definition: types.hxx:21
sal_Int32 SCROW
Definition: types.hxx:17
RedlineType meType