LibreOffice Module sc (master)  1
Static Public Member Functions | List of all members
ScDPUtil Class Reference

#include <dputil.hxx>

Static Public Member Functions

static bool isDuplicateDimension (const OUString &rName)
 
static SC_DLLPUBLIC OUString getSourceDimensionName (const OUString &rName)
 
static sal_uInt8 getDuplicateIndex (const OUString &rName)
 Get a duplicate index in case the dimension is a duplicate. More...
 
static SC_DLLPUBLIC OUString createDuplicateDimensionName (const OUString &rOriginal, size_t nDupCount)
 
static SC_DLLPUBLIC OUString getDateGroupName (sal_Int32 nDatePart, sal_Int32 nValue, SvNumberFormatter *pFormatter, double fStart, double fEnd)
 
static double getNumGroupStartValue (double fValue, const ScDPNumGroupInfo &rInfo)
 
static OUString getNumGroupName (double fValue, const ScDPNumGroupInfo &rInfo, sal_Unicode cDecSep, SvNumberFormatter *pFormatter)
 
static sal_Int32 getDatePartValue (double fValue, const ScDPNumGroupInfo *pInfo, sal_Int32 nDatePart, const SvNumberFormatter *pFormatter)
 
static SC_DLLPUBLIC OUString getDisplayedMeasureName (const OUString &rName, ScSubTotalFunc eFunc)
 
static SC_DLLPUBLIC ScSubTotalFunc toSubTotalFunc (ScGeneralFunction eGenFunc)
 

Detailed Description

Definition at line 21 of file dputil.hxx.

Member Function Documentation

OUString ScDPUtil::createDuplicateDimensionName ( const OUString &  rOriginal,
size_t  nDupCount 
)
static
OUString ScDPUtil::getDateGroupName ( sal_Int32  nDatePart,
sal_Int32  nValue,
SvNumberFormatter pFormatter,
double  fStart,
double  fEnd 
)
static
sal_Int32 ScDPUtil::getDatePartValue ( double  fValue,
const ScDPNumGroupInfo pInfo,
sal_Int32  nDatePart,
const SvNumberFormatter pFormatter 
)
static
OUString ScDPUtil::getDisplayedMeasureName ( const OUString &  rName,
ScSubTotalFunc  eFunc 
)
static
sal_uInt8 ScDPUtil::getDuplicateIndex ( const OUString &  rName)
static

Get a duplicate index in case the dimension is a duplicate.

It returns 0 in case it's an original dimension.

Definition at line 69 of file dputil.cxx.

References n, and p.

Referenced by ScDPObject::FillLabelDataForDimension().

OUString ScDPUtil::getNumGroupName ( double  fValue,
const ScDPNumGroupInfo rInfo,
sal_Unicode  cDecSep,
SvNumberFormatter pFormatter 
)
static
double ScDPUtil::getNumGroupStartValue ( double  fValue,
const ScDPNumGroupInfo rInfo 
)
static
OUString ScDPUtil::getSourceDimensionName ( const OUString &  rName)
static
bool ScDPUtil::isDuplicateDimension ( const OUString &  rName)
static
ScSubTotalFunc ScDPUtil::toSubTotalFunc ( ScGeneralFunction  eGenFunc)
static

The documentation for this class was generated from the following files: