Lines Matching refs:pDBData
137 ScDBData* pDBData = pTabViewShell->GetDBData(); in lcl_GetSortParam() local
190 …pDBData->SetArea( nTab, aExternalRange.aStart.Col(), aExternalRange.aStart.Row(), aExternalRange.a… in lcl_GetSortParam()
264 … ScDBData* pDBData = pTabViewShell->GetDBData(sal_True,SC_DB_OLD); // don't create if none found in ExecuteDB() local
265 if (pDBData) in ExecuteDB()
266 pDBData->GetImportParam( aImportParam ); in ExecuteDB()
277 ScDBData* pDBData = pTabViewShell->GetDBData(sal_True,SC_DB_OLD); in ExecuteDB() local
278 if (pDBData) in ExecuteDB()
281 pDBData->GetImportParam( aImportParam ); in ExecuteDB()
282 if (aImportParam.bImport && !pDBData->HasImportSelection()) in ExecuteDB()
285 pDBData->SetImportParam( aImportParam ); //! Undo ?? in ExecuteDB()
300 ScDBData* pDBData = pTabViewShell->GetDBData(sal_True,SC_DB_OLD); in ExecuteDB() local
301 if (pDBData) in ExecuteDB()
307 pDBData->GetImportParam( aImportParam ); in ExecuteDB()
308 if (aImportParam.bImport && !pDBData->HasImportSelection()) in ExecuteDB()
311 pDBData->SetImportParam( aImportParam ); //! Undo ?? in ExecuteDB()
315 pDBData->GetArea(aNewRange); in ExecuteDB()
323 if ( pDBData->HasQueryParam() || pDBData->HasSortParam() || in ExecuteDB()
324 pDBData->HasSubTotalParam() ) in ExecuteDB()
330 pDBData->GetArea(aRange); in ExecuteDB()
360 ScDBData* pDBData = pTabViewShell->GetDBData(); in ExecuteDB() local
361 pDBData->GetSubTotalParam( aSubTotalParam ); in ExecuteDB()
414 ScDBData* pDBData = pTabViewShell->GetDBData(); in ExecuteDB() local
417 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
426 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
465 ScDBData* pDBData = pTabViewShell->GetDBData(); in ExecuteDB() local
468 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
474 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
528 ScDBData* pDBData = pTabViewShell->GetDBData(); in ExecuteDB() local
531 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
539 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
683 ScDBData* pDBData = pTabViewShell->GetDBData(); in ExecuteDB() local
685 pDBData->GetQueryParam( aParam ); in ExecuteDB()
870 ScDBData* pDBData = pTabViewShell->GetDBData(); in ExecuteDB()
873 pDBData->GetArea( nTab, nCol1, nRow1, nCol2, nRow2 ); in ExecuteDB()
882 else if (!pDBData->HasHeader()) in ExecuteDB()
889 pDBData->SetHeader( sal_True ); //! Undo ?? in ExecuteDB()
1252 ScDBData* pDBData = pTabViewShell->GetDBData(sal_False,SC_DB_OLD); in GetDBState() local
1253 if (pDBData && pDoc->GetChangeTrack() == NULL) in GetDBState()
1255 if ( pDBData->HasImportParam() ) in GetDBState()
1256 bOk = !pDBData->HasImportSelection(); in GetDBState()
1259 bOk = pDBData->HasQueryParam() || in GetDBState()
1260 pDBData->HasSortParam() || in GetDBState()
1261 pDBData->HasSubTotalParam(); in GetDBState()
1302 ScDBData* pDBData = pTabViewShell->GetDBData(sal_False,SC_DB_OLD); in GetDBState() local
1303 if (!pDBData || !pDBData->HasImportParam() || pDBData->HasImportSelection() || in GetDBState()
1381 ScDBData* pDBData = bSelected in GetDBState() local
1385 if ( pDBData ) in GetDBState()
1388 pDBData->GetQueryParam( aParam ); in GetDBState()