LibreOffice Module sc (master)  1
cellmergeoption.hxx
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 #ifndef INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX
11 #define INCLUDED_SC_SOURCE_UI_INC_CELLMERGEOPTION_HXX
12 
13 #include <address.hxx>
14 
15 #include <set>
16 
18 {
19  ::std::set<SCTAB> maTabs;
24  bool mbCenter;
25 
26  explicit ScCellMergeOption(const ScRange& rRange);
27  explicit ScCellMergeOption(SCCOL nStartCol, SCROW nStartRow,
28  SCCOL nEndCol, SCROW nEndRow,
29  bool bCenter = false);
30 
31  ScRange getSingleRange(SCTAB nTab) const;
33 };
34 
35 #endif
36 
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ScRange getFirstSingleRange() const
::std::set< SCTAB > maTabs
ScRange getSingleRange(SCTAB nTab) const
sal_Int16 SCCOL
Definition: types.hxx:22
sal_Int32 SCROW
Definition: types.hxx:18
ScCellMergeOption(const ScRange &rRange)
sal_Int16 SCTAB
Definition: types.hxx:23