Lines Matching refs:i

241 	sal_uLong i, nMax = SOT_FORMAT_FILE_LIST;  in RegisterFormatName()  local
242 for( i = SOT_FORMAT_STRING; i <= nMax; ++i ) in RegisterFormatName()
243 if( COMPARE_EQUAL == rName.CompareToAscii( pFormatArray_Impl[ i ].pName ) ) in RegisterFormatName()
244 return i; in RegisterFormatName()
250 for( i = SOT_FORMAT_RTF; i <= nMax; ++i ) in RegisterFormatName()
251 if( rName.EqualsAscii( pFormatArray_Impl[ i ].pName ) ) in RegisterFormatName()
252 return ( (i == SOT_FORMATSTR_ID_STARCHARTDOCUMENT_50) in RegisterFormatName()
254 : i ); in RegisterFormatName()
258 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in RegisterFormatName()
260 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in RegisterFormatName()
262 return i + SOT_FORMATSTR_ID_USER_END + 1; in RegisterFormatName()
281 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in RegisterFormatMimeType() local
282 for( i = SOT_FORMAT_STRING; i <= nMax; ++i ) in RegisterFormatMimeType()
283 if( rMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in RegisterFormatMimeType()
284 return i; in RegisterFormatMimeType()
287 for( i = SOT_FORMAT_RTF; i <= nMax; ++i ) in RegisterFormatMimeType()
288 if( rMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in RegisterFormatMimeType()
289 return i; in RegisterFormatMimeType()
293 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in RegisterFormatMimeType()
295 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in RegisterFormatMimeType()
297 return i + SOT_FORMATSTR_ID_USER_END + 1; in RegisterFormatMimeType()
409 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in GetFormatIdFromMimeType() local
410 for( i = SOT_FORMAT_STRING; i <= nMax; ++i ) in GetFormatIdFromMimeType()
411 if( rMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormatIdFromMimeType()
412 return i; in GetFormatIdFromMimeType()
418 for( i = SOT_FORMAT_RTF; i <= nMax; ++i ) in GetFormatIdFromMimeType()
419 if( rMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormatIdFromMimeType()
420 return ( (i == SOT_FORMATSTR_ID_STARCHARTDOCUMENT_50) in GetFormatIdFromMimeType()
422 : i ); in GetFormatIdFromMimeType()
427 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in GetFormatIdFromMimeType()
429 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in GetFormatIdFromMimeType()
431 return i + SOT_FORMATSTR_ID_USER_END + 1; in GetFormatIdFromMimeType()
448 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in GetFormat() local
450 for( i = SOT_FORMAT_STRING; i <= nMax; ++i ) in GetFormat()
451 if( aMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormat()
452 return i; in GetFormat()
458 for( i = SOT_FORMAT_RTF; i <= nMax; ++i ) in GetFormat()
459 if( aMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormat()
460 return ( (i == SOT_FORMATSTR_ID_STARCHARTDOCUMENT_50) in GetFormat()
462 : i ); in GetFormat()
466 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in GetFormat()
468 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in GetFormat()
470 return i + SOT_FORMATSTR_ID_USER_END + 1; in GetFormat()