LibreOffice Module sc (master)
1
sc
source
ui
inc
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
16
struct
ScCellMergeOption
17
{
18
::std::set<SCTAB>
maTabs
;
19
SCCOL
mnStartCol
;
20
SCROW
mnStartRow
;
21
SCCOL
mnEndCol
;
22
SCROW
mnEndRow
;
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
;
31
ScRange
getFirstSingleRange
()
const
;
32
};
33
34
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
address.hxx
ScRange
Definition:
address.hxx:495
SC_DLLPUBLIC
#define SC_DLLPUBLIC
Definition:
scdllapi.h:27
ScCellMergeOption
Definition:
cellmergeoption.hxx:17
ScCellMergeOption::getSingleRange
ScRange getSingleRange(SCTAB nTab) const
Definition:
cellmergeoption.cxx:35
ScCellMergeOption::maTabs
::std::set< SCTAB > maTabs
Definition:
cellmergeoption.hxx:18
ScCellMergeOption::mnEndRow
SCROW mnEndRow
Definition:
cellmergeoption.hxx:22
ScCellMergeOption::mbCenter
bool mbCenter
Definition:
cellmergeoption.hxx:23
ScCellMergeOption::getFirstSingleRange
ScRange getFirstSingleRange() const
Definition:
cellmergeoption.cxx:40
ScCellMergeOption::ScCellMergeOption
ScCellMergeOption(const ScRange &rRange)
Definition:
cellmergeoption.cxx:13
ScCellMergeOption::mnStartCol
SCCOL mnStartCol
Definition:
cellmergeoption.hxx:19
ScCellMergeOption::mnEndCol
SCCOL mnEndCol
Definition:
cellmergeoption.hxx:21
ScCellMergeOption::mnStartRow
SCROW mnStartRow
Definition:
cellmergeoption.hxx:20
SCTAB
sal_Int16 SCTAB
Definition:
types.hxx:22
SCCOL
sal_Int16 SCCOL
Definition:
types.hxx:21
SCROW
sal_Int32 SCROW
Definition:
types.hxx:17
Generated on Sun Jul 30 2023 04:29:19 for LibreOffice Module sc (master) by
1.9.3