LibreOffice
LibreOffice 7.2 SDK API Reference
Calculation.idl
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#ifndef __com_sun_star_report_Calculation_idl__
20#define __com_sun_star_report_Calculation_idl__
21
22
23
24 module com { module sun { module star { module report {
25
26
30constants Calculation
31{
32
35 const short NONE = 0;
36
39 const short AVERAGE = 1;
40
43 const short CORRELATION = 2;
44
47 const short COUNT = 3;
48
51 const short COVARIANCE = 4;
52
55 const short DISTINCTCOUNT = 5;
56
59 const short MAXIMUM = 6;
60
63 const short MEDIAN = 7;
64
67 const short MINIMUM = 8;
68
71 const short MODE = 9;
72
75 const short NTHLARGEST = 10;
76
79 const short NTHMOSTFREQUENT = 11;
80
83 const short NTHSMALLEST = 12;
84
87 const short PERCENTAGE = 13;
88
91 const short PERCENTILE = 14;
92
95 const short POPSTANDARDDEVIATION = 15;
96
99 const short POPVARIANCE = 16;
100
103 const short SAMPLESTANDARDDEVIATION = 17;
104
107 const short SAMPLEVARIANCE = 18;
108
111 const short SUM = 19;
112
115 const short WEIGHTEDAVG = 20;
116};
117
118
119}; }; }; };
120
121#endif
122
123/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short MEDIAN
returns the middle value in a sequence of numeric values.
Definition: Calculation.idl:63
const short SAMPLEVARIANCE
returns the sample variance for the field.
Definition: Calculation.idl:107
const short CORRELATION
returns the correlation of two fields.
Definition: Calculation.idl:43
const short NTHMOSTFREQUENT
returns the Nth most commonly occurring value from the field.
Definition: Calculation.idl:79
const short SUM
returns the total of all the values for the field.
Definition: Calculation.idl:111
const short NTHSMALLEST
returns the Nth smallest value from the field.
Definition: Calculation.idl:83
const short SAMPLESTANDARDDEVIATION
returns the sample standard deviation for the field.
Definition: Calculation.idl:103
const short DISTINCTCOUNT
returns the number of none repeating values, from the field.
Definition: Calculation.idl:55
const short POPVARIANCE
returns the square of the standard deviation.
Definition: Calculation.idl:99
const short COVARIANCE
returns the measure of the linear relation between paired variables.
Definition: Calculation.idl:51
const short NONE
returns the average of a field.
Definition: Calculation.idl:35
const short PERCENTAGE
returns as a percentage of the grand total summary.
Definition: Calculation.idl:87
const short MAXIMUM
returns the largest value from the field.
Definition: Calculation.idl:59
const short AVERAGE
returns the average of a field.
Definition: Calculation.idl:39
const short NTHLARGEST
returns the Nth largest value from the field.
Definition: Calculation.idl:75
const short MINIMUM
returns the smallest value from the field.
Definition: Calculation.idl:67
const short PERCENTILE
returns the value for a specified percentile in a Number or Currency field.
Definition: Calculation.idl:91
const short WEIGHTEDAVG
returns the weighted average for the field.
Definition: Calculation.idl:115
const short MODE
returns the most frequently returning value from the field.
Definition: Calculation.idl:71
const short POPSTANDARDDEVIATION
returns how much each value in the field deviate from the mean or average value for that field.
Definition: Calculation.idl:95
const short COUNT
counts the number of values, from the field.
Definition: Calculation.idl:47
Definition: Ambiguous.idl:22