LibreOffice Module sc (master)
1
sc
inc
subtotalparam.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 "
global.hxx
"
13
#include <memory>
14
15
struct
SC_DLLPUBLIC
ScSubTotalParam
16
{
17
SCCOL
nCol1
;
18
SCROW
nRow1
;
19
SCCOL
nCol2
;
20
SCROW
nRow2
;
21
sal_uInt16
nUserIndex
;
22
bool
bRemoveOnly
:1;
23
bool
bReplace
:1;
24
bool
bPagebreak
:1;
25
bool
bCaseSens
:1;
26
bool
bDoSort
:1;
27
bool
bAscending
:1;
28
bool
bUserDef
:1;
29
bool
bIncludePattern
:1;
30
bool
bGroupActive[
MAXSUBTOTAL
];
31
SCCOL
nField[
MAXSUBTOTAL
];
32
SCCOL
nSubTotals[
MAXSUBTOTAL
];
33
std::unique_ptr<SCCOL[]> pSubTotals[
MAXSUBTOTAL
];
34
std::unique_ptr<ScSubTotalFunc[]> pFunctions[
MAXSUBTOTAL
];
35
36
ScSubTotalParam
();
37
ScSubTotalParam
(
const
ScSubTotalParam
& r );
38
39
ScSubTotalParam
& operator= (
const
ScSubTotalParam
& r );
40
bool
operator==
(
const
ScSubTotalParam
& r )
const
;
41
void
Clear
();
42
void
SetSubTotals( sal_uInt16 nGroup,
43
const
SCCOL
* ptrSubTotals,
44
const
ScSubTotalFunc
* ptrFunctions,
45
sal_uInt16 nCount );
46
};
47
48
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
global.hxx
MAXSUBTOTAL
const SCSIZE MAXSUBTOTAL
Definition:
global.hxx:82
ScSubTotalFunc
ScSubTotalFunc
Definition:
global.hxx:860
Clear
void Clear(EHistoryType eHistory)
SC_DLLPUBLIC
#define SC_DLLPUBLIC
Definition:
scdllapi.h:27
ScSubTotalParam
Definition:
subtotalparam.hxx:16
ScSubTotalParam::bUserDef
bool bUserDef
sort user defined
Definition:
subtotalparam.hxx:28
ScSubTotalParam::bCaseSens
bool bCaseSens
Definition:
subtotalparam.hxx:25
ScSubTotalParam::bPagebreak
bool bPagebreak
page break at change of group
Definition:
subtotalparam.hxx:24
ScSubTotalParam::bAscending
bool bAscending
sort ascending
Definition:
subtotalparam.hxx:27
ScSubTotalParam::nCol2
SCCOL nCol2
Definition:
subtotalparam.hxx:19
ScSubTotalParam::nRow1
SCROW nRow1
Definition:
subtotalparam.hxx:18
ScSubTotalParam::nUserIndex
sal_uInt16 nUserIndex
index into list
Definition:
subtotalparam.hxx:21
ScSubTotalParam::bRemoveOnly
bool bRemoveOnly
Definition:
subtotalparam.hxx:22
ScSubTotalParam::bDoSort
bool bDoSort
presort
Definition:
subtotalparam.hxx:26
ScSubTotalParam::nRow2
SCROW nRow2
Definition:
subtotalparam.hxx:20
ScSubTotalParam::nCol1
SCCOL nCol1
selected area
Definition:
subtotalparam.hxx:17
ScSubTotalParam::bIncludePattern
bool bIncludePattern
sort formats
Definition:
subtotalparam.hxx:29
ScSubTotalParam::bReplace
bool bReplace
replace existing results
Definition:
subtotalparam.hxx:23
SCCOL
sal_Int16 SCCOL
Definition:
types.hxx:21
SCROW
sal_Int32 SCROW
Definition:
types.hxx:17
operator==
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)
Definition:
xlstyle.cxx:518
Generated on Sun Jul 30 2023 04:27:49 for LibreOffice Module sc (master) by
1.9.3