Lines Matching refs:i
255 for (long i = 0; i < nPropCount; i++) in FillImportParam() local
257 const beans::PropertyValue& rProp = pPropArray[i]; in FillImportParam()
341 for (sal_uInt16 i=0; i<nSortCount; i++) in FillProperties() local
343 pFieldArray[i].Field = rParam.nField[i]; in FillProperties()
344 pFieldArray[i].IsAscending = rParam.bAscending[i]; in FillProperties()
345 pFieldArray[i].FieldType = table::TableSortFieldType_AUTOMATIC; // immer Automatic in FillProperties()
346 pFieldArray[i].IsCaseSensitive = rParam.bCaseSens; in FillProperties()
347 pFieldArray[i].CollatorLocale = rParam.aCollatorLocale; in FillProperties()
348 pFieldArray[i].CollatorAlgorithm = rtl::OUString( rParam.aCollatorAlgorithm ); in FillProperties()
425 sal_Int32 i; in FillSortParam() local
432 for (i=0; i<nCount; i++) in FillSortParam()
434 rParam.nField[i] = (SCCOLROW)pFieldArray[i].Field; in FillSortParam()
435 rParam.bAscending[i] = pFieldArray[i].SortAscending; in FillSortParam()
438 rParam.bDoSort[i] = sal_True; in FillSortParam()
440 for (i=nCount; i<MAXSORT; i++) in FillSortParam()
441 rParam.bDoSort[i] = sal_False; in FillSortParam()
447 sal_Int32 i; in FillSortParam() local
454 for (i=0; i<nCount; i++) in FillSortParam()
456 rParam.nField[i] = (SCCOLROW)pFieldArray[i].Field; in FillSortParam()
457 rParam.bAscending[i] = pFieldArray[i].IsAscending; in FillSortParam()
460 rParam.bCaseSens = pFieldArray[i].IsCaseSensitive; in FillSortParam()
461 rParam.aCollatorLocale = pFieldArray[i].CollatorLocale; in FillSortParam()
462 rParam.aCollatorAlgorithm = pFieldArray[i].CollatorAlgorithm; in FillSortParam()
465 rParam.bDoSort[i] = sal_True; in FillSortParam()
467 for (i=nCount; i<MAXSORT; i++) in FillSortParam()
468 rParam.bDoSort[i] = sal_False; in FillSortParam()
559 for (SCCOL i=0; i<nCount; i++) in getSubTotalColumns() local
561 pAry[i].Column = aParam.pSubTotals[nPos][i]; in getSubTotalColumns()
562 pAry[i].Function = ScDataUnoConversion::SubTotalToGeneral( in getSubTotalColumns()
563 aParam.pFunctions[nPos][i] ); in getSubTotalColumns()
587 for (SCCOL i=0; i<nCount; i++) in setSubTotalColumns() local
589 aParam.pSubTotals[nPos][i] = static_cast<SCCOL>(pAry[i].Column); in setSubTotalColumns()
590 aParam.pFunctions[nPos][i] = in setSubTotalColumns()
591 ScDataUnoConversion::GeneralToSubTotal( pAry[i].Function ); in setSubTotalColumns()
643 for (sal_uInt16 i=0; i<MAXSUBTOTAL; i++) in clear() local
644 aParam.bGroupActive[i] = sal_False; in clear()
681 for (SCCOL i=0; i<nCount; i++) in addNew() local
683 aParam.pSubTotals[nPos][i] = static_cast<SCCOL>(pAry[i].Column); in addNew()
684 aParam.pFunctions[nPos][i] = in addNew()
685 ScDataUnoConversion::GeneralToSubTotal( pAry[i].Function ); in addNew()
974 for (sal_uInt16 i=0; i<nCount; i++) in getSources() local
976 ScArea* pArea = aParam.ppDataAreas[i]; in getSources()
985 pAry[i] = aRange; in getSources()
1000 sal_uInt16 i; in setSources() local
1001 for (i=0; i<nCount; i++) in setSources()
1002 pNew[i] = new ScArea( pAry[i].Sheet, in setSources()
1003 static_cast<SCCOL>(pAry[i].StartColumn), pAry[i].StartRow, in setSources()
1004 static_cast<SCCOL>(pAry[i].EndColumn), pAry[i].EndRow ); in setSources()
1008 for (i=0; i<nCount; i++) in setSources()
1009 delete pNew[i]; in setSources()
1122 for (SCSIZE i=0; i<nCount; i++) in getFilterFields() local
1124 const ScQueryEntry& rEntry = aParam.GetEntry(i); in getFilterFields()
1170 pAry[i] = aField; in getFilterFields()
1191 for (SCSIZE i=0; i<nCount; i++) in getFilterFields2() local
1193 const ScQueryEntry& rEntry = aParam.GetEntry(i); in getFilterFields2()
1244 pAry[i] = aField; in getFilterFields2()
1263 SCSIZE i; in setFilterFields() local
1264 for (i=0; i<nCount; i++) in setFilterFields()
1266 ScQueryEntry& rEntry = aParam.GetEntry(i); in setFilterFields()
1271 rEntry.eConnect = (pAry[i].Connection == sheet::FilterConnection_AND) ? SC_AND : SC_OR; in setFilterFields()
1272 rEntry.nField = pAry[i].Field; in setFilterFields()
1273 rEntry.bQueryByString = !pAry[i].IsNumeric; in setFilterFields()
1274 *rEntry.pStr = String( pAry[i].StringValue ); in setFilterFields()
1275 rEntry.nVal = pAry[i].NumericValue; in setFilterFields()
1282 switch (pAry[i].Operator) // FilterOperator in setFilterFields()
1317 for (i=nCount; i<nParamCount; i++) in setFilterFields()
1318 aParam.GetEntry(i).bDoQuery = sal_False; // ueberzaehlige Felder zuruecksetzen in setFilterFields()
1337 SCSIZE i; in setFilterFields2() local
1338 for (i=0; i<nCount; i++) in setFilterFields2()
1340 ScQueryEntry& rEntry = aParam.GetEntry(i); in setFilterFields2()
1345 rEntry.eConnect = (pAry[i].Connection == sheet::FilterConnection_AND) ? SC_AND : SC_OR; in setFilterFields2()
1346 rEntry.nField = pAry[i].Field; in setFilterFields2()
1347 rEntry.bQueryByString = !pAry[i].IsNumeric; in setFilterFields2()
1348 *rEntry.pStr = String( pAry[i].StringValue ); in setFilterFields2()
1349 rEntry.nVal = pAry[i].NumericValue; in setFilterFields2()
1356 switch (pAry[i].Operator) // FilterOperator in setFilterFields2()
1397 for (i=nCount; i<nParamCount; i++) in setFilterFields2()
1398 aParam.GetEntry(i).bDoQuery = sal_False; // ueberzaehlige Felder zuruecksetzen in setFilterFields2()
1733 for (sal_uInt16 i=0; i<MAXSORT; i++) in getSortDescriptor() local
1734 if ( aParam.bDoSort[i] && aParam.nField[i] >= nFieldStart ) in getSortDescriptor()
1735 aParam.nField[i] -= nFieldStart; in getSortDescriptor()
1755 for (SCSIZE i=0; i<nCount; i++) in GetQueryParam() local
1757 ScQueryEntry& rEntry = rQueryParam.GetEntry(i); in GetQueryParam()
1776 for (SCSIZE i=0; i<nCount; i++) in SetQueryParam() local
1778 ScQueryEntry& rEntry = aParam.GetEntry(i); in SetQueryParam()
1809 for (sal_uInt16 i=0; i<MAXSUBTOTAL; i++) in GetSubTotalParam() local
1811 if ( rSubTotalParam.bGroupActive[i] ) in GetSubTotalParam()
1813 if ( rSubTotalParam.nField[i] >= nFieldStart ) in GetSubTotalParam()
1814 … rSubTotalParam.nField[i] = sal::static_int_cast<SCCOL>( rSubTotalParam.nField[i] - nFieldStart ); in GetSubTotalParam()
1815 for (SCCOL j=0; j<rSubTotalParam.nSubTotals[i]; j++) in GetSubTotalParam()
1816 if ( rSubTotalParam.pSubTotals[i][j] >= nFieldStart ) in GetSubTotalParam()
1817 rSubTotalParam.pSubTotals[i][j] = in GetSubTotalParam()
1818 … sal::static_int_cast<SCCOL>( rSubTotalParam.pSubTotals[i][j] - nFieldStart ); in GetSubTotalParam()
1834 for (sal_uInt16 i=0; i<MAXSUBTOTAL; i++) in SetSubTotalParam() local
1836 if ( aParam.bGroupActive[i] ) in SetSubTotalParam()
1838 aParam.nField[i] = sal::static_int_cast<SCCOL>( aParam.nField[i] + nFieldStart ); in SetSubTotalParam()
1839 for (SCCOL j=0; j<aParam.nSubTotals[i]; j++) in SetSubTotalParam()
1840 … aParam.pSubTotals[i][j] = sal::static_int_cast<SCCOL>( aParam.pSubTotals[i][j] + nFieldStart ); in SetSubTotalParam()
2331 for (sal_uInt16 i=0; i<nCount; i++) in getElementNames() local
2332 pAry[i] = (*pNames)[i]->GetName(); in getElementNames()