/aoo41x/main/unotools/source/i18n/ |
H A D | charclass.cxx | 127 if ( !rStr.Len() ) in isAsciiNumeric() 143 if ( !rStr.Len() ) in isAsciiAlpha() 159 if ( !rStr.Len() ) in isAsciiAlphaNumeric() 199 return isAlphaType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isAlpha() 238 return isLetterType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isLetter() 277 return isNumericType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isNumeric() 316 return isAlphaNumericType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isAlphaNumeric() 355 return isLetterNumericType( xCC->getStringType( rStr, 0, rStr.Len(), getLocale() ) ); in isLetterNumeric() 391 return rStr.Copy( nPos, nCount ); in toTitle() 516 const String& rStr, in parseAnyToken() argument [all …]
|
/aoo41x/main/basegfx/source/tools/ |
H A D | stringconversiontools.cxx | 48 && (sal_Unicode(' ') == rStr[io_rPos] || sal_Unicode(',') == rStr[io_rPos])) in lcl_skipSpacesAndCommas() 64 aChar = rStr[++io_rPos]; in lcl_getDoubleChar() 71 aChar = rStr[++io_rPos]; in lcl_getDoubleChar() 77 aChar = rStr[++io_rPos]; in lcl_getDoubleChar() 82 aChar = rStr[++io_rPos]; in lcl_getDoubleChar() 88 aChar = rStr[++io_rPos]; in lcl_getDoubleChar() 130 aChar = rStr[++io_rPos]; in lcl_importNumberAndSpaces() 136 aChar = rStr[++io_rPos]; in lcl_importNumberAndSpaces() 169 aChar = rStr[++io_rPos]; in lcl_skipDouble() 174 aChar = rStr[++io_rPos]; in lcl_skipDouble() [all …]
|
/aoo41x/main/tools/inc/tools/ |
H A D | string.hxx | 186 ByteString( const ByteString& rStr ); 188 ByteString( const rtl::OString& rStr ); 227 { return Assign( rStr ); } in operator =() 229 { return Assign( rStr ); } in operator =() 240 { return Append( rStr ); } in operator +=() 359 { return rStr.Equals( pCharStr ); } in operator ==() 361 { return rStr.Equals( pCharStr ); } in operator ==() 471 UniString( const UniString& rStr ); 522 { return Assign( rStr ); } in operator =() 524 { return Assign( rStr ); } in operator =() [all …]
|
H A D | stream.hxx | 393 SvStream& ReadByteString( UniString& rStr ) { return ReadByteString( rStr, GetStreamCharSet() ); } in ReadByteString() argument 396 …SvStream& WriteByteString( const UniString& rStr ) { return WriteByteString( rStr, GetStreamCharS… in WriteByteString() argument 444 sal_Bool ReadCString( ByteString& rStr ); 446 sal_Bool ReadCString( String& rStr ) { return ReadCString( rStr, GetStreamCharSet()); } in ReadCString() argument 449 sal_Bool ReadLine( ByteString& rStr ); 455 …sal_Bool ReadByteStringLine( String& rStr ) { return ReadByteStringLine( rStr, GetStreamCharSet()… in ReadByteStringLine() argument 457 …sal_Bool WriteByteStringLine( const String& rStr ) { return WriteByteStringLine( rStr, GetStreamC… in WriteByteStringLine() argument 459 …sal_Bool WriteByteStringLines( const String& rStr ) { return WriteByteStringLine( rStr, GetStream… in WriteByteStringLines() argument 479 sal_Bool ReadUniStringLine( String& rStr ); 631 (*f)(rStr); in operator <<() [all …]
|
/aoo41x/main/oox/source/dump/ |
H A D | dumperbase.cxx | 233 rStr.append( cChar ); in appendChar() 239 rStr.append( rData ); in appendString() 491 rStr.append( cPrefix ); in appendAddrName() 615 rStr.append( cSep ); in appendToken() 616 rStr.append( rToken ); in appendToken() 630 rStr.insert( 0, rToken ); in prependToken() 654 rStr.append( rData ); in appendIndexedText() 660 rStr.append( rData ); in appendIndexedText() 740 while( (nBeg < rStr.getLength()) && ((rStr[ nBeg ] == ' ') || (rStr[ nBeg ] == '\t')) ) in trimSpaces() 743 while( (nEnd > nBeg) && ((rStr[ nEnd - 1 ] == ' ') || (rStr[ nEnd - 1 ] == '\t')) ) in trimSpaces() [all …]
|
/aoo41x/main/unotools/inc/unotools/ |
H A D | charclass.hxx | 187 const String& rStr, 196 const String& rStr, 211 sal_Bool isAlpha( const String& rStr ) const; 212 sal_Bool isLetter( const String& rStr ) const; 217 void toUpper( String& rStr ) const in toUpper() 218 { rStr = toUpper( rStr, 0, rStr.Len() ); } in toUpper() 219 void toLower( String& rStr ) const in toLower() 220 { rStr = toLower( rStr, 0, rStr.Len() ); } in toLower() 221 inline String upper( const String& rStr ) const in upper() 222 { return toUpper( rStr, 0, rStr.Len() ); } in upper() [all …]
|
/aoo41x/main/tools/source/string/ |
H A D | strimp.cxx | 263 mpData = rStr.mpData; in STRING() 275 if ( nPos > rStr.mpData->mnLen ) in STRING() 292 mpData = rStr.mpData; in STRING() 403 mpData = rStr.mpData; in Assign() 513 mpData = rStr.mpData; in Append() 810 Append( rStr ); in Replace() 817 Assign( rStr ); in Replace() 1242 if ( mpData == rStr.mpData ) in CompareTo() 1290 if ( mpData == rStr.mpData ) in CompareIgnoreCaseToAscii() 1338 if ( mpData == rStr.mpData ) in Equals() [all …]
|
/aoo41x/main/tools/source/stream/ |
H A D | stream.cxx | 692 rStr.setLength( 0 ); in ReadLine() 765 rStr.Erase(); in ReadLine() 841 rStr.Erase(); in ReadUniStringLine() 926 if( rStr.Len() ) in ReadCString() 927 rStr.Erase(); in ReadCString() 995 Write( (char*)rStr.GetBuffer(), rStr.Len() * sizeof(sal_Unicode) ); in WriteUnicodeText() 1028 Write( rStr.GetBuffer(), rStr.Len() ); in WriteLine() 1667 rStr.Erase(); in ReadByteString() 2529 rStr << _CR; in endl() 2531 rStr << _LF; in endl() [all …]
|
/aoo41x/main/svl/source/numbers/ |
H A D | zforscan.cxx | 709 sSymbol.Append( rStr.GetBuffer() + (nPos-1), rStr.Len() - (nPos-1) ); in Next_Symbol() 710 nPos = rStr.Len(); in Next_Symbol() 1532 rComment += rStr; in FinalScan() 2029 rComment += rStr; in FinalScan() 2593 if ( (j == 0 || rStr.GetChar(j-1) != '\\') && GetKeyWord( rStr, j ) ) in FinalScan() 2596 rStr += '\"'; in FinalScan() 2751 if ( rStr.Len() > 1 ) in RemoveQuotes() 2755 if ( c == '"' && rStr.GetChar( (n = xub_StrLen(rStr.Len()-1)) ) == '"' ) in RemoveQuotes() 2757 rStr.Erase(n,1); in RemoveQuotes() 2758 rStr.Erase(0,1); in RemoveQuotes() [all …]
|
H A D | zforlist.cxx | 3315 rStr.Erase(); in GetNewCurrencySymbolString() 3890 rStr = '['; in BuildSymbolString() 3891 rStr += '$'; in BuildSymbolString() 3898 rStr += '"'; in BuildSymbolString() 3900 rStr += '"'; in BuildSymbolString() 3906 rStr += '-'; in BuildSymbolString() 3910 rStr += ']'; in BuildSymbolString() 3985 rStr += ' '; in CompletePositiveFormatString() 4006 rStr += ')'; in CompleteNegativeFormatString() 4024 rStr += '-'; in CompleteNegativeFormatString() [all …]
|
/aoo41x/main/xmloff/source/draw/ |
H A D | xexptran.cxx | 67 && (sal_Unicode(' ') == rStr[rPos] || sal_Unicode('(') == rStr[rPos])) in Imp_SkipSpacesAndOpeningBraces() 74 && (sal_Unicode(' ') == rStr[rPos] || sal_Unicode(',') == rStr[rPos])) in Imp_SkipSpacesAndCommas() 81 && (sal_Unicode(' ') == rStr[rPos] || sal_Unicode(')') == rStr[rPos])) in Imp_SkipSpacesAndClosingBraces() 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() 195 aChar = rStr[++rPos]; in Imp_GetDoubleChar() 202 aChar = rStr[++rPos]; in Imp_GetDoubleChar() [all …]
|
/aoo41x/main/basegfx/source/inc/ |
H A D | stringconversiontools.hxx | 34 const ::rtl::OUString& rStr, 38 const ::rtl::OUString& rStr, 52 return lcl_isOnNumberChar(rStr[nPos], in lcl_isOnNumberChar() 58 const ::rtl::OUString& rStr); 71 const ::rtl::OUString& rStr, 75 const ::rtl::OUString& rStr); 81 lcl_skipNumber(io_rPos, rStr, nLen); in lcl_skipNumberAndSpacesAndCommas() 82 lcl_skipSpacesAndCommas(io_rPos, rStr, nLen); in lcl_skipNumberAndSpacesAndCommas() 90 lcl_skipDouble(io_rPos, rStr); in lcl_skipDoubleAndSpacesAndCommas() 91 lcl_skipSpacesAndCommas(io_rPos, rStr, nLen); in lcl_skipDoubleAndSpacesAndCommas() [all …]
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | ww8par5.cxx | 482 while( nBuf < rStr.Len() in FindParaStart() 502 if( rStr.GetChar( n ) == '"' in FindPara() 503 || rStr.GetChar( n ) == 132 ) in FindPara() 507 while( n2 < rStr.Len() in FindPara() 515 while( n2 < rStr.Len() in FindPara() 519 return rStr.Copy( n, n2-n ); in FindPara() 1089 rStr = rOrg; in MakeTagString() 1092 nI < rStr.Len() && rStr.Len() < (MAX_FIELDLEN - 4); ++nI ) in MakeTagString() 1898 GetNumberPara(rStr, true)); in Read_F_CurPage() 2532 aFld.SetFieldCode( rStr ); in Read_F_DBField() [all …]
|
/aoo41x/main/oox/inc/oox/dump/ |
H A D | dumperbase.hxx | 410 static ::rtl::OUString trimSpaces( const ::rtl::OUString& rStr ); 411 static ::rtl::OUString trimTrailingNul( const ::rtl::OUString& rStr ); 413 static ::rtl::OString convertToUtf8( const ::rtl::OUString& rStr ); 414 static DataType convertToDataType( const ::rtl::OUString& rStr ); 445 case FORMATTYPE_DEC: appendDec( rStr, nData ); break; in appendValue() 446 case FORMATTYPE_HEX: appendHex( rStr, nData ); break; in appendValue() 447 case FORMATTYPE_SHORTHEX: appendShortHex( rStr, nData ); break; in appendValue() 448 case FORMATTYPE_BIN: appendBin( rStr, nData ); break; in appendValue() 449 case FORMATTYPE_FIX: appendFix( rStr, nData ); break; in appendValue() 461 inline /*implicit*/ String( const ::rtl::OUString& rStr ) : ::rtl::OUString( rStr ) {} in String() argument [all …]
|
/aoo41x/main/svtools/source/misc/ |
H A D | ehdl.cxx | 198 if(GetMessageString(nErrCode, rStr, nFlags)) in CreateString() 200 for (xub_StrLen i = 0; i < rStr.Len();) in CreateString() 211 else if(GetErrorString(nErrCode, rStr, nFlags)) in CreateString() 215 for (xub_StrLen i = 0; i < rStr.Len();) in CreateString() 228 for (sal_uInt16 i = 0; i < rStr.Len();) in CreateString() 326 rStr=((ResString)aEr).GetString(); in GetClassString() 337 sal_uLong lErrId, String &rStr, sal_uInt16 &nFlags) const in GetMessageString() argument 356 rStr = aErrorString.GetString(); in GetMessageString() 379 rStr=String(SvtResId(RID_ERRHDL_CLASS)); in GetErrorString() 391 rStr.SearchAndReplace( in GetErrorString() [all …]
|
/aoo41x/main/svgio/source/svgreader/ |
H A D | svgdocument.cxx | 59 if(rStr.getLength()) in addSvgNodeToMapper() 61 maIdTokenMapperList.insert(IdTokenValueType(rStr, &rNode)); in addSvgNodeToMapper() 65 void SvgDocument::removeSvgNodeFromMapper(const rtl::OUString& rStr) in removeSvgNodeFromMapper() argument 67 if(rStr.getLength()) in removeSvgNodeFromMapper() 69 maIdTokenMapperList.erase(rStr); in removeSvgNodeFromMapper() 73 const SvgNode* SvgDocument::findSvgNodeById(const rtl::OUString& rStr) const in findSvgNodeById() 75 const IdTokenMapper::const_iterator aResult(maIdTokenMapperList.find(rStr)); in findSvgNodeById() 89 if(rStr.getLength()) in addSvgStyleAttributesToMapper() 95 void SvgDocument::removeSvgStyleAttributesFromMapper(const rtl::OUString& rStr) in removeSvgStyleAttributesFromMapper() argument 97 if(rStr.getLength()) in removeSvgStyleAttributesFromMapper() [all …]
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdmodel.cxx | 1163 rStr = String(); in TakeUnitStr() 1186 rStr = String(); in TakeUnitStr() 1216 rStr = String(); in TakeUnitStr() 1234 rStr = String(); in TakeUnitStr() 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() 1340 if(!rStr.Len()) in TakeMetricStr() 1342 rStr = String(); in TakeMetricStr() [all …]
|
H A D | svddrgmt.cxx | 1557 rStr += aStr; in TakeSdrDragComment() 1560 rStr += aStr; in TakeSdrDragComment() 1840 rStr += aStr; in TakeSdrDragComment() 1850 rStr += aStr; in TakeSdrDragComment() 2165 rStr += aStr; in TakeSdrDragComment() 2303 rStr += aStr; in TakeSdrDragComment() 2892 rStr += aStr; in TakeSdrDragComment() 3545 rStr += aStr; in TakeSdrDragComment() 3548 rStr += aStr; in TakeSdrDragComment() 3700 rStr += aStr; in TakeSdrDragComment() [all …]
|
/aoo41x/main/unotools/source/config/ |
H A D | syslocaleoptions.cxx | 61 if ( rStr.getLength() ) in lcl_str_to_locale() 64 sal_Int32 nSep = rStr.indexOf('-'); in lcl_str_to_locale() 66 aRet.Language = rStr; in lcl_str_to_locale() 69 aRet.Language = rStr.copy(0, nSep); in lcl_str_to_locale() 70 if (nSep < rStr.getLength()) in lcl_str_to_locale() 71 aRet.Country = rStr.copy(nSep+1, rStr.getLength() - (nSep+1)); in lcl_str_to_locale() 381 m_aLocaleString = rStr; in SetLocaleString() 396 m_aUILocaleString = rStr; in SetUILocaleString() 411 m_aCurrencyString = rStr; in SetCurrencyString() 548 pOptions->SetLocaleString( rStr ); in SetLocaleConfigString() [all …]
|
/aoo41x/main/svx/source/sidebar/line/ |
H A D | LineWidthControl.cxx | 51 rStr(NULL), in LineWidthControl() 71 delete[] rStr; in ~LineWidthControl() 137 rStr = new XubString[9]; in Initialize() 139 rStr[0] = String("05", 2, RTL_TEXTENCODING_ASCII_US); in Initialize() 147 rStr[8] = String( SVX_RES(STR_WIDTH_LAST_CUSTOM) ); in Initialize() 154 rStr[i] = rStr[i].Insert(cSep, 1);//Modify in Initialize() 155 rStr[i].Append(mstrPT); in Initialize() 162 maVSWidth.SetItemText(i, rStr[i-1]); in Initialize() 164 maVSWidth.SetUnit(rStr); in Initialize() 239 maVSWidth.SetItemText(9, rStr[8]); in SetWidthSelect() [all …]
|
/aoo41x/main/toolkit/source/layout/vcl/ |
H A D | wfield.cxx | 111 void Edit::SetText( OUString const& rStr ) in SetText() argument 116 getImpl().mxEdit->setText( rStr ); in SetText() 118 GetEdit ()->SetText (rStr); in SetText() 353 rtl::OUString rKey( rStr ); in GetEntryPos() 437 return getImpl().InsertEntry( rStr, nPos ); in InsertEntry() 440 void ComboBox::RemoveEntry( String const& rStr ) in RemoveEntry() argument 458 return getImpl().GetEntryPos( rStr ); in GetEntryPos() 544 rtl::OUString rKey( rStr ); in GetEntryPos() 671 return getImpl().InsertEntry(rStr, nPos); in InsertEntry() 679 void ListBox::RemoveEntry( String const& rStr ) in RemoveEntry() argument [all …]
|
/aoo41x/main/vcl/source/window/ |
H A D | syswin.cxx | 619 rStr.Append( ',' ); in ImplWindowStateToStr() 622 rStr.Append( ',' ); in ImplWindowStateToStr() 625 rStr.Append( ',' ); in ImplWindowStateToStr() 628 rStr.Append( ';' ); in ImplWindowStateToStr() 637 rStr.Append( ';' ); in ImplWindowStateToStr() 640 rStr.Append( ',' ); in ImplWindowStateToStr() 643 rStr.Append( ',' ); in ImplWindowStateToStr() 646 rStr.Append( ',' ); in ImplWindowStateToStr() 649 rStr.Append( ';' ); in ImplWindowStateToStr() 955 if ( !rStr.Len() ) in SetWindowState() [all …]
|
/aoo41x/main/sw/inc/ |
H A D | docufld.hxx | 179 virtual void SetPar2(const String& rStr); 217 inline void SetExpansion(const String& rStr) { aContent = rStr; } in SetExpansion() argument 252 inline void SetExpansion(const String& rStr) { aContent = rStr; } in SetExpansion() argument 388 virtual void SetPar1(const String& rStr); 480 virtual void SetPar1(const String& rStr); 484 virtual void SetPar2(const String& rStr); 563 void SetName(const String& rStr); 608 inline void SetExpansion(const String& rStr) { aContent = rStr; } in SetExpansion() argument 624 inline void SetData(const String& rStr) { aData = rStr; } in SetData() argument 644 inline void SetExpansion(const String& rStr) { aContent = rStr; } in SetExpansion() argument [all …]
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | copydlg.cxx | 131 String& rStr = GetExtraData(); in ~CopyDlg() local 133 rStr = UniString::CreateFromInt64( maNumFldCopies.GetValue() ); in ~CopyDlg() 134 rStr.Append( TOKEN ); in ~CopyDlg() 136 rStr += UniString::CreateFromInt64( maMtrFldMoveX.GetValue() ); in ~CopyDlg() 137 rStr.Append( TOKEN ); in ~CopyDlg() 139 rStr += UniString::CreateFromInt64( maMtrFldMoveY.GetValue() ); in ~CopyDlg() 140 rStr.Append( TOKEN ); in ~CopyDlg() 143 rStr.Append( TOKEN ); in ~CopyDlg() 146 rStr.Append( TOKEN ); in ~CopyDlg() 149 rStr.Append( TOKEN ); in ~CopyDlg() [all …]
|
/aoo41x/main/sc/source/ui/miscdlgs/ |
H A D | anyrefdg.cxx | 278 rStr.Search('+')!=STRING_NOTFOUND || in ShowReference() 279 rStr.Search('*')!=STRING_NOTFOUND || in ShowReference() 280 rStr.Search('-')!=STRING_NOTFOUND || in ShowReference() 281 rStr.Search('/')!=STRING_NOTFOUND || in ShowReference() 282 rStr.Search('&')!=STRING_NOTFOUND || in ShowReference() 283 rStr.Search('<')!=STRING_NOTFOUND || in ShowReference() 284 rStr.Search('>')!=STRING_NOTFOUND || in ShowReference() 286 rStr.Search('^')!=STRING_NOTFOUND) in ShowReference() 288 ShowFormulaReference(rStr); in ShowReference() 292 ShowSimpleReference(rStr); in ShowReference() [all …]
|