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 #pragma once
11 
12 #include <address.hxx>
13 
14 #include <set>
15 
17 {
18  ::std::set<SCTAB> maTabs;
23  bool mbCenter;
24 
25  explicit ScCellMergeOption(const ScRange& rRange);
26  SC_DLLPUBLIC explicit ScCellMergeOption(SCCOL nStartCol, SCROW nStartRow,
27  SCCOL nEndCol, SCROW nEndRow,
28  bool bCenter = false);
29 
30  ScRange getSingleRange(SCTAB nTab) const;
32 };
33 
34 /* 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:21
sal_Int32 SCROW
Definition: types.hxx:17
ScCellMergeOption(const ScRange &rRange)
#define SC_DLLPUBLIC
Definition: scdllapi.h:27
sal_Int16 SCTAB
Definition: types.hxx:22