Lines Matching refs:pDPObj
642 ScDPObject* pDPObj = pDoc->GetDPAtCursor( in MakePivotTable() local
647 if ( pDPObj && !rData.GetExistingDimensionData() ) in MakePivotTable()
653 const ScDPSaveData* pOldData = pDPObj->GetSaveData(); in MakePivotTable()
664 sal_Bool bAllowMove = ( pDPObj != NULL ); // allow re-positioning when editing existing table in MakePivotTable()
667 bool bSuccess = aFunc.DataPilotUpdate( pDPObj, &aObj, sal_True, sal_False, bAllowMove ); in MakePivotTable()
684 ScDPObject* pDPObj = pDoc->GetDPAtCursor( GetViewData()->GetCurX(), in DeletePivotTable() local
687 if ( pDPObj ) in DeletePivotTable()
690 aFunc.DataPilotUpdate( pDPObj, NULL, sal_True, sal_False ); in DeletePivotTable()
696 sal_uLong RefreshDPObject( ScDPObject *pDPObj, ScDocument *pDoc, ScDocShell *pDocSh, sal_Bool bReco… in RefreshDPObject() argument
698 if( !pDPObj ) in RefreshDPObject()
710 if( sal_uLong nErrId = pDPObj->RefreshCache() ) in RefreshDPObject()
719 if ( (*pDPCollection)[i]->GetCacheId() == pDPObj->GetCacheId() ) in RefreshDPObject()
740 ScDPObject* pDPObj = pDoc->GetDPAtCursor( GetViewData()->GetCurX(), in RecalcPivotTable() local
743 if ( pDPObj ) in RecalcPivotTable()
750 …sal_uLong nErrId = RefreshDPObject( pDPObj, pDoc, pDocSh, sal_True, sal_False );//pDPObj->RefreshC… in RecalcPivotTable()
769 ScDPObject* pDPObj = GetViewData()->GetDocument()->GetDPAtCursor( GetViewData()->GetCurX(), in GetSelectedMemberList() local
771 if ( !pDPObj ) in GetSelectedMemberList()
796 pDPObj->GetHeaderPositionData(ScAddress(nCol, nRow, nTab), aData); in GetSelectedMemberList()
844 ScDPObject* pDPObj = pDoc->GetDPAtCursor( nCurX, nCurY, nTab ); in HasSelectionForDateGroup() local
845 if ( pDPObj ) in HasSelectionForDateGroup()
854 String aDimName = pDPObj->GetDimName( nSelectDimension, bIsDataLayout ); in HasSelectionForDateGroup()
861 … const_cast<ScDPDimensionSaveData*>( pDPObj->GetSaveData()->GetExistingDimensionData() ); in HasSelectionForDateGroup()
957 ScDPObject* pDPObj = pDoc->GetDPAtCursor( nCurX, nCurY, nTab ); in HasSelectionForNumGroup() local
958 if ( pDPObj ) in HasSelectionForNumGroup()
967 String aDimName = pDPObj->GetDimName( nSelectDimension, bIsDataLayout ); in HasSelectionForNumGroup()
972 … const_cast<ScDPDimensionSaveData*>( pDPObj->GetSaveData()->GetExistingDimensionData() ); in HasSelectionForNumGroup()
1016 ScDPObject* pDPObj = GetViewData()->GetDocument()->GetDPAtCursor( GetViewData()->GetCurX(), in DateGroupDataPilot() local
1018 if ( pDPObj ) in DateGroupDataPilot()
1027 String aDimName = pDPObj->GetDimName( nSelectDimension, bIsDataLayout ); in DateGroupDataPilot()
1029 ScDPSaveData aData( *pDPObj->GetSaveData() ); in DateGroupDataPilot()
1111 … String aGroupDimName = pDimData->CreateDateGroupDimName( nMask, *pDPObj, true, &aDeletedNames ); in DateGroupDataPilot()
1133 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in DateGroupDataPilot()
1135 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in DateGroupDataPilot()
1146 ScDPObject* pDPObj = GetViewData()->GetDocument()->GetDPAtCursor( GetViewData()->GetCurX(), in NumGroupDataPilot() local
1148 if ( pDPObj ) in NumGroupDataPilot()
1157 String aDimName = pDPObj->GetDimName( nSelectDimension, bIsDataLayout ); in NumGroupDataPilot()
1159 ScDPSaveData aData( *pDPObj->GetSaveData() ); in NumGroupDataPilot()
1177 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in NumGroupDataPilot()
1179 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in NumGroupDataPilot()
1190 ScDPObject* pDPObj = GetViewData()->GetDocument()->GetDPAtCursor( GetViewData()->GetCurX(), in GroupDataPilot() local
1192 if ( pDPObj ) in GroupDataPilot()
1201 String aDimName = pDPObj->GetDimName( nSelectDimension, bIsDataLayout ); in GroupDataPilot()
1203 ScDPSaveData aData( *pDPObj->GetSaveData() ); in GroupDataPilot()
1247 … String aGroupDimName = pDimData->CreateGroupDimName( aBaseDimName, *pDPObj, false, NULL ); in GroupDataPilot()
1321 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in GroupDataPilot()
1323 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in GroupDataPilot()
1334 ScDPObject* pDPObj = GetViewData()->GetDocument()->GetDPAtCursor( GetViewData()->GetCurX(), in UngroupDataPilot() local
1336 if ( pDPObj ) in UngroupDataPilot()
1345 String aDimName = pDPObj->GetDimName( nSelectDimension, bIsDataLayout ); in UngroupDataPilot()
1347 ScDPSaveData aData( *pDPObj->GetSaveData() ); in UngroupDataPilot()
1380 pDPObj->GetMemberResultNames( aVisibleEntries, nSelectDimension ); in UngroupDataPilot()
1404 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in UngroupDataPilot()
1406 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in UngroupDataPilot()
1468 ScDPObject* pDPObj = pDoc->GetDPAtCursor( rPos.Col(), rPos.Row(), rPos.Tab() ); in DataPilotInput() local
1469 if (!pDPObj) in DataPilotInput()
1483 pDPObj->BuildAllDimensionMembers(); in DataPilotInput()
1484 ScDPSaveData aData( *pDPObj->GetSaveData() ); in DataPilotInput()
1488 long nField = pDPObj->GetHeaderDim( rPos, nOrient ); in DataPilotInput()
1501 if ( rString.Len() && !pDPObj->IsDimNameInUse(rString) ) in DataPilotInput()
1518 String aDimName = pDPObj->GetDimName(nField, bDataLayout); in DataPilotInput()
1529 else if (!pDPObj->IsDimNameInUse(rString)) in DataPilotInput()
1542 else if (pDPObj->IsDataDescriptionCell(rPos)) in DataPilotInput()
1555 else if (!pDPObj->IsDimNameInUse(rString)) in DataPilotInput()
1571 pDPObj->GetHeaderPositionData(rPos, aPosData); in DataPilotInput()
1578 String aDimName = pDPObj->GetDimName( aPosData.Dimension, bIsDataLayout ); in DataPilotInput()
1619 … String aDimName = pDPObj->GetDimName(static_cast<long>(aPosData.Dimension), bDataLayout); in DataPilotInput()
1643 else if (!pDPObj->IsDimNameInUse(rString)) in DataPilotInput()
1723 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in DataPilotInput()
1725 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in DataPilotInput()
1764 ScDPObject* pDPObj = pDoc->GetDPAtCursor(rPos.Col(), rPos.Row(), rPos.Tab()); in DataPilotSort() local
1765 if (!pDPObj) in DataPilotSort()
1770 pDPObj->BuildAllDimensionMembers(); in DataPilotSort()
1773 long nDimIndex = pDPObj->GetHeaderDim(rPos, nOrientation); in DataPilotSort()
1779 ScDPSaveData* pSaveData = pDPObj->GetSaveData(); in DataPilotSort()
1784 String aDimName = pDPObj->GetDimName(nDimIndex, bDataLayout); in DataPilotSort()
1897 auto_ptr<ScDPObject> pNewObj(new ScDPObject(*pDPObj)); in DataPilotSort()
1901 return aFunc.DataPilotUpdate(pDPObj, pNewObj.get(), true, false); in DataPilotSort()
1908 …ScDPObject* pDPObj = pDoc->GetDPAtCursor( rSource.aStart.Col(), rSource.aStart.Row(), rSource.aSta… in DataPilotMove() local
1909 if ( pDPObj && pDPObj == pDoc->GetDPAtCursor( rDest.Col(), rDest.Row(), rDest.Tab() ) ) in DataPilotMove()
1912 pDPObj->GetHeaderPositionData( rDest, aDestData ); in DataPilotMove()
1924 … pDPObj->GetHeaderPositionData( ScAddress( nCol, nRow, rSource.aStart.Tab() ), aSourceData ); in DataPilotMove()
1941 String aDimName = pDPObj->GetDimName( aDestData.Dimension, bIsDataLayout ); in DataPilotMove()
1944 ScDPSaveData aData( *pDPObj->GetSaveData() ); in DataPilotMove()
1949 pDPObj->GetMemberNames( aDestData.Dimension, aMemberNames ); in DataPilotMove()
1985 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in DataPilotMove()
1987 … aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); //! bApi for drag&drop? in DataPilotMove()
2004 ScDPObject* pDPObj = GetViewData()->GetDocument()->GetDPAtCursor( GetViewData()->GetCurX(), in HasSelectionForDrillDown() local
2006 if ( pDPObj ) in HasSelectionForDrillDown()
2015 String aDimName = pDPObj->GetDimName( nSelectDimension, bIsDataLayout ); in HasSelectionForDrillDown()
2018 ScDPSaveData* pSaveData = pDPObj->GetSaveData(); in HasSelectionForDrillDown()
2039 ScDPObject* pDPObj = GetViewData()->GetDocument()->GetDPAtCursor( GetViewData()->GetCurX(), in SetDataPilotDetails() local
2041 if ( pDPObj ) in SetDataPilotDetails()
2050 String aDimName = pDPObj->GetDimName( nSelectDimension, bIsDataLayout ); in SetDataPilotDetails()
2053 ScDPSaveData aData( *pDPObj->GetSaveData() ); in SetDataPilotDetails()
2094 pDPObj->GetMemberResultNames( aVisibleEntries, nSelectDimension ); in SetDataPilotDetails()
2115 ScDPObject* pNewObj = new ScDPObject( *pDPObj ); in SetDataPilotDetails()
2117 aFunc.DataPilotUpdate( pDPObj, pNewObj, sal_True, sal_False ); in SetDataPilotDetails()