Lines Matching refs:aStr

104     XubString   aStr = rStr;  in ImplNumericGetValue()  local
116 aStr.EraseLeadingAndTrailingChars( ' ' ); in ImplNumericGetValue()
119 nDecPos = aStr.Search( rLocaleDataWrappper.getNumDecimalSep() ); in ImplNumericGetValue()
122 aStr1 = aStr.Copy( 0, nDecPos ); in ImplNumericGetValue()
123 aStr2 = aStr.Copy( nDecPos+1 ); in ImplNumericGetValue()
126 aStr1 = aStr; in ImplNumericGetValue()
131 if ( (aStr.GetChar( 0 ) == '(') && (aStr.GetChar( aStr.Len()-1 ) == ')') ) in ImplNumericGetValue()
135 for ( i=0; i < aStr.Len(); i++ ) in ImplNumericGetValue()
137 if ( (aStr.GetChar( i ) >= '0') && (aStr.GetChar( i ) <= '9') ) in ImplNumericGetValue()
139 else if ( aStr.GetChar( i ) == '-' ) in ImplNumericGetValue()
146 if ( !bNegative && bCurrency && aStr.Len() ) in ImplNumericGetValue()
152 for ( i = (xub_StrLen)(aStr.Len()-1); i > 0; i++ ) in ImplNumericGetValue()
154 if ( (aStr.GetChar( i ) >= '0') && (aStr.GetChar( i ) <= '9') ) in ImplNumericGetValue()
156 else if ( aStr.GetChar( i ) == '-' ) in ImplNumericGetValue()
206 aStr = aStr1; in ImplNumericGetValue()
207 aStr += aStr2; in ImplNumericGetValue()
210 double nValue = aStr.ToDouble(); in ImplNumericGetValue()
720 XubString aStr; in Reformat() local
723 sal_Bool bOK = ImplNumericReformat( GetField()->GetText(), nTemp, aStr ); in Reformat()
728 if ( aStr.Len() ) in Reformat()
729 ImplSetText( aStr ); in Reformat()
1040 XubString aStr; in ReformatAll() local
1045 ImplNumericReformat( GetEntry( i ), nValue, aStr ); in ReformatAll()
1047 InsertEntry( aStr, i ); in ReformatAll()
1098 XubString aStr; in ImplMetricGetUnitText() local
1104 aStr.Insert( c, 0 ); in ImplMetricGetUnitText()
1107 if ( aStr.Len() ) in ImplMetricGetUnitText()
1111 return aStr; in ImplMetricGetUnitText()
1160 String aStr( rMetricString ); in ImplStringToMetric() local
1161 aStr.ToLowerAscii(); in ImplStringToMetric()
1162 aStr.EraseAllChars( sal_Unicode( ' ' ) ); in ImplStringToMetric()
1165 if ( it->first.Equals( aStr ) ) in ImplStringToMetric()
1177 XubString aStr = ImplMetricGetUnitText( rStr ); in ImplMetricGetUnit() local
1178 return ImplStringToMetric( aStr ); in ImplMetricGetUnit()
1583 XubString aStr = NumericFormatter::CreateFieldText( nValue ); in CreateFieldText() local
1586 aStr += maCustomUnitText; in CreateFieldText()
1590 aStr += xub_Unicode( ' ' ); in CreateFieldText()
1591 aStr += ImplMetricToString( meUnit ); in CreateFieldText()
1593 return aStr; in CreateFieldText()
1707 XubString aStr; in Reformat() local
1710 sal_Bool bOK = ImplMetricReformat( aText, nTemp, aStr ); in Reformat()
1716 if ( aStr.Len() ) in Reformat()
1718 ImplSetText( aStr ); in Reformat()
2011 XubString aStr; in ReformatAll() local
2016 ImplMetricReformat( GetEntry( i ), nValue, aStr ); in ReformatAll()
2018 InsertEntry( aStr, i ); in ReformatAll()
2224 XubString aStr; in Reformat() local
2225 sal_Bool bOK = ImplCurrencyReformat( GetField()->GetText(), aStr ); in Reformat()
2229 if ( aStr.Len() ) in Reformat()
2231 ImplSetText( aStr ); in Reformat()
2234 ImplCurrencyGetValue( aStr, nTemp, GetDecimalDigits(), ImplGetLocaleDataWrapper() ); in Reformat()
2470 XubString aStr; in ReformatAll() local
2475 ImplCurrencyReformat( GetEntry( i ), aStr ); in ReformatAll()
2477 InsertEntry( aStr, i ); in ReformatAll()