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;
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 
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: */
bool operator==(const XclFontData &rLeft, const XclFontData &rRight)
Definition: xlstyle.cxx:519
SCCOL nCol1
selected area
sal_uInt16 nUserIndex
index into list
sal_Int16 SCCOL
Definition: types.hxx:21
void Clear(EHistoryType eHistory)
sal_Int32 SCROW
Definition: types.hxx:17
ScSubTotalFunc
Definition: global.hxx:850
#define SC_DLLPUBLIC
Definition: scdllapi.h:27
const SCSIZE MAXSUBTOTAL
Definition: global.hxx:80