Lines Matching refs:rStr
1155 void SdrModel::TakeUnitStr(FieldUnit eUnit, XubString& rStr) in TakeUnitStr() argument
1163 rStr = String(); in TakeUnitStr()
1169 rStr = UniString(aText, sizeof(aText)-1); in TakeUnitStr()
1175 rStr = UniString(aText, sizeof(aText)-1); in TakeUnitStr()
1181 rStr = UniString(aText, sizeof(aText)-1); in TakeUnitStr()
1186 rStr = String(); in TakeUnitStr()
1187 rStr += sal_Unicode('m'); in TakeUnitStr()
1193 rStr = UniString(aText, sizeof(aText)-1); in TakeUnitStr()
1199 rStr = UniString(aText, sizeof(aText)-1); in TakeUnitStr()
1205 rStr = UniString(aText, sizeof(aText)-1); in TakeUnitStr()
1211 rStr = UniString(aText, sizeof(aText)-1); in TakeUnitStr()
1216 rStr = String(); in TakeUnitStr()
1217 rStr += sal_Unicode('"'); in TakeUnitStr()
1223 rStr = UniString(aText, sizeof(aText)-1); in TakeUnitStr()
1229 rStr = UniString(aText, sizeof(aText)-1); in TakeUnitStr()
1234 rStr = String(); in TakeUnitStr()
1235 rStr += sal_Unicode('%'); in TakeUnitStr()
1241 void SdrModel::TakeMetricStr(long nVal, XubString& rStr, FASTBOOL bNoUnitChars, sal_Int32 nNumDigit… in TakeMetricStr() argument
1279 rStr = UniString::CreateFromInt32(static_cast<sal_Int32>(fLocalValue + 0.5)); in TakeMetricStr()
1287 rStr += sal_Unicode('0'); in TakeMetricStr()
1294 if(nKomma > 0 && rStr.Len() <= nKomma) in TakeMetricStr()
1297 sal_Int32 nAnz(nKomma - rStr.Len()); in TakeMetricStr()
1303 rStr.Insert(sal_Unicode('0'), 0); in TakeMetricStr()
1309 sal_Int32 nVorKomma(rStr.Len() - nKomma); in TakeMetricStr()
1312 rStr.Insert(cDec, (xub_StrLen) nVorKomma); in TakeMetricStr()
1316 while(rStr.Len() && rStr.GetChar(rStr.Len() - 1) == sal_Unicode('0')) in TakeMetricStr()
1317 rStr.Erase(rStr.Len() - 1); in TakeMetricStr()
1319 if(rStr.Len() && rStr.GetChar(rStr.Len() - 1) == cDec) in TakeMetricStr()
1320 rStr.Erase(rStr.Len() - 1); in TakeMetricStr()
1334 rStr.Insert(cTho, (xub_StrLen)i); in TakeMetricStr()
1340 if(!rStr.Len()) in TakeMetricStr()
1342 rStr = String(); in TakeMetricStr()
1343 rStr += sal_Unicode('0'); in TakeMetricStr()
1348 rStr.Insert(sal_Unicode('-'), 0); in TakeMetricStr()
1352 rStr += aUIUnitStr; in TakeMetricStr()
1355 void SdrModel::TakeWinkStr(long nWink, XubString& rStr, FASTBOOL bNoDegChar) const in TakeWinkStr() argument
1362 rStr = UniString::CreateFromInt32(nWink); in TakeWinkStr()
1371 while(rStr.Len() < nAnz) in TakeWinkStr()
1372 rStr.Insert(sal_Unicode('0'), 0); in TakeWinkStr()
1374 rStr.Insert(rLoc.getNumDecimalSep().GetChar(0), rStr.Len() - 2); in TakeWinkStr()
1377 rStr.Insert(sal_Unicode('-'), 0); in TakeWinkStr()
1380 rStr += DEGREE_CHAR; in TakeWinkStr()
1383 void SdrModel::TakePercentStr(const Fraction& rVal, XubString& rStr, FASTBOOL bNoPercentChar) const in TakePercentStr() argument
1402 rStr = UniString::CreateFromInt32(nMul); in TakePercentStr()
1405 rStr.Insert(sal_Unicode('-'), 0); in TakePercentStr()
1408 rStr += sal_Unicode('%'); in TakePercentStr()