1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 #include <refhint.hxx>
14 RefHint::RefHint( Type eType
) : SfxHint(SfxHintId::ScReference
), meType(eType
) {}
15 RefHint::~RefHint() {}
17 RefHint::Type
RefHint::getType() const
22 RefColReorderHint::RefColReorderHint( const sc::ColRowReorderMapType
& rColMap
, SCTAB nTab
, SCROW nRow1
, SCROW nRow2
) :
23 RefHint(ColumnReordered
), mrColMap(rColMap
), mnTab(nTab
), mnRow1(nRow1
), mnRow2(nRow2
) {}
25 RefColReorderHint::~RefColReorderHint() {}
27 const sc::ColRowReorderMapType
& RefColReorderHint::getColMap() const
32 SCTAB
RefColReorderHint::getTab() const
37 SCROW
RefColReorderHint::getStartRow() const
42 SCROW
RefColReorderHint::getEndRow() const
47 RefRowReorderHint::RefRowReorderHint( const sc::ColRowReorderMapType
& rRowMap
, SCTAB nTab
, SCCOL nCol1
, SCCOL nCol2
) :
48 RefHint(RowReordered
), mrRowMap(rRowMap
), mnTab(nTab
), mnCol1(nCol1
), mnCol2(nCol2
) {}
50 RefRowReorderHint::~RefRowReorderHint() {}
52 const sc::ColRowReorderMapType
& RefRowReorderHint::getRowMap() const
57 SCTAB
RefRowReorderHint::getTab() const
62 SCCOL
RefRowReorderHint::getStartColumn() const
67 SCCOL
RefRowReorderHint::getEndColumn() const
72 RefStartListeningHint::RefStartListeningHint() : RefHint(StartListening
) {}
73 RefStartListeningHint::~RefStartListeningHint() {}
75 RefStopListeningHint::RefStopListeningHint() : RefHint(StopListening
) {}
76 RefStopListeningHint::~RefStopListeningHint() {}
80 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */