Lines Matching refs:rString
413 MapUnit SvXMLExportHelper::GetUnitFromString(const ::rtl::OUString& rString, MapUnit eDefaultUnit) in GetUnitFromString() argument
416 sal_Int32 nLen = rString.getLength(); in GetUnitFromString()
420 while( nPos < nLen && sal_Unicode(' ') == rString[nPos] ) in GetUnitFromString()
424 if( nPos < nLen && sal_Unicode('-') == rString[nPos] ) in GetUnitFromString()
428 while( nPos < nLen && sal_Unicode('0') <= rString[nPos] && sal_Unicode('9') >= rString[nPos] ) in GetUnitFromString()
431 if( nPos < nLen && sal_Unicode('.') == rString[nPos] ) in GetUnitFromString()
434 while( nPos < nLen && sal_Unicode('0') <= rString[nPos] && sal_Unicode('9') >= rString[nPos] ) in GetUnitFromString()
439 while( nPos < nLen && sal_Unicode(' ') == rString[nPos] ) in GetUnitFromString()
444 switch(rString[nPos]) in GetUnitFromString()
454 if(nPos+1 < nLen && (rString[nPos+1] == sal_Unicode('m') in GetUnitFromString()
455 || rString[nPos+1] == sal_Unicode('M'))) in GetUnitFromString()
468 if(nPos+1 < nLen && (rString[nPos+1] == sal_Unicode('n') in GetUnitFromString()
469 || rString[nPos+1] == sal_Unicode('n'))) in GetUnitFromString()
476 if(nPos+1 < nLen && (rString[nPos+1] == sal_Unicode('m') in GetUnitFromString()
477 || rString[nPos+1] == sal_Unicode('M'))) in GetUnitFromString()
484 if(nPos+1 < nLen && (rString[nPos+1] == sal_Unicode('t') in GetUnitFromString()
485 || rString[nPos+1] == sal_Unicode('T'))) in GetUnitFromString()
487 if(nPos+1 < nLen && (rString[nPos+1] == sal_Unicode('c') in GetUnitFromString()
488 || rString[nPos+1] == sal_Unicode('C'))) in GetUnitFromString()