Lines Matching refs:aSortParam
413 ScSortParam aSortParam; in ExecuteDB() local
417 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
419 if( lcl_GetSortParam( pData, aSortParam ) ) in ExecuteDB()
426 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
427 …sal_Bool bHasHeader = pDoc->HasColHeader( aSortParam.nCol1, aSortParam.nRow1, aSortParam.nCol2, aS… in ExecuteDB()
429 if( nCol < aSortParam.nCol1 ) in ExecuteDB()
430 nCol = aSortParam.nCol1; in ExecuteDB()
431 else if( nCol > aSortParam.nCol2 ) in ExecuteDB()
432 nCol = aSortParam.nCol2; in ExecuteDB()
434 aSortParam.bHasHeader = bHasHeader; in ExecuteDB()
435 aSortParam.bByRow = sal_True; in ExecuteDB()
436 aSortParam.bCaseSens = sal_False; in ExecuteDB()
437 aSortParam.bIncludePattern = sal_True; in ExecuteDB()
438 aSortParam.bInplace = sal_True; in ExecuteDB()
439 aSortParam.bDoSort[0] = sal_True; in ExecuteDB()
440 aSortParam.nField[0] = nCol; in ExecuteDB()
441 aSortParam.bAscending[0] = (nSlotId == SID_SORT_ASCENDING); in ExecuteDB()
444 aSortParam.bDoSort[i] = sal_False; in ExecuteDB()
446 aArgSet.Put( ScSortItem( SCITEM_SORTDATA, GetViewData(), &aSortParam ) ); in ExecuteDB()
448 pTabViewShell->UISort( aSortParam ); // Teilergebnisse bei Bedarf neu in ExecuteDB()
464 ScSortParam aSortParam; in ExecuteDB() local
468 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
470 if( lcl_GetSortParam( pData, aSortParam ) ) in ExecuteDB()
474 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
475 …sal_Bool bHasHeader = pDoc->HasColHeader( aSortParam.nCol1, aSortParam.nRow1, aSortParam.nCol2, aS… in ExecuteDB()
477 aSortParam.bHasHeader = bHasHeader; in ExecuteDB()
479 aSortParam.bInplace = sal_True; // von Basic immer in ExecuteDB()
483 aSortParam.bByRow = ((const SfxBoolItem*)pItem)->GetValue(); in ExecuteDB()
485 aSortParam.bHasHeader = ((const SfxBoolItem*)pItem)->GetValue(); in ExecuteDB()
487 aSortParam.bCaseSens = ((const SfxBoolItem*)pItem)->GetValue(); in ExecuteDB()
489 aSortParam.bIncludePattern = ((const SfxBoolItem*)pItem)->GetValue(); in ExecuteDB()
493 aSortParam.bUserDef = ( nUserIndex != 0 ); in ExecuteDB()
495 aSortParam.nUserIndex = nUserIndex - 1; // Basic: 1-basiert in ExecuteDB()
501 aSortParam.bDoSort[0] = ( nField0 != 0 ); in ExecuteDB()
502 aSortParam.nField[0] = nField0 > 0 ? (nField0-1) : 0; in ExecuteDB()
504 aSortParam.bAscending[0] = ((const SfxBoolItem*)pItem)->GetValue(); in ExecuteDB()
508 aSortParam.bDoSort[1] = ( nField1 != 0 ); in ExecuteDB()
509 aSortParam.nField[1] = nField1 > 0 ? (nField1-1) : 0; in ExecuteDB()
511 aSortParam.bAscending[1] = ((const SfxBoolItem*)pItem)->GetValue(); in ExecuteDB()
515 aSortParam.bDoSort[2] = ( nField2 != 0 ); in ExecuteDB()
516 aSortParam.nField[2] = nField2 > 0 ? (nField2-1) : 0; in ExecuteDB()
518 aSortParam.bAscending[2] = ((const SfxBoolItem*)pItem)->GetValue(); in ExecuteDB()
521 pTabViewShell->UISort( aSortParam ); in ExecuteDB()
527 ScSortParam aSortParam; in ExecuteDB() local
531 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
533 if( lcl_GetSortParam( pData, aSortParam ) ) in ExecuteDB()
539 pDBData->GetSortParam( aSortParam ); in ExecuteDB()
540 …sal_Bool bHasHeader = pDoc->HasColHeader( aSortParam.nCol1, aSortParam.nRow1, aSortParam.nCol2, aS… in ExecuteDB()
542 aSortParam.bHasHeader = bHasHeader; in ExecuteDB()
544 aArgSet.Put( ScSortItem( SCITEM_SORTDATA, GetViewData(), &aSortParam ) ); in ExecuteDB()