Lines Matching refs:i
243 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in RegisterFormatName() local
244 for( i = SOT_FORMAT_STRING; i <= nMax; ++i ) in RegisterFormatName()
245 if( COMPARE_EQUAL == rName.CompareToAscii( pFormatArray_Impl[ i ].pName ) ) in RegisterFormatName()
246 return i; in RegisterFormatName()
252 for( i = SOT_FORMAT_RTF; i <= nMax; ++i ) in RegisterFormatName()
253 if( rName.EqualsAscii( pFormatArray_Impl[ i ].pName ) ) in RegisterFormatName()
254 return ( (i == SOT_FORMATSTR_ID_STARCHARTDOCUMENT_50) in RegisterFormatName()
256 : i ); in RegisterFormatName()
260 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in RegisterFormatName()
262 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in RegisterFormatName()
264 return i + SOT_FORMATSTR_ID_USER_END + 1; in RegisterFormatName()
283 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in RegisterFormatMimeType() local
284 for( i = SOT_FORMAT_STRING; i <= nMax; ++i ) in RegisterFormatMimeType()
285 if( rMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in RegisterFormatMimeType()
286 return i; in RegisterFormatMimeType()
289 for( i = SOT_FORMAT_RTF; i <= nMax; ++i ) in RegisterFormatMimeType()
290 if( rMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in RegisterFormatMimeType()
291 return i; in RegisterFormatMimeType()
295 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in RegisterFormatMimeType()
297 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in RegisterFormatMimeType()
299 return i + SOT_FORMATSTR_ID_USER_END + 1; in RegisterFormatMimeType()
411 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in GetFormatIdFromMimeType() local
412 for( i = SOT_FORMAT_STRING; i <= nMax; ++i ) in GetFormatIdFromMimeType()
413 if( rMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormatIdFromMimeType()
414 return i; in GetFormatIdFromMimeType()
420 for( i = SOT_FORMAT_RTF; i <= nMax; ++i ) in GetFormatIdFromMimeType()
421 if( rMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormatIdFromMimeType()
422 return ( (i == SOT_FORMATSTR_ID_STARCHARTDOCUMENT_50) in GetFormatIdFromMimeType()
424 : i ); in GetFormatIdFromMimeType()
429 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in GetFormatIdFromMimeType()
431 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in GetFormatIdFromMimeType()
433 return i + SOT_FORMATSTR_ID_USER_END + 1; in GetFormatIdFromMimeType()
450 sal_uLong i, nMax = SOT_FORMAT_FILE_LIST; in GetFormat() local
452 for( i = SOT_FORMAT_STRING; i <= nMax; ++i ) in GetFormat()
453 if( aMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormat()
454 return i; in GetFormat()
460 for( i = SOT_FORMAT_RTF; i <= nMax; ++i ) in GetFormat()
461 if( aMimeType.EqualsAscii( pFormatArray_Impl[ i ].pMimeType ) ) in GetFormat()
462 return ( (i == SOT_FORMATSTR_ID_STARCHARTDOCUMENT_50) in GetFormat()
464 : i ); in GetFormat()
468 for( i = 0, nMax = rL.Count(); i < nMax; i++ ) in GetFormat()
470 DataFlavor* pFlavor = (DataFlavor*) rL.GetObject( i ); in GetFormat()
472 return i + SOT_FORMATSTR_ID_USER_END + 1; in GetFormat()