| /trunk/main/sw/source/ui/utlui/ |
| H A D | attrdesc.cxx | 76 String &rText ) const in GetPresentation() 80 rText.Erase(); in GetPresentation() 92 if( rText.Len() && aStr.Len() ) in GetPresentation() 93 rText += String::CreateFromAscii(sKomma); in GetPresentation() 94 rText += aStr; in GetPresentation() 110 String& rText, in GetPresentation() argument 117 rText.Erase(); in GetPresentation() 126 rText = SW_RESSTR(STR_CHARFMT ); in GetPresentation() 128 rText += '('; in GetPresentation() 129 rText += aStr; in GetPresentation() [all …]
|
| /trunk/main/basic/source/classes/ |
| H A D | disas.cxx | 235 sal_Bool SbModule::Disassemble( String& rText ) in Disassemble() argument 237 rText.Erase(); in Disassemble() 241 aDisas.Disas( rText ); in Disassemble() 243 return sal_Bool( rText.Len() != 0 ); in Disassemble() 350 sal_Bool SbiDisas::DisasLine( String& rText ) in DisasLine() argument 358 rText.Erase(); in DisasLine() 395 rText.AppendAscii( "; " ); in DisasLine() 396 rText += s; in DisasLine() 397 rText.AppendAscii( _crlf() ); in DisasLine() 427 rText.AppendAscii( cBuf ); in DisasLine() [all …]
|
| /trunk/main/starmath/source/ |
| H A D | node.cxx | 423 void SmNode::CreateTextFromNode(String &rText) in CreateTextFromNode() argument 428 rText.Append('{'); in CreateTextFromNode() 431 pNode->CreateTextFromNode(rText); in CreateTextFromNode() 434 rText.EraseTrailingChars(); in CreateTextFromNode() 435 APPEND(rText,"} "); in CreateTextFromNode() 667 void SmStructureNode::GetAccessibleText( String &rText ) const in GetAccessibleText() 676 ((SmStructureNode *) pNode)->nAccIndex = rText.Len(); in GetAccessibleText() 677 pNode->GetAccessibleText( rText ); in GetAccessibleText() 707 void SmGraphicNode::GetAccessibleText( String &rText ) const in GetAccessibleText() 709 rText += GetToken().aText; in GetAccessibleText() [all …]
|
| H A D | rect.cxx | 60 sal_Bool SmIsMathAlpha(const XubString &rText) in SmIsMathAlpha() argument 64 if (rText.Len() == 0) in SmIsMathAlpha() 67 DBG_ASSERT(rText.Len() == 1, "Sm : String enthaelt nicht genau ein Zeichen"); in SmIsMathAlpha() 68 xub_Unicode cChar = rText.GetChar(0); in SmIsMathAlpha() 139 const XubString &rText, sal_uInt16 nBorder) in BuildRect() argument 143 aSize = Size(rDev.GetTextWidth(rText), rDev.GetTextHeight()); in BuildRect() 147 sal_Bool bAllowSmaller = bIsMath && !SmIsMathAlpha(rText); in BuildRect() 188 SmGetGlyphBoundRect(rDev, rText, aGlyphRect); in BuildRect() 228 DBG_ASSERT(rText.Len() == 0 || !IsEmpty(), in BuildRect() 234 const XubString &rText, sal_uInt16 nEBorderWidth) in Init() argument [all …]
|
| /trunk/main/svl/source/misc/ |
| H A D | urihelper.cxx | 566 URIHelper::FindFirstURLInText(UniString const & rText, in FindFirstURLInText() argument 574 if (!(rBegin <= rEnd && rEnd <= rText.Len())) in FindFirstURLInText() 643 for (xub_StrLen nPos = rBegin; nPos != rEnd; nPos = nextChar(rText, nPos)) in FindFirstURLInText() 645 sal_Unicode c = rText.GetChar(nPos); in FindFirstURLInText() 652 = INetURLObject::CompareProtocolScheme(UniString(rText, i, in FindFirstURLInText() 656 while (rText.GetChar(i++) != ':') ; in FindFirstURLInText() 660 && checkWChar(rCharClass, rText, &i, &nUriEnd, true, in FindFirstURLInText() 662 if (i != nPrefixEnd && rText.GetChar(i) == '#') in FindFirstURLInText() 666 && checkWChar(rCharClass, rText, &i, &nUriEnd)) ; in FindFirstURLInText() 669 && isBoundary1(rCharClass, rText, nUriEnd, rEnd)) in FindFirstURLInText() [all …]
|
| /trunk/main/editeng/source/items/ |
| H A D | frmitems.cxx | 172 XubString& rText, const IntlWrapper * in GetPresentation() argument 178 rText.Erase(); in GetPresentation() 182 rText = String::CreateFromInt32( GetValue() ); in GetPresentation() 190 rText = EE_RESSTR(RID_SVXSTR_PAPERBIN_SETTINGS); in GetPresentation() 193 rText = EE_RESSTR(RID_SVXSTR_PAPERBIN); in GetPresentation() 194 rText += sal_Unicode(' '); in GetPresentation() 195 rText += String::CreateFromInt32( nValue ); in GetPresentation() 320 XubString& rText, const IntlWrapper *pIntl in GetPresentation() argument 327 rText.Erase(); in GetPresentation() 331 rText = GetMetricText( aSize.Width(), eCoreUnit, ePresUnit, pIntl ); in GetPresentation() [all …]
|
| H A D | paraitem.cxx | 268 XubString& rText, const IntlWrapper * in GetPresentation() argument 272 rText.AssignAscii( RTL_CONSTASCII_STRINGPARAM( "SvxLineSpacingItem" )); in GetPresentation() 274 rText.Erase(); in GetPresentation() 461 XubString& rText, const IntlWrapper * in GetPresentation() argument 467 rText.Erase(); in GetPresentation() 471 rText = GetValueTextByPos( (sal_uInt16)GetAdjust() ); in GetPresentation() 590 XubString& rText, const IntlWrapper * in GetPresentation() argument 597 rText.Erase(); in GetPresentation() 603 rText = EE_RESSTR(RID_SVXITEMS_LINES); in GetPresentation() 609 rText = EE_RESSTR(RID_SVXITEMS_WIDOWS_COMPLETE); in GetPresentation() [all …]
|
| H A D | textitem.cxx | 221 XubString& rText, const IntlWrapper * /*pIntl*/ in GetPresentation() argument 224 rText.Erase(); in GetPresentation() 471 XubString& rText, const IntlWrapper * /*pIntl*/ in GetPresentation() argument 477 rText.Erase(); in GetPresentation() 481 rText = aFamilyName; in GetPresentation() 540 XubString& rText, const IntlWrapper * /*pIntl*/ in GetPresentation() argument 546 rText.Erase(); in GetPresentation() 550 rText = GetValueTextByPos( GetValue() ); in GetPresentation() 716 XubString& rText, const IntlWrapper * /*pIntl*/ in GetPresentation() argument 722 rText.Erase(); in GetPresentation() [all …]
|
| /trunk/main/svx/source/svdraw/ |
| H A D | svdattr.cxx | 379 SfxMapUnit ePresentationMetric, XubString& rText, in GetPresentation() argument 386 GetMetric(nWhich),ePresentationMetric,rText, in GetPresentation() 392 rText.Insert(aStr, 0); in GetPresentation() 397 …return XOutdevItemPool::GetPresentation(rItem,ePresentation,ePresentationMetric,rText,pIntlWrapper… in GetPresentation() 647 SfxMapUnit /*ePresentationMetric*/, XubString &rText, const IntlWrapper *) const in GetPresentation() argument 652 rText = UniString::CreateFromInt32(nValue.GetNumerator()); in GetPresentation() 656 rText += sal_Unicode('/'); in GetPresentation() 657 rText += UniString::CreateFromInt32(nDiv); in GetPresentation() 662 rText = UniString(); in GetPresentation() 663 rText += sal_Unicode('?'); in GetPresentation() [all …]
|
| /trunk/main/sc/source/core/data/ |
| H A D | attrib.cxx | 336 String& rText, in GetPresentation() argument 348 rText.Erase(); in GetPresentation() 352 rText = GetValueText(); in GetPresentation() 356 rText = ScGlobal::GetRscString(STR_PROTECTION); rText += aStrSep; in GetPresentation() 357 rText += (bProtection ? aStrYes : aStrNo); rText += aStrDelim; in GetPresentation() 358 rText += ScGlobal::GetRscString(STR_FORMULAS); rText += aStrSep; in GetPresentation() 359 rText += (!bHideFormula ? aStrYes : aStrNo); rText += aStrDelim; in GetPresentation() 360 rText += ScGlobal::GetRscString(STR_HIDE); rText += aStrSep; in GetPresentation() 361 rText += (bHideCell ? aStrYes : aStrNo); rText += aStrDelim; in GetPresentation() 362 rText += ScGlobal::GetRscString(STR_PRINT); rText += aStrSep; in GetPresentation() [all …]
|
| H A D | docpool.cxx | 684 String& rText, in lcl_HFPresentation() argument 769 rText += aText; in lcl_HFPresentation() 770 rText += aDel; in lcl_HFPresentation() 776 rText.EraseTrailingChars(); in lcl_HFPresentation() 777 rText.EraseTrailingChars( '+' ); in lcl_HFPresentation() 778 rText.EraseTrailingChars(); in lcl_HFPresentation() 787 String& rText, in GetPresentation() argument 801 rText = ScGlobal::GetRscString(STR_SCATTR_PAGE_PRINTDIR); in GetPresentation() 802 rText += aStrSep; in GetPresentation() 805 rText += ((const SfxBoolItem&)rItem).GetValue() ? in GetPresentation() [all …]
|
| /trunk/main/svx/source/xoutdev/ |
| H A D | xattr2.cxx | 118 XubString& rText, const IntlWrapper * in GetPresentation() argument 121 rText.Erase(); in GetPresentation() 128 rText = XubString( ResId( RID_SVXSTR_TRANSPARENCE, DIALOG_MGR() ) ); in GetPresentation() 129 rText.AppendAscii(": "); in GetPresentation() 131 rText += XubString( UniString::CreateFromInt32((sal_uInt16) GetValue()) ); in GetPresentation() 132 rText += sal_Unicode('%'); in GetPresentation() 188 SfxMapUnit /*ePresUnit*/, XubString& rText, const IntlWrapper*) const in GetPresentation() argument 190 rText.Erase(); in GetPresentation() 231 rText = SVX_RESSTR( nId ); in GetPresentation() 436 … SfxMapUnit /*ePresUnit*/, XubString& rText, const IntlWrapper*) const in GetPresentation() argument [all …]
|
| /trunk/main/svx/source/sdr/primitive2d/ |
| H A D | sdrdecompositiontools.cxx | 196 const attribute::SdrTextAttribute& rText, in createTextPrimitive() argument 205 if(rText.isContour()) in createTextPrimitive() 232 &rText.getSdrText(), in createTextPrimitive() 233 rText.getOutlinerParaObject(), in createTextPrimitive() 241 &rText.getSdrText(), in createTextPrimitive() 242 rText.getOutlinerParaObject(), in createTextPrimitive() 247 else if(!rText.getSdrFormTextAttribute().isDefault()) in createTextPrimitive() 253 &rText.getSdrText(), in createTextPrimitive() 254 rText.getOutlinerParaObject(), in createTextPrimitive() 256 rText.getSdrFormTextAttribute()); in createTextPrimitive() [all …]
|
| /trunk/main/svx/source/items/ |
| H A D | algitem.cxx | 88 XubString& rText, const IntlWrapper *) const in GetPresentation() argument 93 rText.Erase(); in GetPresentation() 97 rText = GetValueText( GetValue() ); in GetPresentation() 253 XubString& rText, in GetPresentation() argument 259 rText.Erase(); in GetPresentation() 263 rText = GetValueText( GetValue() ); in GetPresentation() 411 XubString& rText, const IntlWrapper * ) const in GetPresentation() argument 416 rText.Erase(); in GetPresentation() 420 rText = GetValueText( GetValue() ); in GetPresentation() 579 XubString& rText, const IntlWrapper *pIntl in GetPresentation() argument [all …]
|
| H A D | pageitem.cxx | 112 XubString& rText, const IntlWrapper * in GetPresentation() argument 115 rText.Erase(); in GetPresentation() 125 rText = aDescName; in GetPresentation() 126 rText += cpDelim; in GetPresentation() 129 rText += SVX_RESSTR(RID_SVXITEMS_PAGE_NUM_BEGIN + eNumType); in GetPresentation() 130 rText += cpDelim; in GetPresentation() 132 rText += SVX_RESSTR(RID_SVXITEMS_PAGE_LAND_TRUE); in GetPresentation() 134 rText += SVX_RESSTR(RID_SVXITEMS_PAGE_LAND_FALSE); in GetPresentation() 135 rText += cpDelim; in GetPresentation() 136 rText += GetUsageText( eUse ); in GetPresentation() [all …]
|
| H A D | postattr.cxx | 63 XubString& rText, const IntlWrapper * in GetPresentation() argument 69 rText.Erase(); in GetPresentation() 72 rText = GetValue(); in GetPresentation() 75 rText = SVX_RESSTR(RID_SVXITEMS_AUTHOR_COMPLETE); in GetPresentation() 76 rText += GetValue(); in GetPresentation() 112 XubString& rText, const IntlWrapper * in GetPresentation() argument 118 rText.Erase(); in GetPresentation() 121 rText = GetValue(); in GetPresentation() 124 rText = SVX_RESSTR(RID_SVXITEMS_DATE_COMPLETE); in GetPresentation() 125 rText += GetValue(); in GetPresentation() [all …]
|
| /trunk/main/i18npool/source/breakiterator/ |
| H A D | xdictionary.cxx | 194 sal_Bool xdictionary::seekSegment(const rtl::OUString &rText, sal_Int32 pos, in seekSegment() argument 203 sal_uInt32 ch = rText.iterateCodePoints(&indexUtf16, -1); in seekSegment() 211 while (indexUtf16 < rText.getLength()) in seekSegment() 213 sal_uInt32 ch = rText.iterateCodePoints(&indexUtf16, 1); in seekSegment() 221 rText.iterateCodePoints(&indexUtf16, 1); in seekSegment() 322 Boundary xdictionary::previousWord(const OUString& rText, sal_Int32 anyPos, sal_Int16 wordType) in previousWord() argument 325 sal_uInt32 ch = rText.iterateCodePoints(&anyPos, -1); in previousWord() 327 while (anyPos > 0 && u_isWhitespace(ch)) ch = rText.iterateCodePoints(&anyPos, -1); in previousWord() 329 return getWordBoundary(rText, anyPos, wordType, true); in previousWord() 332 Boundary xdictionary::nextWord(const OUString& rText, sal_Int32 anyPos, sal_Int16 wordType) in nextWord() argument [all …]
|
| /trunk/main/svl/source/items/ |
| H A D | dateitem.cxx | 144 XubString& rText, in GetPresentation() argument 152 rText = pIntlWrapper->getLocaleData()->getDate(aDateTime); in GetPresentation() 153 rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", ")); in GetPresentation() 154 rText += pIntlWrapper->getLocaleData()->getTime(aDateTime); in GetPresentation() 162 rText = aIntlWrapper.getLocaleData()->getDate(aDateTime); in GetPresentation() 163 rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", ")); in GetPresentation() 164 rText += aIntlWrapper.getLocaleData()->getTime(aDateTime); in GetPresentation() 167 rText.Erase(); in GetPresentation() 240 XubString& rText, in GetPresentation() argument 251 rText = String(SvtSimpleResId(STR_COLUM_DT_AUTO, in GetPresentation() [all …]
|
| /trunk/main/linguistic/inc/linguistic/ |
| H A D | misc.hxx | 102 inline ::rtl::OUString BS2OU(const ByteString &rText, rtl_TextEncoding nEnc) in BS2OU() argument 104 return ::rtl::OUString( rText.GetBuffer(), rText.Len(), nEnc ); in BS2OU() 107 inline ByteString OU2BS(const ::rtl::OUString &rText, rtl_TextEncoding nEnc) in OU2BS() argument 109 return ByteString( rText.getStr(), nEnc ); in OU2BS() 180 LNG_DLLPUBLIC sal_Bool IsUpper( const String &rText, xub_StrLen nPos, xub_StrLen nLen, sal_I… 181 LNG_DLLPUBLIC sal_Bool IsLower( const String &rText, xub_StrLen nPos, xub_StrLen nLen, sal_I… 183 …ine sal_Bool IsUpper( const String &rText, sal_Int16 nLanguage ) { return IsUpper( rTex… in IsUpper() argument 184 …ine sal_Bool IsLower( const String &rText, sal_Int16 nLanguage ) { return IsLower( rTex… in IsLower() argument 186 String ToLower( const String &rText, sal_Int16 nLanguage ); 187 String ToUpper( const String &rText, sal_Int16 nLanguage ); [all …]
|
| /trunk/main/l10ntools/source/ |
| H A D | export.cxx | 1217 void Export::CutComment( ByteString &rText ) in CutComment() argument 1220 if ( rText.Search( "//" ) != STRING_NOTFOUND ) { in CutComment() 1221 ByteString sWork( rText ); in CutComment() 1234 rText.Erase( i ); in CutComment() 1573 void Export::InsertListEntry( const ByteString &rText, const ByteString &rLine ) in InsertListEntry() argument 1633 (*pCurEntry)[ nListLang ] = rText; in InsertListEntry() 1641 pResData->addFallbackData( sKey , rText ); in InsertListEntry() 1652 pResData->addFallbackData( sKey , rText ); in InsertListEntry() 1773 void Export::WriteToMerged( const ByteString &rText , bool bSDFContent ) in WriteToMerged() argument 1786 ByteString sText( rText ); in WriteToMerged() [all …]
|
| /trunk/main/sw/source/ui/vba/ |
| H A D | vbarangehelper.cxx | 41 …wVbaRangeHelper::getRangeByPosition( const uno::Reference< text::XText >& rText, sal_Int32 _positi… in getRangeByPosition() argument 44 if( rText.is() ) in getRangeByPosition() 47 uno::Reference< text::XTextCursor > xCursor = rText->createTextCursor(); in getRangeByPosition() 67 …Reference< text::XTextRange >& rTextRange, uno::Reference< text::XText >& rText, const rtl::OUStri… in insertString() argument 78 … rText->insertString( xRange, rStr.copy( nlastIndex, ( nIndex - 1 - nlastIndex ) ), _bAbsorb ); in insertString() 82 rText->insertControlCharacter( xRange, text::ControlCharacter::PARAGRAPH_BREAK, _bAbsorb ); in insertString() 91 rText->insertString( xRange, aWatt, _bAbsorb ); in insertString() 95 …nce< text::XTextRange >& rTextRange, const uno::Reference< text::XText >& rText ) throw ( uno::Run… in initCursor() argument 102 xTextCursor = rText->createTextCursorByRange( rTextRange ); in initCursor() 128 xTextCursor = rText->createTextCursor(); in initCursor() [all …]
|
| /trunk/main/linguistic/source/ |
| H A D | spelldsp.cxx | 70 sal_Bool HasEntry( const OUString &rText ) const; 81 void Prepend( const OUString &rText ); 85 void Remove( const OUString &rText ); 90 sal_Bool ProposalList::HasEntry( const OUString &rText ) const in HasEntry() 96 if (aVec[i] == rText) in HasEntry() 102 void ProposalList::Prepend( const OUString &rText ) in Prepend() argument 104 if (!HasEntry( rText )) in Prepend() 105 aVec.insert( aVec.begin(), rText ); in Prepend() 108 void ProposalList::Append( const OUString &rText ) in Append() argument 110 if (!HasEntry( rText )) in Append() [all …]
|
| /trunk/main/sw/source/core/txtnode/ |
| H A D | txatritr.cxx | 46 : rText( rStr ), in SwScriptIterator() 57 nCurScript = pBreakIt->GetBreakIter()->getScriptType( rText, nPos ); in SwScriptIterator() 63 rText, nPos, nCurScript ); in SwScriptIterator() 64 if( nPos && nPos < rText.Len() ) in SwScriptIterator() 67 nCurScript = pBreakIt->GetBreakIter()->getScriptType( rText,nPos); in SwScriptIterator() 73 (xub_StrLen)pBreakIt->GetBreakIter()->endOfScript( rText, nStt, nCurScript ) : in SwScriptIterator() 74 (xub_StrLen)pBreakIt->GetBreakIter()->beginOfScript( rText, nStt, nCurScript ); in SwScriptIterator() 83 if ( bForward && nChgPos < rText.Len() ) in Next() 85 nCurScript = pBreakIt->GetBreakIter()->getScriptType( rText, nChgPos ); in Next() 87 rText, nChgPos, nCurScript ); in Next() [all …]
|
| /trunk/main/drawinglayer/source/primitive2d/ |
| H A D | textlayoutdevice.cxx | 213 const String& rText, in getTextWidth() argument 217 return mrDevice.GetTextWidth(rText, nIndex, nLength); in getTextWidth() 222 const String& rText, in getTextOutlines() argument 229 const sal_uInt32 nStringLength(rText.Len()); in getTextOutlines() 248 rText, in getTextOutlines() 260 rText, in getTextOutlines() 271 const String& rText, in getTextBoundRect() argument 276 const sal_uInt32 nStringLength(rText.Len()); in getTextBoundRect() 289 rText, in getTextBoundRect() 320 const String& rText, in addTextRectActions() argument [all …]
|
| /trunk/main/starmath/inc/ |
| H A D | node.hxx | 154 virtual void CreateTextFromNode(String &rText); 161 virtual void GetAccessibleText( String &rText ) const; 214 virtual void GetAccessibleText( String &rText ) const; 249 virtual void GetAccessibleText( String &rText ) const; 275 void CreateTextFromNode(String &rText); 320 void SetText(const XubString &rText) { aText = rText; } in SetText() argument 325 virtual void CreateTextFromNode(String &rText); 332 virtual void GetAccessibleText( String &rText ) const; 395 void CreateTextFromNode(String &rText); 515 void CreateTextFromNode(String &rText); [all …]
|