nss: upgrade to release 3.73
[LibreOffice.git] / sc / source / ui / inc / cellmergeoption.hxx
blob937b9079960d05cc4bffec35e1d19a60300106b9
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX
13 #include <address.hxx>
15 #include <set>
17 struct ScCellMergeOption
19 ::std::set<SCTAB> maTabs;
20 SCCOL mnStartCol;
21 SCROW mnStartRow;
22 SCCOL mnEndCol;
23 SCROW mnEndRow;
24 bool mbCenter;
26 explicit ScCellMergeOption(const ScRange& rRange);
27 SC_DLLPUBLIC explicit ScCellMergeOption(SCCOL nStartCol, SCROW nStartRow,
28 SCCOL nEndCol, SCROW nEndRow,
29 bool bCenter = false);
31 ScRange getSingleRange(SCTAB nTab) const;
32 ScRange getFirstSingleRange() const;
35 #endif
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */