LibreOffice Module sc (master) 1
|
#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) |
Definition at line 24 of file dputil.hxx.
|
static |
Definition at line 92 of file dputil.cxx.
Referenced by ScPivotLayoutDialog::ApplyLabelData(), ScDPSaveData::CheckDuplicateName(), ScDPSubtotalOptDlg::FillLabelData(), and ScDPSubtotalOptDlg::FindListBoxEntry().
|
static |
Definition at line 104 of file dputil.cxx.
References Date::AddDays(), aStr, ScDPItemData::DateFirst, ScDPItemData::DateLast, ScGlobal::eLnge, ScGlobal::GetCalendar(), CalendarWrapper::getDisplayName(), SvNumberFormatter::GetFormatIndex(), ScGlobal::getLocaleData(), SvNumberFormatter::GetNullDate(), SvNumberFormatter::GetOutputString(), LocaleDataWrapper::getQuarterAbbreviation(), LocaleDataWrapper::getTimeSep(), NF_DATE_SYS_DDMMM, nValue, and SC_DP_LEAPYEAR.
Referenced by ScDPCache::GetFormattedString().
|
static |
Definition at line 287 of file dputil.cxx.
References Date::AddDays(), ScDPItemData::DateFirst, ScDPItemData::DateLast, tools::Time::GetClock(), Date::GetMonth(), SvNumberFormatter::GetNullDate(), Date::GetYear(), Date::IsLeapYear(), ScDPNumGroupInfo::mfEnd, and ScDPNumGroupInfo::mfStart.
Referenced by ScDPGroupTableData::FillGroupValues().
|
static |
Definition at line 384 of file dputil.cxx.
References SAL_N_ELEMENTS, and ScResId().
Referenced by ScDPResultData::GetMeasureString(), and XclExpXmlPivotTables::SavePivotTableXml().
|
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.
Referenced by ScDPObject::FillLabelDataForDimension().
|
static |
Definition at line 260 of file dputil.cxx.
References ScDPNumGroupInfo::mbDateValues, ScDPNumGroupInfo::mfEnd, ScDPNumGroupInfo::mfStart, and ScDPNumGroupInfo::mfStep.
Referenced by ScDPCache::GetFormattedString().
|
static |
Definition at line 153 of file dputil.cxx.
References ScDPNumGroupInfo::mbDateValues, ScDPNumGroupInfo::mfEnd, ScDPNumGroupInfo::mfStart, and ScDPNumGroupInfo::mfStep.
Referenced by ScDPGroupTableData::FillGroupValues().
|
static |
Definition at line 66 of file dputil.cxx.
References comphelper::string::stripEnd().
Referenced by ScDPSaveData::CheckDuplicateName(), ScDPSource::CreateRes_Impl(), ScDPObject::FillLabelDataForDimension(), ScDPOutput::GetDataDimensionNames(), ScDataPilotChildObjBase::GetDPDimension(), XclExpPivotTable::GetFieldAcc(), ScDPSaveData::RemoveDuplicateNameCount(), XclExpXmlPivotTables::SavePivotTableXml(), ScXMLExportDataPilot::WriteDimension(), ScXMLExportDataPilot::WriteGroupDimAttributes(), and ScDPSaveData::WriteToSource().
|
static |
Definition at line 61 of file dputil.cxx.
References o3tl::ends_with(), and u.
Referenced by ScDPSaveData::AppendNewDimension(), and ScDPSaveData::RemoveDuplicateNameCount().
|
static |
Definition at line 395 of file dputil.cxx.
References AUTO, AVERAGE, COUNT, COUNTNUMS, MAX, MEDIAN, MIN, NONE, PRODUCT, STDEV, STDEVP, SUBTOTAL_FUNC_AVE, SUBTOTAL_FUNC_CNT, SUBTOTAL_FUNC_CNT2, SUBTOTAL_FUNC_MAX, SUBTOTAL_FUNC_MED, SUBTOTAL_FUNC_MIN, SUBTOTAL_FUNC_NONE, SUBTOTAL_FUNC_PROD, SUBTOTAL_FUNC_STD, SUBTOTAL_FUNC_STDP, SUBTOTAL_FUNC_SUM, SUBTOTAL_FUNC_VAR, SUBTOTAL_FUNC_VARP, SUM, VAR, and VARP.
Referenced by ScSubTotalDescriptorBase::addNew(), ScXMLDatabaseRangeContext::ConvertToDBData(), ScDPSource::CreateRes_Impl(), lcl_GetForceFunc(), XclExpXmlPivotTables::SavePivotTableXml(), ScConsolidationDescriptor::setFunction(), and ScSubTotalFieldObj::setSubTotalColumns().