Lines Matching refs:pDPObj
267 ScDPObject* pDPObj = (*pColl)[i]; in lcl_GetDPObject() local
268 if ( pDPObj->GetOutRange().aStart.Tab() == nTab && in lcl_GetDPObject()
269 pDPObj->GetName() == rName ) in lcl_GetDPObject()
270 return pDPObj; in lcl_GetDPObject()
289 sal_Int32 lcl_GetObjectIndex( ScDPObject* pDPObj, const ScFieldIdentifier& rFieldId ) in lcl_GetObjectIndex() argument
292 if ( pDPObj ) in lcl_GetObjectIndex()
294 sal_Int32 nCount = pDPObj->GetDimCount(); in lcl_GetObjectIndex()
298 OUString aDimName( pDPObj->GetDimName( nDim, bIsDataLayout ) ); in lcl_GetObjectIndex()
347 ScDPObject* pDPObj = (*pColl)[i]; in GetObjectByIndex_Impl() local
348 if ( pDPObj->GetOutRange().aStart.Tab() == nTab ) in GetObjectByIndex_Impl()
352 String aName = pDPObj->GetName(); in GetObjectByIndex_Impl()
462 ScDPObject* pDPObj = lcl_GetDPObject( pDocShell, nTab, aNameStr ); in removeByName() local
463 if (pDPObj && pDocShell) in removeByName()
466 aFunc.DataPilotUpdate( pDPObj, NULL, sal_True, sal_True ); // remove - incl. undo etc. in removeByName()
497 ScDPObject* pDPObj = (*pColl)[i]; in getCount() local
498 if ( pDPObj->GetOutRange().aStart.Tab() == nTab ) in getCount()
559 ScDPObject* pDPObj = (*pColl)[i]; in getElementNames() local
560 if ( pDPObj->GetOutRange().aStart.Tab() == nTab ) in getElementNames()
569 ScDPObject* pDPObj = (*pColl)[i]; in getElementNames() local
570 if ( pDPObj->GetOutRange().aStart.Tab() == nTab ) in getElementNames()
571 pAry[nPos++] = pDPObj->GetName(); in getElementNames()
594 ScDPObject* pDPObj = (*pColl)[i]; in hasByName() local
595 if ( pDPObj->GetOutRange().aStart.Tab() == nTab && in hasByName()
596 pDPObj->GetName() == aNamStr ) in hasByName()
1197 ScDPObject* pDPObj = lcl_GetDPObject(pDocSh, nTab, aName); in SetDPObject() local
1198 if ( pDPObj && pDocSh ) in SetDPObject()
1201 aFunc.DataPilotUpdate( pDPObj, pDPObject, sal_True, sal_True ); in SetDPObject()
1210 ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName); in getName() local
1211 if (pDPObj) in getName()
1212 return pDPObj->GetName(); in getName()
1220 ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName); in setName() local
1221 if (pDPObj) in setName()
1226 pDPObj->SetName( aString ); //! Undo - DBDocFunc ??? in setName()
1237 ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName); in getTag() local
1238 if (pDPObj) in getTag()
1239 return pDPObj->GetTag(); in getTag()
1247 ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName); in setTag() local
1248 if (pDPObj) in setTag()
1251 pDPObj->SetTag( aString ); //! Undo - DBDocFunc ??? in setTag()
1264 ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName); in getOutputRange() local
1265 if (pDPObj) in getOutputRange()
1267 ScRange aRange(pDPObj->GetOutRange()); in getOutputRange()
1277 sal_uLong RefreshDPObject( ScDPObject *pDPObj, ScDocument *pDoc, ScDocShell *pDocSh, sal_Bool bReco…
1282 if( ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName) ) in refresh() local
1283 RefreshDPObject( pDPObj, NULL, GetDocShell(), sal_True, sal_True ); in refresh()
1326 ScDPObject* pDPObj = GetDPObject(); in insertDrillDownSheet() local
1327 if (!pDPObj) in insertDrillDownSheet()
1331 pDPObj->GetDataFieldPositionData( in insertDrillDownSheet()
1333 GetDocShell()->GetBestViewShell()->ShowDataPilotSourceData(*pDPObj, aFilters); in insertDrillDownSheet()
1344 if (ScDPObject* pDPObj = lcl_GetDPObject(GetDocShell(), nTab, aName)) in getOutputRangeByType() local
1345 ScUnoConversion::FillApiRange( aRet, pDPObj->GetOutputRangeByType( nType ) ); in getOutputRangeByType()
1529 if( ScDPObject* pDPObj = GetDPObject() ) in GetDPDimension() local
1531 if( ppDPObject ) *ppDPObject = pDPObj; in GetDPDimension()
1532 if( ScDPSaveData* pSaveData = pDPObj->GetSaveData() ) in GetDPDimension()
1575 if( ScDPObject* pDPObj = GetDPObject() ) in GetMembers() local
1576 pDPObj->GetMembersNA( lcl_GetObjectIndex( pDPObj, maFieldId ), xMembersNA ); in GetMembers()
1715 sal_Bool lcl_GetFieldDataByName( ScDPObject* pDPObj, const OUString& rFieldName, ScFieldIdentifier&… in lcl_GetFieldDataByName() argument
1723 pDPObj->GetSource(); // IsDimNameInUse doesn't update source data in lcl_GetFieldDataByName()
1726 return rFieldId.mbDataLayout || pDPObj->IsDimNameInUse( rFieldName ); in lcl_GetFieldDataByName()
1745 if (ScDPObject* pDPObj = GetDPObject()) in GetObjectByName_Impl() local
1748 if (lcl_GetFieldDataByName( pDPObj, aName, aFieldId )) in GetObjectByName_Impl()
1769 ScDPObject* pDPObj = GetDPObject(); in getCount() local
1770 return pDPObj ? lcl_GetFieldCount( pDPObj->GetSource(), maOrient ) : 0; in getCount()
1810 if (ScDPObject* pDPObj = GetDPObject()) in getElementNames() local
1812 Sequence< OUString > aSeq( lcl_GetFieldCount( pDPObj->GetSource(), maOrient ) ); in getElementNames()
1814 const List& rDimensions = pDPObj->GetSaveData()->GetDimensions(); in getElementNames()
1883 ScDPObject* pDPObj = 0; in setName() local
1884 ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ); in setName()
1889 SetDPObject( pDPObj ); in setName()
2087 ScDPObject* pDPObj = 0; in setOrientation() local
2088 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setOrientation()
2090 ScDPSaveData* pSaveData = pDPObj->GetSaveData(); in setOrientation()
2132 SetDPObject( pDPObj ); in setOrientation()
2161 ScDPObject* pDPObj = 0; in setFunction() local
2162 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setFunction()
2177 SetDPObject( pDPObj ); in setFunction()
2205 ScDPObject* pDPObj = 0; in setSubtotals() local
2206 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setSubtotals()
2244 SetDPObject( pDPObj ); in setSubtotals()
2260 ScDPObject* pDPObj = 0; in setCurrentPage() local
2261 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setCurrentPage()
2265 SetDPObject( pDPObj ); in setCurrentPage()
2279 ScDPObject* pDPObj = 0; in setUseCurrentPage() local
2280 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setUseCurrentPage()
2294 SetDPObject( pDPObj ); in setUseCurrentPage()
2308 ScDPObject* pDPObj = 0; in setAutoShowInfo() local
2309 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setAutoShowInfo()
2312 SetDPObject( pDPObj ); in setAutoShowInfo()
2326 ScDPObject* pDPObj = 0; in setLayoutInfo() local
2327 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setLayoutInfo()
2330 SetDPObject( pDPObj ); in setLayoutInfo()
2344 ScDPObject* pDPObj = 0; in setReference() local
2345 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setReference()
2348 SetDPObject( pDPObj ); in setReference()
2362 ScDPObject* pDPObj = 0; in setSortInfo() local
2363 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setSortInfo()
2366 SetDPObject( pDPObj ); in setSortInfo()
2380 ScDPObject* pDPObj = 0; in setShowEmpty() local
2381 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setShowEmpty()
2384 SetDPObject( pDPObj ); in setShowEmpty()
2391 ScDPObject* pDPObj = 0; in hasGroupInfo() local
2392 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in hasGroupInfo()
2393 … if( const ScDPDimensionSaveData* pDimData = pDPObj->GetSaveData()->GetExistingDimensionData() ) in hasGroupInfo()
2402 ScDPObject* pDPObj = 0; in getGroupInfo() local
2403 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in getGroupInfo()
2405 … if( const ScDPDimensionSaveData* pDimData = pDPObj->GetSaveData()->GetExistingDimensionData() ) in getGroupInfo()
2462 ScDPObject* pDPObj = 0; in setGroupInfo() local
2463 if( /*ScDPSaveDimension* pDim =*/ GetDPDimension( &pDPObj ) ) in setGroupInfo()
2465 ScDPSaveData* pSaveData = pDPObj->GetSaveData(); in setGroupInfo()
2546 pDPObj->SetSaveData( *pSaveData ); in setGroupInfo()
2547 SetDPObject( pDPObj ); in setGroupInfo()
2578 ScDPObject* pDPObj = 0; in createNameGroup() local
2579 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in createNameGroup()
2583 ScDPSaveData aSaveData = *pDPObj->GetSaveData(); in createNameGroup()
2627 … String aGroupDimName = pDimData->CreateGroupDimName( aBaseDimName, *pDPObj, false, NULL ); in createNameGroup()
2714 pDPObj->SetSaveData( aSaveData ); in createNameGroup()
2715 SetDPObject( pDPObj ); in createNameGroup()
2748 ScDPObject* pDPObj = 0; in createDateGroup() local
2749 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in createDateGroup()
2761 ScDPSaveData aSaveData = *pDPObj->GetSaveData(); in createDateGroup()
2810 aGroupDimName = rDimData.CreateDateGroupDimName( rInfo.GroupBy, *pDPObj, true, 0 ); in createDateGroup()
2826 pDPObj->SetSaveData( aSaveData ); in createDateGroup()
2827 SetDPObject( pDPObj ); in createDateGroup()
3318 if( ScDPObject* pDPObj = GetDPObject() ) in getElementNames() local
3319 pDPObj->GetMemberNames( lcl_GetObjectIndex( pDPObj, maFieldId ), aSeq ); in getElementNames()
3437 ScDPObject* pDPObj = 0; in setPropertyValue() local
3438 if( ScDPSaveDimension* pDim = GetDPDimension( &pDPObj ) ) in setPropertyValue()
3469 SetDPObject( pDPObj ); in setPropertyValue()