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 #ifndef INCLUDED_SC_INC_SUBTOTALPARAM_HXX
11 #define INCLUDED_SC_INC_SUBTOTALPARAM_HXX
12 
13 #include "global.hxx"
14 
16 {
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  SCCOL* pSubTotals[MAXSUBTOTAL];
34  ScSubTotalFunc* pFunctions[MAXSUBTOTAL];
35 
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 #endif
49 
50 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)
Definition: xlstyle.cxx:517
SCCOL nCol1
selected area
sal_uInt16 nUserIndex
index into list
sal_Int16 SCCOL
Definition: types.hxx:22
sal_Int32 SCROW
Definition: types.hxx:18
ScSubTotalFunc
Definition: global.hxx:845
#define SC_DLLPUBLIC
Definition: scdllapi.h:28
const SCSIZE MAXSUBTOTAL
Definition: global.hxx:79