Lines Matching refs:formatUsage
49 NumberFormatCodeMapper::getDefault( sal_Int16 formatType, sal_Int16 formatUsage, const ::com::sun::… in getDefault() argument
53 ::rtl::OUString elementUsage = mapElementUsageShortToString(formatUsage); in getDefault()
59 aFormatSeq[i].formatUsage == elementUsage) { in getDefault()
61 formatUsage, in getDefault()
84 mapElementUsageStringToShort(aFormatSeq[i].formatUsage), in getFormatCode()
101 NumberFormatCodeMapper::getAllFormatCode( sal_Int16 formatUsage, const ::com::sun::star::lang::Loca… in getAllFormatCode() argument
108 sal_Int16 elementUsage = mapElementUsageStringToShort(aFormatSeq[i].formatUsage); in getAllFormatCode()
109 if( elementUsage == formatUsage) in getAllFormatCode()
116 sal_Int16 elementUsage = mapElementUsageStringToShort(aFormatSeq[i].formatUsage); in getAllFormatCode()
117 if( elementUsage == formatUsage) { in getAllFormatCode()
119 formatUsage, in getAllFormatCode()
142 mapElementUsageStringToShort(aFormatSeq[i].formatUsage), in getAllFormatCodes()
212 NumberFormatCodeMapper::mapElementUsageShortToString(sal_Int16 formatUsage) in mapElementUsageShortToString() argument
214 switch ( formatUsage ) in mapElementUsageShortToString()
238 NumberFormatCodeMapper::mapElementUsageStringToShort(const ::rtl::OUString& formatUsage) in mapElementUsageStringToShort() argument
240 if(formatUsage.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "DATE" ) )) in mapElementUsageStringToShort()
242 if(formatUsage.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "TIME" ) )) in mapElementUsageStringToShort()
244 if(formatUsage.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "DATE_TIME" ) )) in mapElementUsageStringToShort()
246 if(formatUsage.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "FIXED_NUMBER" ) )) in mapElementUsageStringToShort()
248 if(formatUsage.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "FRACTION_NUMBER" ) )) in mapElementUsageStringToShort()
250 if(formatUsage.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "PERCENT_NUMBER" ) )) in mapElementUsageStringToShort()
252 if(formatUsage.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "CURRENCY" ) )) in mapElementUsageStringToShort()
254 if(formatUsage.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "SCIENTIFIC_NUMBER" ) )) in mapElementUsageStringToShort()