LibreOffice Module sc (master) 1
|
Represents a group dimension that introduces a new hierarchy for an existing dimension. More...
#include <dpdimsave.hxx>
Public Member Functions | |
ScDPSaveNumGroupDimension (OUString aName, const ScDPNumGroupInfo &rInfo) | |
ScDPSaveNumGroupDimension (OUString aName, const ScDPNumGroupInfo &rDateInfo, sal_Int32 nPart) | |
void | AddToData (ScDPGroupTableData &rData) const |
void | AddToCache (ScDPCache &rCache) const |
const OUString & | GetDimensionName () const |
const ScDPNumGroupInfo & | GetInfo () const |
sal_Int32 | GetDatePart () const |
const ScDPNumGroupInfo & | GetDateInfo () const |
void | SetGroupInfo (const ScDPNumGroupInfo &rNew) |
void | SetDateInfo (const ScDPNumGroupInfo &rInfo, sal_Int32 nPart) |
Private Attributes | |
OUString | aDimensionName |
ScDPNumGroupInfo | aGroupInfo |
ScDPNumGroupInfo | aDateInfo |
sal_Int32 | nDatePart |
Represents a group dimension that introduces a new hierarchy for an existing dimension.
Unlike the ScDPSaveGroupDimension counterpart, it re-uses the source dimension name and ID.
Definition at line 135 of file dpdimsave.hxx.
ScDPSaveNumGroupDimension::ScDPSaveNumGroupDimension | ( | OUString | aName, |
const ScDPNumGroupInfo & | rInfo | ||
) |
Definition at line 394 of file dpdimsave.cxx.
References aName.
ScDPSaveNumGroupDimension::ScDPSaveNumGroupDimension | ( | OUString | aName, |
const ScDPNumGroupInfo & | rDateInfo, | ||
sal_Int32 | nPart | ||
) |
Definition at line 401 of file dpdimsave.cxx.
References aName.
void ScDPSaveNumGroupDimension::AddToCache | ( | ScDPCache & | rCache | ) | const |
Definition at line 421 of file dpdimsave.cxx.
References aDateInfo, aDimensionName, aGroupInfo, ScDPCache::GetDimensionIndex(), ScDPCache::GetDimMemberValues(), ScDPCache::GetDoc(), ScDocument::GetFormatTable(), ScDPNumGroupInfo::mbAutoEnd, ScDPNumGroupInfo::mbAutoStart, ScDPNumGroupInfo::mbDateValues, ScDPNumGroupInfo::mbEnable, ScDPNumGroupInfo::mbIntegerOnly, ScDPNumGroupInfo::mfEnd, ScDPNumGroupInfo::mfStart, ScDPNumGroupInfo::mfStep, nDatePart, ScDPCache::ResetGroupItems(), ScDPCache::SetGroupItem(), ScDPItemData::SetRangeFirst(), ScDPItemData::SetRangeLast(), ScDPItemData::SetRangeStart(), and ScDPItemData::Value.
void ScDPSaveNumGroupDimension::AddToData | ( | ScDPGroupTableData & | rData | ) | const |
Definition at line 408 of file dpdimsave.cxx.
References aDimensionName, aGroupInfo, ScDPGroupTableData::GetDimensionIndex(), nDatePart, ScDPNumGroupDimension::SetDateDimension(), and ScDPGroupTableData::SetNumGroupDimension().
|
inline |
Definition at line 153 of file dpdimsave.hxx.
Referenced by ScDataPilotFieldObj::createDateGroup(), ScDBFunc::HasSelectionForDateGroup(), and ScXMLExportDataPilot::WriteNumGroupDim().
|
inline |
Definition at line 152 of file dpdimsave.hxx.
Referenced by ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::UngroupDataPilot(), and ScXMLExportDataPilot::WriteNumGroupDim().
|
inline |
Definition at line 149 of file dpdimsave.hxx.
Referenced by ScDPDimensionSaveData::AddNumGroupDimension(), and ScDPDimensionSaveData::ReplaceNumGroupDimension().
|
inline |
Definition at line 150 of file dpdimsave.hxx.
Referenced by ScDataPilotFieldObj::createDateGroup(), ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::HasSelectionForNumGroup(), and ScXMLExportDataPilot::WriteNumGroupDim().
void ScDPSaveNumGroupDimension::SetDateInfo | ( | const ScDPNumGroupInfo & | rInfo, |
sal_Int32 | nPart | ||
) |
Definition at line 530 of file dpdimsave.cxx.
References aDateInfo, and nDatePart.
Referenced by XclImpPCField::ConvertDateGroupField(), ScXMLDataPilotFieldContext::endFastElement(), and ScDataPilotFieldObj::setGroupInfo().
void ScDPSaveNumGroupDimension::SetGroupInfo | ( | const ScDPNumGroupInfo & | rNew | ) |
Definition at line 525 of file dpdimsave.cxx.
References aGroupInfo.
Referenced by ScDBFunc::NumGroupDataPilot(), and ScDataPilotFieldObj::setGroupInfo().
|
mutableprivate |
Definition at line 139 of file dpdimsave.hxx.
Referenced by AddToCache(), and SetDateInfo().
|
private |
Definition at line 137 of file dpdimsave.hxx.
Referenced by AddToCache(), and AddToData().
|
mutableprivate |
Definition at line 138 of file dpdimsave.hxx.
Referenced by AddToCache(), AddToData(), and SetGroupInfo().
|
private |
Definition at line 140 of file dpdimsave.hxx.
Referenced by AddToCache(), AddToData(), and SetDateInfo().