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 
15 {
20  sal_uInt16 nUserIndex;
21  bool bRemoveOnly:1;
22  bool bReplace:1;
23  bool bPagebreak:1;
24  bool bCaseSens:1;
25  bool bDoSort:1;
26  bool bAscending:1;
27  bool bUserDef:1;
28  bool bIncludePattern:1;
29  bool bGroupActive[MAXSUBTOTAL];
30  SCCOL nField[MAXSUBTOTAL];
31  SCCOL nSubTotals[MAXSUBTOTAL];
32  SCCOL* pSubTotals[MAXSUBTOTAL];
33  ScSubTotalFunc* pFunctions[MAXSUBTOTAL];
34 
36  ScSubTotalParam( const ScSubTotalParam& r );
37 
38  ScSubTotalParam& operator= ( const ScSubTotalParam& r );
39  bool operator== ( const ScSubTotalParam& r ) const;
40  void Clear();
41  void SetSubTotals( sal_uInt16 nGroup,
42  const SCCOL* ptrSubTotals,
43  const ScSubTotalFunc* ptrFunctions,
44  sal_uInt16 nCount );
45 };
46 
47 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)
Definition: xlstyle.cxx:518
SCCOL nCol1
selected area
sal_uInt16 nUserIndex
index into list
sal_Int16 SCCOL
Definition: types.hxx:21
sal_Int32 SCROW
Definition: types.hxx:17
ScSubTotalFunc
Definition: global.hxx:844
#define SC_DLLPUBLIC
Definition: scdllapi.h:27
const SCSIZE MAXSUBTOTAL
Definition: global.hxx:79