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 #ifndef INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX
13 #include <address.hxx>
17 struct ScCellMergeOption
19 ::std::set
<SCTAB
> maTabs
;
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;
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */