LibreOffice Module sc (master) 1
Enumerations
generalfunction.hxx File Reference
#include <com/sun/star/sheet/GeneralFunction.hpp>
#include <com/sun/star/sheet/GeneralFunction2.hpp>
Include dependency graph for generalfunction.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  ScGeneralFunction {
  NONE = int(css::sheet::GeneralFunction_NONE) ,
  AUTO = int(css::sheet::GeneralFunction_AUTO) ,
  SUM = int(css::sheet::GeneralFunction_SUM) ,
  COUNT = int(css::sheet::GeneralFunction_COUNT) ,
  AVERAGE = int(css::sheet::GeneralFunction_AVERAGE) ,
  MAX = int(css::sheet::GeneralFunction_MAX) ,
  MIN = int(css::sheet::GeneralFunction_MIN) ,
  PRODUCT = int(css::sheet::GeneralFunction_PRODUCT) ,
  COUNTNUMS = int(css::sheet::GeneralFunction_COUNTNUMS) ,
  STDEV = int(css::sheet::GeneralFunction_STDEV) ,
  STDEVP = int(css::sheet::GeneralFunction_STDEVP) ,
  VAR = int(css::sheet::GeneralFunction_VAR) ,
  VARP = int(css::sheet::GeneralFunction_VARP) ,
  MEDIAN = css::sheet::GeneralFunction2::MEDIAN
}
 the css::sheet::GeneralFunction enum is extended by constants in GeneralFunction2, which causes some type-safety issues. More...
 

Enumeration Type Documentation

◆ ScGeneralFunction

enum class ScGeneralFunction
strong

the css::sheet::GeneralFunction enum is extended by constants in GeneralFunction2, which causes some type-safety issues.

So abstract them behind the facade of this enum.

Enumerator
NONE 

nothing is calculated.

AUTO 

function is determined automatically.

<p>If the values are all numerical, SUM is used, otherwise COUNT.</p>
SUM 

sum of all numerical values is calculated.

COUNT 

all values, including non-numerical values, are counted.

AVERAGE 

average of all numerical values is calculated.

MAX 

maximum value of all numerical values is calculated.

MIN 

minimum value of all numerical values is calculated.

PRODUCT 

product of all numerical values is calculated.

COUNTNUMS 

numerical values are counted.

STDEV 

standard deviation is calculated based on a sample.

STDEVP 

standard deviation is calculated based on the entire population.

VAR 

variance is calculated based on a sample.

VARP 

variance is calculated based on the entire population.

MEDIAN 

median of all numerical values is calculated.

Available since: \n LibreOffice 5.3

Definition at line 28 of file generalfunction.hxx.