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

#include <dpobject.hxx>

Collaboration diagram for ScDPObject:
[legend]

Public Member Functions

 ScDPObject (ScDocument *pD)
 
 ScDPObject (const ScDPObject &r)
 
 ~ScDPObject ()
 
ScDPObjectoperator= (const ScDPObject &r)
 
void EnableGetPivotData (bool b)
 
void SetAllowMove (bool bSet)
 
void InvalidateData ()
 
void Clear ()
 
void ClearTableData ()
 
void ReloadGroupTableData ()
 
void Output (const ScAddress &rPos)
 
ScRange GetNewOutputRange (bool &rOverflow)
 
ScRange GetOutputRangeByType (sal_Int32 nType)
 
ScRange GetOutputRangeByType (sal_Int32 nType) const
 
void SetSaveData (const ScDPSaveData &rData)
 
ScDPSaveDataGetSaveData () const
 
void SetOutRange (const ScRange &rRange)
 
const ScRangeGetOutRange () const
 
void SetHeaderLayout (bool bUseGrid)
 
bool GetHeaderLayout () const
 
void SetSheetDesc (const ScSheetSourceDesc &rDesc)
 
void SetImportDesc (const ScImportSourceDesc &rDesc)
 
void SetServiceData (const ScDPServiceDesc &rDesc)
 
void WriteSourceDataTo (ScDPObject &rDest) const
 
void WriteTempDataTo (ScDPObject &rDest) const
 
const ScSheetSourceDescGetSheetDesc () const
 
const ScImportSourceDescGetImportSourceDesc () const
 
const ScDPServiceDescGetDPServiceDesc () const
 
css::uno::Reference< css::sheet::XDimensionsSupplier > const & GetSource ()
 
bool IsSheetData () const
 
bool IsImportData () const
 
bool IsServiceData () const
 
void SetName (const OUString &rNew)
 
const OUString & GetName () const
 
void SetTag (const OUString &rNew)
 
const OUString & GetTag () const
 
bool IsDataDescriptionCell (const ScAddress &rPos)
 Data description cell displays the description of a data dimension if and only if there is only one data dimension. More...
 
bool IsDimNameInUse (std::u16string_view rName) const
 
OUString GetDimName (tools::Long nDim, bool &rIsDataLayout, sal_Int32 *pFlags=nullptr)
 
bool IsDuplicated (tools::Long nDim)
 
tools::Long GetDimCount ()
 
void GetHeaderPositionData (const ScAddress &rPos, css::sheet::DataPilotTableHeaderData &rData)
 
tools::Long GetHeaderDim (const ScAddress &rPos, css::sheet::DataPilotFieldOrientation &rOrient)
 
bool GetHeaderDrag (const ScAddress &rPos, bool bMouseLeft, bool bMouseTop, tools::Long nDragDim, tools::Rectangle &rPosRect, css::sheet::DataPilotFieldOrientation &rOrient, tools::Long &rDimPos)
 
bool IsFilterButton (const ScAddress &rPos)
 
OUString GetFormattedString (std::u16string_view rDimName, const double fValue)
 
double GetPivotData (const OUString &rDataFieldName, std::vector< css::sheet::DataPilotFieldFilter > &rFilters)
 
bool ParseFilters (OUString &rDataFieldName, std::vector< css::sheet::DataPilotFieldFilter > &rFilters, std::vector< sal_Int16 > &rFilterFuncs, std::u16string_view rFilterList)
 
void GetMemberResultNames (ScDPUniqueStringSet &rNames, tools::Long nDimension)
 
void ToggleDetails (const css::sheet::DataPilotTableHeaderData &rElemDesc, ScDPObject *pDestObj)
 
void FillOldParam (ScPivotParam &rParam) const
 
void FillLabelData (sal_Int32 nDim, ScDPLabelData &Labels)
 
void FillLabelData (ScPivotParam &rParam)
 
void GetFieldIdsNames (css::sheet::DataPilotFieldOrientation nOrient, std::vector< tools::Long > &rIndices, std::vector< OUString > &rNames)
 
bool GetHierarchiesNA (sal_Int32 nDim, css::uno::Reference< css::container::XNameAccess > &xHiers)
 
void GetHierarchies (sal_Int32 nDim, css::uno::Sequence< OUString > &rHiers)
 
sal_Int32 GetUsedHierarchy (sal_Int32 nDim)
 
bool GetMembersNA (sal_Int32 nDim, css::uno::Reference< css::sheet::XMembersAccess > &xMembers)
 
bool GetMembersNA (sal_Int32 nDim, sal_Int32 nHier, css::uno::Reference< css::sheet::XMembersAccess > &xMembers)
 
bool GetMemberNames (sal_Int32 nDim, css::uno::Sequence< OUString > &rNames)
 
bool GetMembers (sal_Int32 nDim, sal_Int32 nHier, ::std::vector< ScDPLabelData::Member > &rMembers)
 
void UpdateReference (UpdateRefMode eUpdateRefMode, const ScRange &r, SCCOL nDx, SCROW nDy, SCTAB nDz)
 
bool RefsEqual (const ScDPObject &r) const
 
void WriteRefsTo (ScDPObject &r) const
 
void GetPositionData (const ScAddress &rPos, css::sheet::DataPilotTablePositionData &rPosData)
 
bool GetDataFieldPositionData (const ScAddress &rPos, css::uno::Sequence< css::sheet::DataPilotFieldFilter > &rFilters)
 
void GetDrillDownData (const ScAddress &rPos, css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &rTableData)
 
void RefreshAfterLoad ()
 
void BuildAllDimensionMembers ()
 
bool SyncAllDimensionMembers ()
 Remove in the save data entries for members that don't exist anymore. More...
 
void PutInteropGrabBag (std::map< OUString, css::uno::Any > &&val)
 
std::pair< bool, css::uno::Any > GetInteropGrabBagValue (const OUString &sName) const
 
void Dump () const
 
void DumpCache () const
 

Static Public Member Functions

static bool HasRegisteredSources ()
 
static std::vector< OUString > GetRegisteredSources ()
 
static css::uno::Reference< css::sheet::XDimensionsSupplier > CreateSource (const ScDPServiceDesc &rDesc)
 
static void ConvertOrientation (ScDPSaveData &rSaveData, const ScPivotFieldVector &rFields, css::sheet::DataPilotFieldOrientation nOrient, const css::uno::Reference< css::sheet::XDimensionsSupplier > &xSource, const ScDPLabelDataVector &rLabels, const ScPivotFieldVector *pRefColFields=nullptr, const ScPivotFieldVector *pRefRowFields=nullptr, const ScPivotFieldVector *pRefPageFields=nullptr)
 
static bool IsOrientationAllowed (css::sheet::DataPilotFieldOrientation nOrient, sal_Int32 nDimFlags)
 

Private Member Functions

SAL_DLLPRIVATE ScDPTableDataGetTableData ()
 
SAL_DLLPRIVATE void CreateObjects ()
 
SAL_DLLPRIVATE void CreateOutput ()
 
SAL_DLLPRIVATE void ClearSource ()
 
SAL_DLLPRIVATE void FillLabelDataForDimension (const css::uno::Reference< css::container::XIndexAccess > &xDims, sal_Int32 nDim, ScDPLabelData &rLabelData)
 

Private Attributes

ScDocumentpDoc
 
std::unique_ptr< ScDPSaveDatapSaveData
 
OUString aTableName
 
OUString aTableTag
 
ScRange aOutRange
 
std::unique_ptr< ScSheetSourceDescpSheetDesc
 
std::unique_ptr< ScImportSourceDescpImpDesc
 
std::unique_ptr< ScDPServiceDescpServDesc
 
std::shared_ptr< ScDPTableDatampTableData
 
css::uno::Reference< css::sheet::XDimensionsSupplier > xSource
 
std::unique_ptr< ScDPOutputpOutput
 
std::map< OUString, css::uno::Any > maInteropGrabBag
 
sal_Int32 nHeaderRows
 
bool mbHeaderLayout:1
 
bool bAllowMove:1
 
bool bSettingsChanged:1
 
bool mbEnableGetPivotData:1
 

Detailed Description

Definition at line 83 of file dpobject.hxx.

Constructor & Destructor Documentation

◆ ScDPObject() [1/2]

ScDPObject::ScDPObject ( ScDocument pD)

Definition at line 310 of file dpobject.cxx.

◆ ScDPObject() [2/2]

ScDPObject::ScDPObject ( const ScDPObject r)

Definition at line 320 of file dpobject.cxx.

References pImpDesc, pSaveData, pServDesc, and pSheetDesc.

◆ ~ScDPObject()

ScDPObject::~ScDPObject ( )

Definition at line 343 of file dpobject.cxx.

References Clear().

Member Function Documentation

◆ BuildAllDimensionMembers()

void ScDPObject::BuildAllDimensionMembers ( )

◆ Clear()

void ScDPObject::Clear ( )

Definition at line 790 of file dpobject.cxx.

References ClearTableData(), maInteropGrabBag, pImpDesc, pOutput, pSaveData, pServDesc, and pSheetDesc.

Referenced by operator=(), and ~ScDPObject().

◆ ClearSource()

void ScDPObject::ClearSource ( )
private

Definition at line 857 of file dpobject.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, and xSource.

Referenced by ClearTableData(), and ReloadGroupTableData().

◆ ClearTableData()

void ScDPObject::ClearTableData ( )

Definition at line 801 of file dpobject.cxx.

References ClearSource(), and mpTableData.

Referenced by Clear(), SetImportDesc(), SetServiceData(), and SetSheetDesc().

◆ ConvertOrientation()

void ScDPObject::ConvertOrientation ( ScDPSaveData rSaveData,
const ScPivotFieldVector rFields,
css::sheet::DataPilotFieldOrientation  nOrient,
const css::uno::Reference< css::sheet::XDimensionsSupplier > &  xSource,
const ScDPLabelDataVector rLabels,
const ScPivotFieldVector pRefColFields = nullptr,
const ScPivotFieldVector pRefRowFields = nullptr,
const ScPivotFieldVector pRefPageFields = nullptr 
)
static

◆ CreateObjects()

void ScDPObject::CreateObjects ( )
private

◆ CreateOutput()

void ScDPObject::CreateOutput ( )
private

◆ CreateSource()

uno::Reference< sheet::XDimensionsSupplier > ScDPObject::CreateSource ( const ScDPServiceDesc rDesc)
static

◆ Dump()

void ScDPObject::Dump ( ) const

◆ DumpCache()

void ScDPObject::DumpCache ( ) const

◆ EnableGetPivotData()

void ScDPObject::EnableGetPivotData ( bool  b)

Definition at line 377 of file dpobject.cxx.

References mbEnableGetPivotData.

◆ FillLabelData() [1/2]

void ScDPObject::FillLabelData ( sal_Int32  nDim,
ScDPLabelData Labels 
)

◆ FillLabelData() [2/2]

void ScDPObject::FillLabelData ( ScPivotParam rParam)

◆ FillLabelDataForDimension()

void ScDPObject::FillLabelDataForDimension ( const css::uno::Reference< css::container::XIndexAccess > &  xDims,
sal_Int32  nDim,
ScDPLabelData rLabelData 
)
private

◆ FillOldParam()

void ScDPObject::FillOldParam ( ScPivotParam rParam) const

◆ GetDataFieldPositionData()

bool ScDPObject::GetDataFieldPositionData ( const ScAddress rPos,
css::uno::Sequence< css::sheet::DataPilotFieldFilter > &  rFilters 
)

◆ GetDimCount()

tools::Long ScDPObject::GetDimCount ( )

Definition at line 1285 of file dpobject.cxx.

References xSource.

Referenced by lcl_GetObjectIndex(), and ScDPShowDetailDlg::ScDPShowDetailDlg().

◆ GetDimName()

OUString ScDPObject::GetDimName ( tools::Long  nDim,
bool &  rIsDataLayout,
sal_Int32 *  pFlags = nullptr 
)

◆ GetDPServiceDesc()

const ScDPServiceDesc * ScDPObject::GetDPServiceDesc ( ) const
inline

◆ GetDrillDownData()

void ScDPObject::GetDrillDownData ( const ScAddress rPos,
css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &  rTableData 
)

Definition at line 1168 of file dpobject.cxx.

References CreateOutput(), GetDataFieldPositionData(), and xSource.

Referenced by ScDataPilotTableObj::getDrillDownData().

◆ GetFieldIdsNames()

void ScDPObject::GetFieldIdsNames ( css::sheet::DataPilotFieldOrientation  nOrient,
std::vector< tools::Long > &  rIndices,
std::vector< OUString > &  rNames 
)

◆ GetFormattedString()

OUString ScDPObject::GetFormattedString ( std::u16string_view  rDimName,
const double  fValue 
)

◆ GetHeaderDim()

tools::Long ScDPObject::GetHeaderDim ( const ScAddress rPos,
css::sheet::DataPilotFieldOrientation &  rOrient 
)

◆ GetHeaderDrag()

bool ScDPObject::GetHeaderDrag ( const ScAddress rPos,
bool  bMouseLeft,
bool  bMouseTop,
tools::Long  nDragDim,
tools::Rectangle rPosRect,
css::sheet::DataPilotFieldOrientation &  rOrient,
tools::Long rDimPos 
)

Definition at line 1426 of file dpobject.cxx.

References CreateOutput(), and pOutput.

Referenced by ScGridWindow::DPTestMouse().

◆ GetHeaderLayout()

bool ScDPObject::GetHeaderLayout ( ) const
inline

◆ GetHeaderPositionData()

void ScDPObject::GetHeaderPositionData ( const ScAddress rPos,
css::sheet::DataPilotTableHeaderData &  rData 
)

◆ GetHierarchies()

void ScDPObject::GetHierarchies ( sal_Int32  nDim,
css::uno::Sequence< OUString > &  rHiers 
)

Definition at line 2530 of file dpobject.cxx.

References GetHierarchiesNA().

Referenced by FillLabelDataForDimension().

◆ GetHierarchiesNA()

bool ScDPObject::GetHierarchiesNA ( sal_Int32  nDim,
css::uno::Reference< css::container::XNameAccess > &  xHiers 
)

Definition at line 2513 of file dpobject.cxx.

References GetSource().

Referenced by GetHierarchies().

◆ GetImportSourceDesc()

const ScImportSourceDesc * ScDPObject::GetImportSourceDesc ( ) const
inline

◆ GetInteropGrabBagValue()

std::pair< bool, css::uno::Any > ScDPObject::GetInteropGrabBagValue ( const OUString &  sName) const
inline

Definition at line 269 of file dpobject.hxx.

References sName.

Referenced by XclExpXmlPivotTables::SavePivotTableXml().

◆ GetMemberNames()

bool ScDPObject::GetMemberNames ( sal_Int32  nDim,
css::uno::Sequence< OUString > &  rNames 
)

Definition at line 997 of file dpobject.cxx.

References GetMembers(), GetUsedHierarchy(), i, maName, and n.

Referenced by ScDBFunc::DataPilotMove().

◆ GetMemberResultNames()

void ScDPObject::GetMemberResultNames ( ScDPUniqueStringSet rNames,
tools::Long  nDimension 
)

Definition at line 1434 of file dpobject.cxx.

References CreateOutput(), and pOutput.

Referenced by ScDBFunc::SetDataPilotDetails(), and ScDBFunc::UngroupDataPilot().

◆ GetMembers()

bool ScDPObject::GetMembers ( sal_Int32  nDim,
sal_Int32  nHier,
::std::vector< ScDPLabelData::Member > &  rMembers 
)

◆ GetMembersNA() [1/2]

bool ScDPObject::GetMembersNA ( sal_Int32  nDim,
css::uno::Reference< css::sheet::XMembersAccess > &  xMembers 
)

Referenced by GetMembers().

◆ GetMembersNA() [2/2]

bool ScDPObject::GetMembersNA ( sal_Int32  nDim,
sal_Int32  nHier,
css::uno::Reference< css::sheet::XMembersAccess > &  xMembers 
)

◆ GetName()

const OUString & ScDPObject::GetName ( ) const
inline

◆ GetNewOutputRange()

ScRange ScDPObject::GetNewOutputRange ( bool &  rOverflow)

Definition at line 874 of file dpobject.cxx.

References aOutRange, ScRange::aStart, CreateOutput(), and pOutput.

Referenced by ScDBDocFunc::CreatePivotTable().

◆ GetOutputRangeByType() [1/2]

ScRange ScDPObject::GetOutputRangeByType ( sal_Int32  nType)

◆ GetOutputRangeByType() [2/2]

ScRange ScDPObject::GetOutputRangeByType ( sal_Int32  nType) const

Definition at line 921 of file dpobject.cxx.

References ScAddress::INITIALIZE_INVALID, nType, and pOutput.

◆ GetOutRange()

const ScRange & ScDPObject::GetOutRange ( ) const

◆ GetPivotData()

double ScDPObject::GetPivotData ( const OUString &  rDataFieldName,
std::vector< css::sheet::DataPilotFieldFilter > &  rFilters 
)

◆ GetPositionData()

void ScDPObject::GetPositionData ( const ScAddress rPos,
css::sheet::DataPilotTablePositionData &  rPosData 
)

Definition at line 1144 of file dpobject.cxx.

References CreateOutput(), and pOutput.

Referenced by ScDataPilotTableObj::getPositionData().

◆ GetRegisteredSources()

std::vector< OUString > ScDPObject::GetRegisteredSources ( )
static

Definition at line 2787 of file dpobject.cxx.

References comphelper::getProcessServiceFactory(), SCDPSOURCE_SERVICE, and sName.

◆ GetSaveData()

ScDPSaveData * ScDPObject::GetSaveData ( ) const
inline

Definition at line 141 of file dpobject.hxx.

Referenced by ScGridWindow::AcceptPrivateDrop(), XclExpPivotCache::AddGroupFields(), XclImpPivotTable::ApplyFieldInfo(), oox::xls::PivotTableField::convertPageField(), oox::xls::PivotTableField::convertRowColPageField(), ScDataPilotFieldObj::createDateGroup(), ScDataPilotFieldObj::createNameGroup(), XclExpPivotTableManager::CreatePivotCache(), ScDBDocFunc::CreatePivotTable(), ScDBFunc::DataPilotInput(), ScDBFunc::DataPilotMove(), ScDBFunc::DataPilotSort(), ScDBDocFunc::DataPilotUpdate(), ScDBFunc::DateGroupDataPilot(), ScGridWindow::DoPushPivotToggle(), ScGridWindow::DPTestMouse(), oox::xls::PivotTable::finalizeFieldsImport(), oox::xls::PivotTable::finalizeImport(), ScDataPilotFieldObj::getGroupInfo(), ScDataPilotDescriptorBase::getPropertyValue(), ScDPCollection::GetReferenceGroups(), ScDBFunc::GroupDataPilot(), ScDataPilotFieldObj::hasGroupInfo(), ScDBFunc::HasSelectionForDateGroup(), ScDBFunc::HasSelectionForDrillDown(), ScDBFunc::HasSelectionForNumGroup(), XclPTViewEx9Info::Init(), XclExpPCField::InsertNumDateGroupItems(), lcl_FillDPFieldPopupData(), ScDBFunc::MakePivotTable(), ScGridWindow::MouseButtonUp(), ScDBFunc::NumGroupDataPilot(), ScDBDocFunc::RefreshPivotTableGroups(), ScDPCollection::ReloadGroupsInCache(), XclExpXmlPivotCaches::SavePivotCacheXml(), XclExpXmlPivotTables::SavePivotTableXml(), ScDPShowDetailDlg::ScDPShowDetailDlg(), ScPivotLayoutDialog::ScPivotLayoutDialog(), ScDBFunc::SetDataPilotDetails(), ScDataPilotFieldObj::setGroupInfo(), ScDataPilotFieldObj::setOrientation(), ScDataPilotDescriptorBase::setPropertyValue(), ScDBFunc::UngroupDataPilot(), ScGridWindow::UpdateDPFromFieldPopupMenu(), XclExpPCField::XclExpPCField(), and XclExpPivotTable::XclExpPivotTable().

◆ GetSheetDesc()

const ScSheetSourceDesc * ScDPObject::GetSheetDesc ( ) const
inline

◆ GetSource()

uno::Reference< sheet::XDimensionsSupplier > const & ScDPObject::GetSource ( )

◆ GetTableData()

ScDPTableData * ScDPObject::GetTableData ( )
private

◆ GetTag()

const OUString & ScDPObject::GetTag ( ) const
inline

Definition at line 169 of file dpobject.hxx.

Referenced by ScDataPilotTableObj::getTag().

◆ GetUsedHierarchy()

sal_Int32 ScDPObject::GetUsedHierarchy ( sal_Int32  nDim)

◆ HasRegisteredSources()

bool ScDPObject::HasRegisteredSources ( )
static

◆ InvalidateData()

void ScDPObject::InvalidateData ( )

◆ IsDataDescriptionCell()

bool ScDPObject::IsDataDescriptionCell ( const ScAddress rPos)

Data description cell displays the description of a data dimension if and only if there is only one data dimension.

It's usually located at the upper-left corner of the table output.

Definition at line 500 of file dpobject.cxx.

References ScRange::aStart, CreateOutput(), pOutput, pSaveData, and TABLE.

Referenced by ScDBFunc::DataPilotInput().

◆ IsDimNameInUse()

bool ScDPObject::IsDimNameInUse ( std::u16string_view  rName) const

◆ IsDuplicated()

bool ScDPObject::IsDuplicated ( tools::Long  nDim)

Definition at line 1256 of file dpobject.cxx.

References nDimCount, SC_UNO_DP_ORIGINAL, and xSource.

Referenced by ScDPShowDetailDlg::ScDPShowDetailDlg().

◆ IsFilterButton()

bool ScDPObject::IsFilterButton ( const ScAddress rPos)

Definition at line 1412 of file dpobject.cxx.

References CreateOutput(), and pOutput.

Referenced by ScGridWindow::DoPushPivotButton().

◆ IsImportData()

bool ScDPObject::IsImportData ( ) const
inline

◆ IsOrientationAllowed()

bool ScDPObject::IsOrientationAllowed ( css::sheet::DataPilotFieldOrientation  nOrient,
sal_Int32  nDimFlags 
)
static

◆ IsServiceData()

bool ScDPObject::IsServiceData ( ) const
inline

Definition at line 164 of file dpobject.hxx.

Referenced by ScCellShell::ExecuteEdit().

◆ IsSheetData()

bool ScDPObject::IsSheetData ( ) const

◆ operator=()

ScDPObject & ScDPObject::operator= ( const ScDPObject r)

◆ Output()

void ScDPObject::Output ( const ScAddress rPos)

◆ ParseFilters()

bool ScDPObject::ParseFilters ( OUString &  rDataFieldName,
std::vector< css::sheet::DataPilotFieldFilter > &  rFilters,
std::vector< sal_Int16 > &  rFilterFuncs,
std::u16string_view  rFilterList 
)

◆ PutInteropGrabBag()

void ScDPObject::PutInteropGrabBag ( std::map< OUString, css::uno::Any > &&  val)
inline

Definition at line 265 of file dpobject.hxx.

Referenced by oox::xls::PivotTable::finalizeImport().

◆ RefreshAfterLoad()

void ScDPObject::RefreshAfterLoad ( )

◆ RefsEqual()

bool ScDPObject::RefsEqual ( const ScDPObject r) const

Definition at line 1118 of file dpobject.cxx.

References aOutRange, and pSheetDesc.

◆ ReloadGroupTableData()

void ScDPObject::ReloadGroupTableData ( )

◆ SetAllowMove()

void ScDPObject::SetAllowMove ( bool  bSet)

Definition at line 382 of file dpobject.cxx.

References bAllowMove.

Referenced by ScDBDocFunc::DataPilotUpdate(), and ScDBDocFunc::UpdatePivotTable().

◆ SetHeaderLayout()

void ScDPObject::SetHeaderLayout ( bool  bUseGrid)

Definition at line 397 of file dpobject.cxx.

References mbHeaderLayout.

Referenced by XclImpPivotTable::ApplyMergeFlags().

◆ SetImportDesc()

void ScDPObject::SetImportDesc ( const ScImportSourceDesc rDesc)

◆ SetName()

void ScDPObject::SetName ( const OUString &  rNew)

◆ SetOutRange()

void ScDPObject::SetOutRange ( const ScRange rRange)

◆ SetSaveData()

void ScDPObject::SetSaveData ( const ScDPSaveData rData)

◆ SetServiceData()

void ScDPObject::SetServiceData ( const ScDPServiceDesc rDesc)

◆ SetSheetDesc()

void ScDPObject::SetSheetDesc ( const ScSheetSourceDesc rDesc)

◆ SetTag()

void ScDPObject::SetTag ( const OUString &  rNew)

Definition at line 495 of file dpobject.cxx.

References aTableTag.

Referenced by ScDataPilotTablesObj::insertNewByName(), and ScDataPilotTableObj::setTag().

◆ SyncAllDimensionMembers()

bool ScDPObject::SyncAllDimensionMembers ( )

Remove in the save data entries for members that don't exist anymore.

This is called during pivot table refresh.

Definition at line 974 of file dpobject.cxx.

References GetTableData(), pData, pSaveData, and pServDesc.

Referenced by ScDBDocFunc::CreatePivotTable(), ScDBDocFunc::DataPilotUpdate(), XclExpXmlPivotTableManager::Initialize(), and ScDBDocFunc::UpdatePivotTable().

◆ ToggleDetails()

void ScDPObject::ToggleDetails ( const css::sheet::DataPilotTableHeaderData &  rElemDesc,
ScDPObject pDestObj 
)

◆ UpdateReference()

void ScDPObject::UpdateReference ( UpdateRefMode  eUpdateRefMode,
const ScRange r,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz 
)

◆ WriteRefsTo()

void ScDPObject::WriteRefsTo ( ScDPObject r) const

Definition at line 1137 of file dpobject.cxx.

References aOutRange, pSheetDesc, SetOutRange(), and SetSheetDesc().

Referenced by ScDPCollection::WriteRefsTo().

◆ WriteSourceDataTo()

void ScDPObject::WriteSourceDataTo ( ScDPObject rDest) const

◆ WriteTempDataTo()

void ScDPObject::WriteTempDataTo ( ScDPObject rDest) const

Definition at line 480 of file dpobject.cxx.

References nHeaderRows.

Member Data Documentation

◆ aOutRange

ScRange ScDPObject::aOutRange
private

◆ aTableName

OUString ScDPObject::aTableName
private

Definition at line 89 of file dpobject.hxx.

Referenced by operator=(), SetName(), and WriteSourceDataTo().

◆ aTableTag

OUString ScDPObject::aTableTag
private

Definition at line 90 of file dpobject.hxx.

Referenced by operator=(), SetTag(), and WriteSourceDataTo().

◆ bAllowMove

bool ScDPObject::bAllowMove
private

Definition at line 106 of file dpobject.hxx.

Referenced by CreateOutput(), operator=(), and SetAllowMove().

◆ bSettingsChanged

bool ScDPObject::bSettingsChanged
private

Definition at line 107 of file dpobject.hxx.

Referenced by CreateObjects(), InvalidateData(), operator=(), and ReloadGroupTableData().

◆ maInteropGrabBag

std::map<OUString, css::uno::Any> ScDPObject::maInteropGrabBag
private

Definition at line 102 of file dpobject.hxx.

Referenced by Clear(), and operator=().

◆ mbEnableGetPivotData

bool ScDPObject::mbEnableGetPivotData
private

Definition at line 108 of file dpobject.hxx.

Referenced by EnableGetPivotData(), GetPivotData(), GetTableData(), and operator=().

◆ mbHeaderLayout

bool ScDPObject::mbHeaderLayout
private

Definition at line 105 of file dpobject.hxx.

Referenced by CreateOutput(), operator=(), and SetHeaderLayout().

◆ mpTableData

std::shared_ptr<ScDPTableData> ScDPObject::mpTableData
private

Definition at line 95 of file dpobject.hxx.

Referenced by ClearTableData(), GetTableData(), ParseFilters(), and ReloadGroupTableData().

◆ nHeaderRows

sal_Int32 ScDPObject::nHeaderRows
private

Definition at line 104 of file dpobject.hxx.

Referenced by CreateOutput(), operator=(), RefreshAfterLoad(), and WriteTempDataTo().

◆ pDoc

ScDocument* ScDPObject::pDoc
private

◆ pImpDesc

std::unique_ptr<ScImportSourceDesc> ScDPObject::pImpDesc
private

◆ pOutput

std::unique_ptr<ScDPOutput> ScDPObject::pOutput
private

◆ pSaveData

std::unique_ptr<ScDPSaveData> ScDPObject::pSaveData
private

◆ pServDesc

std::unique_ptr<ScDPServiceDesc> ScDPObject::pServDesc
private

◆ pSheetDesc

std::unique_ptr<ScSheetSourceDesc> ScDPObject::pSheetDesc
private

◆ xSource

css::uno::Reference<css::sheet::XDimensionsSupplier> ScDPObject::xSource
private

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