tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sc / source / ui / inc / cellmergeoption.hxx
blob600a5e03dd8a5579145ef8b2a634307eaaaed903
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 #pragma once
12 #include <address.hxx>
14 #include <set>
16 struct ScCellMergeOption
18 ::std::set<SCTAB> maTabs;
19 SCCOL mnStartCol;
20 SCROW mnStartRow;
21 SCCOL mnEndCol;
22 SCROW mnEndRow;
23 bool mbCenter;
25 explicit ScCellMergeOption(const ScRange& rRange);
26 SC_DLLPUBLIC explicit ScCellMergeOption(SCCOL nStartCol, SCROW nStartRow,
27 SCCOL nEndCol, SCROW nEndRow,
28 bool bCenter = false);
30 ScRange getSingleRange(SCTAB nTab) const;
31 ScRange getFirstSingleRange() const;
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */