LibreOffice Module sc (master) 1
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
16{
21 sal_uInt16 nUserIndex;
23 bool bReplace:1;
24 bool bPagebreak:1;
25 bool bCaseSens:1;
26 bool bDoSort:1;
27 bool bAscending:1;
28 bool bUserDef:1;
30 bool bGroupActive[MAXSUBTOTAL];
32 SCCOL nSubTotals[MAXSUBTOTAL];
33 std::unique_ptr<SCCOL[]> pSubTotals[MAXSUBTOTAL];
34 std::unique_ptr<ScSubTotalFunc[]> pFunctions[MAXSUBTOTAL];
35
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: */
const SCSIZE MAXSUBTOTAL
Definition: global.hxx:82
ScSubTotalFunc
Definition: global.hxx:860
void Clear(EHistoryType eHistory)
#define SC_DLLPUBLIC
Definition: scdllapi.h:27
bool bUserDef
sort user defined
bool bPagebreak
page break at change of group
bool bAscending
sort ascending
sal_uInt16 nUserIndex
index into list
bool bDoSort
presort
SCCOL nCol1
selected area
bool bIncludePattern
sort formats
bool bReplace
replace existing results
sal_Int16 SCCOL
Definition: types.hxx:21
sal_Int32 SCROW
Definition: types.hxx:17
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)
Definition: xlstyle.cxx:518