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 (std::u16string_view rName)
 
static SC_DLLPUBLIC OUString getSourceDimensionName (std::u16string_view 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 24 of file dputil.hxx.

Member Function Documentation

◆ createDuplicateDimensionName()

OUString ScDPUtil::createDuplicateDimensionName ( const OUString &  rOriginal,
size_t  nDupCount 
)
static

◆ getDateGroupName()

OUString ScDPUtil::getDateGroupName ( sal_Int32  nDatePart,
sal_Int32  nValue,
SvNumberFormatter pFormatter,
double  fStart,
double  fEnd 
)
static

◆ getDatePartValue()

sal_Int32 ScDPUtil::getDatePartValue ( double  fValue,
const ScDPNumGroupInfo pInfo,
sal_Int32  nDatePart,
const SvNumberFormatter pFormatter 
)
static

◆ getDisplayedMeasureName()

OUString ScDPUtil::getDisplayedMeasureName ( const OUString &  rName,
ScSubTotalFunc  eFunc 
)
static

◆ getDuplicateIndex()

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 71 of file dputil.cxx.

References n, and p.

Referenced by ScDPObject::FillLabelDataForDimension().

◆ getNumGroupName()

OUString ScDPUtil::getNumGroupName ( double  fValue,
const ScDPNumGroupInfo rInfo,
sal_Unicode  cDecSep,
SvNumberFormatter pFormatter 
)
static

◆ getNumGroupStartValue()

double ScDPUtil::getNumGroupStartValue ( double  fValue,
const ScDPNumGroupInfo rInfo 
)
static

◆ getSourceDimensionName()

OUString ScDPUtil::getSourceDimensionName ( std::u16string_view  rName)
static

◆ isDuplicateDimension()

bool ScDPUtil::isDuplicateDimension ( std::u16string_view  rName)
static

Definition at line 61 of file dputil.cxx.

References o3tl::ends_with(), and u.

Referenced by ScDPSaveData::AppendNewDimension(), and ScDPSaveData::RemoveDuplicateNameCount().

◆ toSubTotalFunc()

ScSubTotalFunc ScDPUtil::toSubTotalFunc ( ScGeneralFunction  eGenFunc)
static

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