Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / GeneralFunction.idl
blobff9615c1a7092e651f70c320008529e99f946fe4
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef __com_sun_star_sheet_GeneralFunction_idl__
21 #define __com_sun_star_sheet_GeneralFunction_idl__
24 module com { module sun { module star { module sheet {
27 /** used to specify a function to be calculated from values.
29 published enum GeneralFunction
32 /** nothing is calculated.
34 NONE,
37 /** function is determined automatically.
39 <p>If the values are all numerical, SUM is used, otherwise COUNT.</p>
41 AUTO,
44 /** sum of all numerical values is calculated.
46 SUM,
49 /** all values, including non-numerical values, are counted.
51 COUNT,
54 /** average of all numerical values is calculated.
56 AVERAGE,
59 /** maximum value of all numerical values is calculated.
61 MAX,
64 /** minimum value of all numerical values is calculated.
66 MIN,
69 /** product of all numerical values is calculated.
71 PRODUCT,
74 /** numerical values are counted.
76 COUNTNUMS,
79 /** standard deviation is calculated based on a sample.
81 STDEV,
84 /** standard deviation is calculated based on the entire population.
86 STDEVP,
89 /** variance is calculated based on a sample.
91 VAR,
94 /** variance is calculated based on the entire population.
96 VARP
101 }; }; }; };
103 #endif
105 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */