LibreOffice Module sc (master) 1
generalfunction.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19#pragma once
20
21#include <com/sun/star/sheet/GeneralFunction.hpp>
22#include <com/sun/star/sheet/GeneralFunction2.hpp>
23
29{
32 NONE = int(css::sheet::GeneralFunction_NONE),
33
38 AUTO = int(css::sheet::GeneralFunction_AUTO),
39
42 SUM = int(css::sheet::GeneralFunction_SUM),
43
46 COUNT = int(css::sheet::GeneralFunction_COUNT),
47
50 AVERAGE = int(css::sheet::GeneralFunction_AVERAGE),
51
54 MAX = int(css::sheet::GeneralFunction_MAX),
55
58 MIN = int(css::sheet::GeneralFunction_MIN),
59
62 PRODUCT = int(css::sheet::GeneralFunction_PRODUCT),
63
66 COUNTNUMS = int(css::sheet::GeneralFunction_COUNTNUMS),
67
70 STDEV = int(css::sheet::GeneralFunction_STDEV),
71
74 STDEVP = int(css::sheet::GeneralFunction_STDEVP),
75
78 VAR = int(css::sheet::GeneralFunction_VAR),
79
82 VARP = int(css::sheet::GeneralFunction_VARP),
83
88 MEDIAN = css::sheet::GeneralFunction2::MEDIAN
89};
#define MIN(x, y)
ScGeneralFunction
the css::sheet::GeneralFunction enum is extended by constants in GeneralFunction2,...
@ PRODUCT
product of all numerical values is calculated.
@ VARP
variance is calculated based on the entire population.
@ STDEVP
standard deviation is calculated based on the entire population.
@ MEDIAN
median of all numerical values is calculated.
@ COUNTNUMS
numerical values are counted.
@ VAR
variance is calculated based on a sample.
@ STDEV
standard deviation is calculated based on a sample.
NONE
AUTO
const wchar_t *typedef int(__stdcall *DllNativeUnregProc)(int
const int COUNT
Definition: sheetevents.cxx:56