Lines Matching refs:rStr
51 void Imp_SkipDouble(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen);
57 void Imp_SkipSpaces(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipSpaces() argument
60 && sal_Unicode(' ') == rStr[rPos]) in Imp_SkipSpaces()
64 void Imp_SkipSpacesAndOpeningBraces(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipSpacesAndOpeningBraces() argument
67 && (sal_Unicode(' ') == rStr[rPos] || sal_Unicode('(') == rStr[rPos])) in Imp_SkipSpacesAndOpeningBraces()
71 void Imp_SkipSpacesAndCommas(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipSpacesAndCommas() argument
74 && (sal_Unicode(' ') == rStr[rPos] || sal_Unicode(',') == rStr[rPos])) in Imp_SkipSpacesAndCommas()
78 void Imp_SkipSpacesAndClosingBraces(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipSpacesAndClosingBraces() argument
81 && (sal_Unicode(' ') == rStr[rPos] || sal_Unicode(')') == rStr[rPos])) in Imp_SkipSpacesAndClosingBraces()
89 bool Imp_IsOnNumberChar(const OUString& rStr, const sal_Int32 nPos, bool bSignAllowed = true) in Imp_IsOnNumberChar() argument
91 sal_Unicode aChar(rStr[nPos]); in Imp_IsOnNumberChar()
101 bool Imp_IsOnUnitChar(const OUString& rStr, const sal_Int32 nPos) in Imp_IsOnUnitChar() argument
103 sal_Unicode aChar(rStr[nPos]); in Imp_IsOnUnitChar()
113 void Imp_SkipNumber(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen) in Imp_SkipNumber() argument
117 while(rPos < nLen && Imp_IsOnNumberChar(rStr, rPos, bSignAllowed)) in Imp_SkipNumber()
124 void Imp_SkipNumberAndSpacesAndCommas(const OUString& rStr, sal_Int32& rPos, in Imp_SkipNumberAndSpacesAndCommas() argument
127 Imp_SkipNumber(rStr, rPos, nLen); in Imp_SkipNumberAndSpacesAndCommas()
128 Imp_SkipSpacesAndCommas(rStr, rPos, nLen); in Imp_SkipNumberAndSpacesAndCommas()
132 void Imp_SkipDoubleAndSpacesAndCommas(const OUString& rStr, sal_Int32& rPos, in Imp_SkipDoubleAndSpacesAndCommas() argument
135 Imp_SkipDouble(rStr, rPos, nLen); in Imp_SkipDoubleAndSpacesAndCommas()
136 Imp_SkipSpacesAndCommas(rStr, rPos, nLen); in Imp_SkipDoubleAndSpacesAndCommas()
139 void Imp_PutNumberChar(OUString& rStr, sal_Int32 nValue) in Imp_PutNumberChar() argument
143 rStr += OUString(sStringBuffer.makeStringAndClear()); in Imp_PutNumberChar()
146 void Imp_PutNumberCharWithSpace(OUString& rStr, sal_Int32 nValue) in Imp_PutNumberCharWithSpace() argument
148 const sal_Int32 aLen(rStr.getLength()); in Imp_PutNumberCharWithSpace()
150 if(Imp_IsOnNumberChar(rStr, aLen - 1, false) && nValue >= 0) in Imp_PutNumberCharWithSpace()
151 rStr += String(sal_Unicode(' ')); in Imp_PutNumberCharWithSpace()
152 Imp_PutNumberChar(rStr, nValue); in Imp_PutNumberCharWithSpace()
159 void Imp_SkipDouble(const OUString& rStr, sal_Int32& rPos, const sal_Int32) in Imp_SkipDouble() argument
161 sal_Unicode aChar(rStr[rPos]); in Imp_SkipDouble()
164 aChar = rStr[++rPos]; in Imp_SkipDouble()
169 aChar = rStr[++rPos]; in Imp_SkipDouble()
174 aChar = rStr[++rPos]; in Imp_SkipDouble()
177 aChar = rStr[++rPos]; in Imp_SkipDouble()
181 aChar = rStr[++rPos]; in Imp_SkipDouble()
186 double Imp_GetDoubleChar(const OUString& rStr, sal_Int32& rPos, const sal_Int32 nLen, in Imp_GetDoubleChar() argument
189 sal_Unicode aChar(rStr[rPos]); in Imp_GetDoubleChar()
194 sNumberString.append(rStr[rPos]); in Imp_GetDoubleChar()
195 aChar = rStr[++rPos]; in Imp_GetDoubleChar()
201 sNumberString.append(rStr[rPos]); in Imp_GetDoubleChar()
202 aChar = rStr[++rPos]; in Imp_GetDoubleChar()
207 sNumberString.append(rStr[rPos]); in Imp_GetDoubleChar()
208 aChar = rStr[++rPos]; in Imp_GetDoubleChar()
212 sNumberString.append(rStr[rPos]); in Imp_GetDoubleChar()
213 aChar = rStr[++rPos]; in Imp_GetDoubleChar()
218 sNumberString.append(rStr[rPos]); in Imp_GetDoubleChar()
219 aChar = rStr[++rPos]; in Imp_GetDoubleChar()
225 Imp_SkipSpaces(rStr, rPos, nLen); in Imp_GetDoubleChar()
226 while(rPos < nLen && Imp_IsOnUnitChar(rStr, rPos)) in Imp_GetDoubleChar()
227 sNumberString.append(rStr[rPos++]); in Imp_GetDoubleChar()
241 void Imp_PutDoubleChar(OUString& rStr, double fValue) in Imp_PutDoubleChar() argument
245 rStr += OUString(sStringBuffer.makeStringAndClear()); in Imp_PutDoubleChar()
248 void Imp_PutDoubleChar(OUString& rStr, const SvXMLUnitConverter& rConv, double fValue, in Imp_PutDoubleChar() argument
258 rStr += OUString(sStringBuffer.makeStringAndClear()); in Imp_PutDoubleChar()