LibreOffice
LibreOffice 24.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 
20 
21 
22  module com { module sun { module star { module report {
23 
24 
28 constants Calculation
29 {
30 
33  const short NONE = 0;
34 
37  const short AVERAGE = 1;
38 
41  const short CORRELATION = 2;
42 
45  const short COUNT = 3;
46 
49  const short COVARIANCE = 4;
50 
53  const short DISTINCTCOUNT = 5;
54 
57  const short MAXIMUM = 6;
58 
61  const short MEDIAN = 7;
62 
65  const short MINIMUM = 8;
66 
69  const short MODE = 9;
70 
73  const short NTHLARGEST = 10;
74 
77  const short NTHMOSTFREQUENT = 11;
78 
81  const short NTHSMALLEST = 12;
82 
85  const short PERCENTAGE = 13;
86 
89  const short PERCENTILE = 14;
90 
93  const short POPSTANDARDDEVIATION = 15;
94 
97  const short POPVARIANCE = 16;
98 
101  const short SAMPLESTANDARDDEVIATION = 17;
102 
105  const short SAMPLEVARIANCE = 18;
106 
109  const short SUM = 19;
110 
113  const short WEIGHTEDAVG = 20;
114 };
115 
116 
117 }; }; }; };
118 
119 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short WEIGHTEDAVG
returns the weighted average for the field.
Definition: Calculation.idl:113
const short MINIMUM
returns the smallest value from the field.
Definition: Calculation.idl:65
const short COVARIANCE
returns the measure of the linear relation between paired variables.
Definition: Calculation.idl:49
const short COUNT
counts the number of values, from the field.
Definition: Calculation.idl:45
Definition: Ambiguous.idl:20
const short SAMPLESTANDARDDEVIATION
returns the sample standard deviation for the field.
Definition: Calculation.idl:101
const short PERCENTAGE
returns as a percentage of the grand total summary.
Definition: Calculation.idl:85
const short MEDIAN
returns the middle value in a sequence of numeric values.
Definition: Calculation.idl:61
const short DISTINCTCOUNT
returns the number of none repeating values, from the field.
Definition: Calculation.idl:53
const short NTHMOSTFREQUENT
returns the Nth most commonly occurring value from the field.
Definition: Calculation.idl:77
const short NONE
returns the average of a field.
Definition: Calculation.idl:33
const short SAMPLEVARIANCE
returns the sample variance for the field.
Definition: Calculation.idl:105
const short MODE
returns the most frequently returning value from the field.
Definition: Calculation.idl:69
const short PERCENTILE
returns the value for a specified percentile in a Number or Currency field.
Definition: Calculation.idl:89
const short POPSTANDARDDEVIATION
returns how much each value in the field deviate from the mean or average value for that field...
Definition: Calculation.idl:93
const short SUM
returns the total of all the values for the field.
Definition: Calculation.idl:109
const short MAXIMUM
returns the largest value from the field.
Definition: Calculation.idl:57
const short CORRELATION
returns the correlation of two fields.
Definition: Calculation.idl:41
const short POPVARIANCE
returns the square of the standard deviation.
Definition: Calculation.idl:97
const short NTHSMALLEST
returns the Nth smallest value from the field.
Definition: Calculation.idl:81
const short AVERAGE
returns the average of a field.
Definition: Calculation.idl:37
const short NTHLARGEST
returns the Nth largest value from the field.
Definition: Calculation.idl:73