| /AOO41X/main/editeng/source/items/ |
| H A D | svxfont.cxx | 131 XubString SvxFont::CalcCaseMap( const XubString &rTxt ) const in CalcCaseMap() 133 if( !IsCaseMap() || !rTxt.Len() ) return rTxt; in CalcCaseMap() 134 XubString aTxt( rTxt ); in CalcCaseMap() 205 const XubString &rTxt; member in SvxDoCapitals 212 : pOut(_pOut), rTxt(_rTxt), nIdx(_nIdx), nLen(_nLen) in SvxDoCapitals() 217 virtual void Do( const XubString &rTxt, 222 inline const XubString &GetTxt() const { return rTxt; } in GetTxt() 242 const XubString &rTxt = rDo.GetTxt(); in DoOnCapitals() local 246 const XubString aTxt( CalcCaseMap( rTxt ) ); in DoOnCapitals() 247 const sal_uInt16 nTxtLen = Min( rTxt.Len(), nLen ); in DoOnCapitals() [all …]
|
| /AOO41X/main/editeng/source/misc/ |
| H A D | svxacorr.cxx | 139 bool lcl_IsUnsupportedUnicodeChar( CharClass& rCC, const String& rTxt, in lcl_IsUnsupportedUnicodeChar() argument 147 nCharType = rCC.getCharacterType( rTxt, nStt ); in lcl_IsUnsupportedUnicodeChar() 148 nChType = rCC.getType( rTxt, nStt ); in lcl_IsUnsupportedUnicodeChar() 150 short nScript = rCC.getScript( rTxt, nStt ); in lcl_IsUnsupportedUnicodeChar() 174 sal_Bool lcl_IsSymbolChar( CharClass& rCC, const String& rTxt, in lcl_IsSymbolChar() argument 182 nCharType = rCC.getCharacterType( rTxt, nStt ); in lcl_IsSymbolChar() 183 nChType = rCC.getType( rTxt, nStt ); in lcl_IsSymbolChar() 186 rCC.getType( rTxt, nStt )) in lcl_IsSymbolChar() 458 sal_Bool SvxAutoCorrect::FnCptlSttWrd( SvxAutoCorrDoc& rDoc, const String& rTxt, in FnCptlSttWrd() argument 468 if( rCC.isLetterNumeric( rTxt, nSttPos )) in FnCptlSttWrd() [all …]
|
| /AOO41X/main/svl/source/misc/ |
| H A D | lngmisc.cxx | 40 sal_Int32 GetNumControlChars( const OUString &rTxt ) in GetNumControlChars() argument 43 sal_Int32 nLen = rTxt.getLength(); in GetNumControlChars() 46 if (IsControlChar( rTxt[i] )) in GetNumControlChars() 53 sal_Bool RemoveHyphens( OUString &rTxt ) in RemoveHyphens() argument 56 if (HasHyphens( rTxt )) in RemoveHyphens() 58 String aTmp( rTxt ); in RemoveHyphens() 61 rTxt = aTmp; in RemoveHyphens() 68 sal_Bool RemoveControlChars( OUString &rTxt ) in RemoveControlChars() argument 71 sal_Int32 nCtrlChars = GetNumControlChars( rTxt ); in RemoveControlChars() 74 sal_Int32 nLen = rTxt.getLength(); in RemoveControlChars() [all …]
|
| /AOO41X/main/sw/source/core/bastyp/ |
| H A D | breakit.cxx | 115 sal_uInt16 SwBreakIt::GetRealScriptOfText( const String& rTxt, in GetRealScriptOfText() argument 120 if( xBreak.is() && rTxt.Len() ) in GetRealScriptOfText() 122 if( nPos && nPos == rTxt.Len() ) in GetRealScriptOfText() 124 nScript = xBreak->getScriptType( rTxt, nPos ); in GetRealScriptOfText() 126 if ( i18n::ScriptType::WEAK == nScript && nPos + 1 < rTxt.Len() ) in GetRealScriptOfText() 130 switch ( u_charType(rTxt.GetChar(nPos + 1) ) ) { in GetRealScriptOfText() 134 nScript = xBreak->getScriptType( rTxt, nPos+1 ); in GetRealScriptOfText() 139 0 < (nChgPos = xBreak->beginOfScript( rTxt, nPos, nScript )) ) in GetRealScriptOfText() 140 nScript = xBreak->getScriptType( rTxt, nChgPos-1 ); in GetRealScriptOfText() 142 if( i18n::ScriptType::WEAK == nScript && rTxt.Len() > in GetRealScriptOfText() [all …]
|
| /AOO41X/main/sw/source/core/text/ |
| H A D | porlay.cxx | 209 bool lcl_HasStrongLTR ( const String& rTxt, xub_StrLen nStart, xub_StrLen nEnd ) in lcl_HasStrongLTR() argument 213 const UCharDirection nCharDir = u_charDirection ( rTxt.GetChar ( nCharIdx )); in lcl_HasStrongLTR() 379 bool lcl_HasOnlyBlanks( const XubString& rTxt, xub_StrLen nStt, xub_StrLen nEnd ) in lcl_HasOnlyBlanks() argument 384 const xub_Unicode cChar = rTxt.GetChar( nStt++ ); in lcl_HasOnlyBlanks() 792 const String& rTxt = rNode.GetTxt(); in InitScriptInfo() local 797 Range aRange( 0, rTxt.Len() ? rTxt.Len() - 1 : 0 ); in InitScriptInfo() 897 nScript != pBreakIt->GetBreakIter()->getScriptType( rTxt, nChg ) ) in InitScriptInfo() 903 nScript = (sal_uInt8)pBreakIt->GetBreakIter()->getScriptType( rTxt, nChg ); in InitScriptInfo() 949 if( WEAK == pBreakIt->GetBreakIter()->getScriptType( rTxt, nChg ) ) in InitScriptInfo() 956 (xub_StrLen)pBreakIt->GetBreakIter()->endOfScript( rTxt, nChg, WEAK ); in InitScriptInfo() [all …]
|
| H A D | txthyph.cxx | 59 const XubString &rTxt, const MSHORT nMinTrail ) in HyphWord() argument 61 if( rTxt.Len() < 4 || pFnt->IsSymbol(pVsh) ) in HyphWord() 68 xHyphWord = xHyph->hyphenate( OUString(rTxt), in HyphWord() 70 rTxt.Len() - nMinTrail, GetHyphValues() ); in HyphWord() 417 sal_Bool SwHyphPortion::GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const in GetExpTxt() 427 rTxt = cChar; in GetExpTxt() 469 sal_Bool SwHyphStrPortion::GetExpTxt( const SwTxtSizeInfo &, XubString &rTxt ) const in GetExpTxt() 471 rTxt = aExpand; in GetExpTxt() 646 sal_Bool SwSoftHyphPortion::GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const in GetExpTxt() 653 return SwHyphPortion::GetExpTxt( rInf, rTxt ); in GetExpTxt()
|
| H A D | frminf.cxx | 39 const XubString &rTxt = GetInfo().GetTxt(); in GetTxtStart() local 46 const xub_Unicode aChar = rTxt.GetChar( i ); in GetTxtStart() 59 const XubString &rTxt = GetInfo().GetTxt(); in GetTxtEnd() local 65 xub_Unicode aChar = rTxt.GetChar( static_cast<xub_StrLen>(i) ); in GetTxtEnd() 350 const XubString& rTxt = aInf.GetTxt(); in GetBigIndent() local 351 xub_Unicode aChar = rTxt.GetChar( rFndPos ); in GetBigIndent() 358 aChar = rTxt.GetChar( rFndPos - 1 ); in GetBigIndent() 363 ( ' ' != aChar || ' ' != rTxt.GetChar( rFndPos - 2 ) ) ) in GetBigIndent()
|
| H A D | porexp.cxx | 45 XubString &rTxt ) const in GetExpTxt() 47 rTxt.Erase(); in GetExpTxt() 242 sal_Bool SwBlankPortion::GetExpTxt( const SwTxtSizeInfo&, XubString &rTxt ) const in GetExpTxt() 244 rTxt = cChar; in GetExpTxt() 300 XubString &rTxt ) const in GetExpTxt() 303 rTxt = ' '; in GetExpTxt() 305 rTxt.Erase(); in GetExpTxt()
|
| /AOO41X/main/sw/source/core/inc/ |
| H A D | drawdev.hxx | 51 inline void DrawText( const Point& rStart, const String& rTxt, 55 const String& rTxt, 59 const String& rTxt, 75 inline void SwDrawDev::DrawText( const Point& rStart, const String& rTxt, in DrawText() argument 79 pOut->DrawText( rStart, rTxt, nIdx, nLen ); in DrawText() 81 pOut->DrawText( rStart - *pPos, rTxt, nIdx, nLen ); in DrawText() 89 const String& rTxt, const sal_uInt16 nIdx, const sal_uInt16 nLen ) in DrawStretchText() argument 92 pOut->DrawStretchText( rStart, nWidth, rTxt, nIdx, nLen ); in DrawStretchText() 94 pOut->DrawStretchText( rStart - *pPos, nWidth, rTxt, nIdx, nLen ); in DrawStretchText() 101 inline void SwDrawDev::DrawTextArray( const Point& rStart, const String& rTxt, in DrawTextArray() argument [all …]
|
| /AOO41X/main/sw/source/core/tox/ |
| H A D | txmsrt.cxx | 132 String SwTOXInternational::GetIndexKey( const String& rTxt, const String& rTxtReading, in GetIndexKey() argument 135 return pIndexWrapper->GetIndexKey( rTxt, rTxtReading, rLocale ); in GetIndexKey() 400 void SwTOXIndex::GetText_Impl( String& rTxt, String& rTxtReading ) const in GetText_Impl() argument 408 rTxt = rTOXMark.GetPrimaryKey(); in GetText_Impl() 414 rTxt = rTOXMark.GetSecondaryKey(); in GetText_Impl() 420 rTxt = rTOXMark.GetText(); in GetText_Impl() 428 String sUpper( pTOXIntl->ToUpper( rTxt, 0 )); in GetText_Impl() 429 rTxt.Erase( 0, 1 ).Insert( sUpper, 0 ); in GetText_Impl() 527 void SwTOXCustom::GetText_Impl( String& rTxt, String &rTxtReading ) const in GetText_Impl() argument 529 rTxt = aKey; in GetText_Impl() [all …]
|
| /AOO41X/main/editeng/inc/editeng/ |
| H A D | svxfont.hxx | 76 String CalcCaseMap( const String &rTxt ) const; 88 Size GetCapitalSize( const OutputDevice *pOut, const String &rTxt, 90 void DrawCapital( OutputDevice *pOut, const Point &rPos, const String &rTxt, 93 Size GetPhysTxtSize( const OutputDevice *pOut, const String &rTxt, 96 Size GetPhysTxtSize( const OutputDevice *pOut, const String &rTxt ); 98 Size GetTxtSize( const OutputDevice *pOut, const String &rTxt, 101 void DrawText( OutputDevice *pOut, const Point &rPos, const String &rTxt, 104 void QuickDrawText( OutputDevice *pOut, const Point &rPos, const String &rTxt, 107 Size QuickGetTextSize( const OutputDevice *pOut, const String &rTxt, 111 const Point &rPos, const String &rTxt,
|
| /AOO41X/main/sw/source/core/edit/ |
| H A D | acorrect.cxx | 137 sal_Bool SwAutoCorrDoc::Insert( xub_StrLen nPos, const String& rTxt ) in Insert() argument 140 rEditSh.GetDoc()->InsertString( aPam, rTxt ); in Insert() 144 if( 1 == rTxt.Len() ) in Insert() 154 sal_Bool SwAutoCorrDoc::Replace( xub_StrLen nPos, const String& rTxt ) in Replace() argument 156 return ReplaceRange( nPos, rTxt.Len(), rTxt ); in Replace() 158 sal_Bool SwAutoCorrDoc::ReplaceRange( xub_StrLen nPos, xub_StrLen nSourceLength, const String& rTxt… in ReplaceRange() argument 175 xub_StrLen const nLen = rTxt.Len(); in ReplaceRange() 199 pDoc->InsertString( *pPam, rTxt ); in ReplaceRange() 208 pDoc->ReplaceRange( *pPam, rTxt, false ); in ReplaceRange() 215 if( nSourceLength != rTxt.Len() ) in ReplaceRange() [all …]
|
| H A D | edattr.cxx | 417 const String& rTxt = rTNd.GetTxt(); in lcl_IsNoEndTxtAttrAtPos() local 455 if ( CH_TXTATR_BREAKWORD == rTxt.GetChar( nPos ) ) in lcl_IsNoEndTxtAttrAtPos() 549 const String& rTxt = pTNd->GetTxt(); in GetScriptType() local 559 : rTxt.Len(); in GetScriptType() 561 ASSERT( nEndPos <= rTxt.Len(), "Index outside the range - endless loop!" ); in GetScriptType() 562 if( nEndPos > rTxt.Len() ) in GetScriptType() 563 nEndPos = rTxt.Len(); in GetScriptType() 571 rTxt, nChg ); in GetScriptType() 574 0 == nChg && rTxt.Len() == nEndPos ) ) in GetScriptType() 586 rTxt, nChg, nScript ); in GetScriptType() [all …]
|
| H A D | autofmt.cxx | 423 const String& rTxt = rNd.GetTxt(); in IsEnumericChar() local 424 String sTmp( rTxt ); in IsEnumericChar() 426 xub_StrLen nLen = rTxt.Len() - nBlnks; in IsEnumericChar() 431 if( 2 < nLen && IsSpace( rTxt.GetChar( nBlnks + 1 ) ) ) in IsEnumericChar() 433 if( StrChr( pBulletChar, rTxt.GetChar( nBlnks ) ) ) in IsEnumericChar() 477 const String& rTxt = rNd.GetTxt(); in CalcLevel() local 494 for( xub_StrLen n = 0, nEnd = rTxt.Len(); n < nEnd; ++n ) in CalcLevel() 496 switch( rTxt.GetChar( n ) ) in CalcLevel() 783 const String& rTxt = rNd.GetTxt(); in IsFirstCharCapital() local 784 for( xub_StrLen n = 0, nEnd = rTxt.Len(); n < nEnd; ++n ) in IsFirstCharCapital() [all …]
|
| /AOO41X/main/svl/inc/svl/ |
| H A D | lngmisc.hxx | 56 inline sal_Bool HasHyphens( const rtl::OUString &rTxt ) in HasHyphens() argument 58 return rTxt.indexOf( SVT_SOFT_HYPHEN ) != -1 || in HasHyphens() 59 rTxt.indexOf( SVT_HARD_HYPHEN ) != -1; in HasHyphens() 62 SVL_DLLPUBLIC sal_Int32 GetNumControlChars( const rtl::OUString &rTxt ); 63 SVL_DLLPUBLIC sal_Bool RemoveHyphens( rtl::OUString &rTxt ); 64 SVL_DLLPUBLIC sal_Bool RemoveControlChars( rtl::OUString &rTxt ); 66 SVL_DLLPUBLIC sal_Bool ReplaceControlChars( rtl::OUString &rTxt, sal_Char aRplcChar = ' ' );
|
| /AOO41X/main/drawinglayer/source/primitive2d/ |
| H A D | textbreakuphelper.cxx | 207 const rtl::OUString& rTxt = mrSource.getText(); in breakup() local 218 …sal_Int32 nNextCellBreak(xBreakIterator->nextCharacters(rTxt, nTextPosition, rLocale, ::com::sun::… in breakup() 227 …nNextCellBreak = xBreakIterator->nextCharacters(rTxt, a, rLocale, ::com::sun::star::i18n::Characte… in breakup() 236 …n::star::i18n::Boundary nNextWordBoundary(xBreakIterator->getWordBoundary(rTxt, nTextPosition, rLo… in breakup() 252 …const sal_Int32 nEndOfSpaces(xBreakIterator->endOfCharBlock(rTxt, a, rLocale, ::com::sun::star::i1… in breakup() 260 …nNextWordBoundary = xBreakIterator->getWordBoundary(rTxt, a + 1, rLocale, ::com::sun::star::i18n::… in breakup() 272 … sal_Int32 nNextSentenceBreak(xBreakIterator->endOfSentence(rTxt, nTextPosition, rLocale)); in breakup() 281 … nNextSentenceBreak = xBreakIterator->endOfSentence(rTxt, a + 1, rLocale); in breakup()
|
| /AOO41X/main/sw/source/filter/ww8/ |
| H A D | writerwordglue.cxx | 537 const String &rTxt = rTxtNd.GetTxt(); in GetPseudoCharRuns() local 553 if (rTxt.Len() && pBreakIt && pBreakIt->GetBreakIter().is()) in GetPseudoCharRuns() 554 nScript = pBreakIt->GetBreakIter()->getScriptType(rTxt, 0); in GetPseudoCharRuns() 562 if (!rTxt.Len()) in GetPseudoCharRuns() 587 UBiDi* pBidi = ubidi_openSized(rTxt.Len(), 0, &nError); in GetPseudoCharRuns() 588 ubidi_setPara(pBidi, reinterpret_cast<const UChar *>(rTxt.GetBuffer()), rTxt.Len(), in GetPseudoCharRuns() 620 xub_StrLen nLen = rTxt.Len(); in GetPseudoCharRuns() 625 myImplHelpers::getScriptClass(rTxt.GetChar(nPos++)); in GetPseudoCharRuns() 628 (ScriptType == myImplHelpers::getScriptClass(rTxt.GetChar(nPos))) in GetPseudoCharRuns() 642 xub_StrLen nLen = rTxt.Len(); in GetPseudoCharRuns() [all …]
|
| /AOO41X/main/uui/source/ |
| H A D | logindlg.hxx | 96 void SetSavePasswordText( const String& rTxt ) { aSavePasswdBtn.SetText( rTxt ); } in SetSavePasswordText() argument 99 void SetErrorText( const String& rTxt ) { aErrorInfo.SetText( rTxt ); } in SetErrorText() argument 100 void SetLoginRequestText( const String& rTxt ) { aRequestInfo.SetText( rTxt ); } in SetLoginRequestText() argument
|
| /AOO41X/main/editeng/source/editeng/ |
| H A D | edtspell.cxx | 567 sal_Bool EdtAutoCorrDoc::Insert( sal_uInt16 nPos, const String& rTxt ) in Insert() argument 570 pImpEE->ImpInsertText( aSel, rTxt ); in Insert() 572 nCursor = nCursor + rTxt.Len(); in Insert() 574 if ( bAllowUndoAction && ( rTxt.Len() == 1 ) ) in Insert() 581 sal_Bool EdtAutoCorrDoc::Replace( sal_uInt16 nPos, const String& rTxt ) in Replace() argument 583 return ReplaceRange( nPos, rTxt.Len(), rTxt ); in Replace() 586 …_Bool EdtAutoCorrDoc::ReplaceRange( xub_StrLen nPos, xub_StrLen nSourceLength, const String& rTxt ) in ReplaceRange() argument 594 pImpEE->ImpInsertText( EditSelection( EditPaM( pCurNode, nEnd ) ), rTxt ); in ReplaceRange() 598 nCursor = nCursor + rTxt.Len(); in ReplaceRange() 600 if ( bAllowUndoAction && ( rTxt.Len() == 1 ) ) in ReplaceRange()
|
| /AOO41X/main/linguistic/inc/linguistic/ |
| H A D | hyphdta.hxx | 87 void SetWord( ::rtl::OUString &rTxt ) { aWord = rTxt; } in SetWord() argument 88 void SetHyphenatedWord( ::rtl::OUString &rTxt ) { aHyphenatedWord = rTxt; } in SetHyphenatedWord() argument 132 void SetWord( ::rtl::OUString &rTxt ) { aWord = rTxt; } in SetWord() argument
|
| /AOO41X/main/sw/source/core/table/ |
| H A D | swtable.cxx | 94 void ChgTextToNum( SwTableBox& rBox, const String& rTxt, const Color* pCol, 181 String& lcl_TabToBlankAtSttEnd( String& rTxt ) in lcl_TabToBlankAtSttEnd() argument 186 for( n = 0; n < rTxt.Len() && ' ' >= ( c = rTxt.GetChar( n )); ++n ) in lcl_TabToBlankAtSttEnd() 188 rTxt.SetChar( n, ' ' ); in lcl_TabToBlankAtSttEnd() 189 for( n = rTxt.Len(); n && ' ' >= ( c = rTxt.GetChar( --n )); ) in lcl_TabToBlankAtSttEnd() 191 rTxt.SetChar( n, ' ' ); in lcl_TabToBlankAtSttEnd() 192 return rTxt; in lcl_TabToBlankAtSttEnd() 195 String& lcl_DelTabsAtSttEnd( String& rTxt ) in lcl_DelTabsAtSttEnd() argument 200 for( n = 0; n < rTxt.Len() && ' ' >= ( c = rTxt.GetChar( n )); ++n ) in lcl_DelTabsAtSttEnd() 202 rTxt.Erase( n--, 1 ); in lcl_DelTabsAtSttEnd() [all …]
|
| /AOO41X/main/linguistic/source/ |
| H A D | misc2.cxx | 135 rtl::OUString StripTrailingChars( rtl::OUString &rTxt, sal_Unicode cChar ) in StripTrailingChars() argument 138 sal_Int32 nTxtLen = rTxt.getLength(); in StripTrailingChars() 140 while (nIdx >= 0 && rTxt[ nIdx-- ] == cChar) in StripTrailingChars() 143 rtl::OUString aRes( rTxt.copy( nTxtLen - nTrailing ) ); in StripTrailingChars() 144 rTxt = rTxt.copy( 0, nTxtLen - nTrailing ); in StripTrailingChars()
|
| /AOO41X/main/sw/source/ui/docvw/ |
| H A D | edtwin2.cxx | 82 static void lcl_GetRedlineHelp( const SwRedline& rRedl, String& rTxt, sal_Bool bBalloon ) in lcl_GetRedlineHelp() argument 96 rTxt = SW_RESSTR( nResId ); in lcl_GetRedlineHelp() 97 rTxt.AppendAscii( RTL_CONSTASCII_STRINGPARAM(": " )); in lcl_GetRedlineHelp() 98 rTxt += rRedl.GetAuthorString(); in lcl_GetRedlineHelp() 99 rTxt.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " - " )); in lcl_GetRedlineHelp() 100 rTxt += GetAppLangDateTimeString( rRedl.GetTimeStamp() ); in lcl_GetRedlineHelp() 102 ( rTxt += '\n' ) += rRedl.GetComment(); in lcl_GetRedlineHelp()
|
| /AOO41X/main/sw/source/core/doc/ |
| H A D | doctxm.cxx | 1653 String& rTxt = (String&)pTOXNd->GetTxt(); in GenerateText() local 1654 rTxt.Erase(); in GenerateText() 1658 rTxt.AppendAscii( RTL_CONSTASCII_STRINGPARAM( ", " )); // comma separation in GenerateText() 1676 xub_StrLen nStartCharStyle = rTxt.Len(); in GenerateText() 1681 …rTxt.Insert( lcl_GetNumString( rBase, aToken.nChapterFormat == CF_NUMBER, static_cast<sal_uInt8>(a… in GenerateText() 1686 SwIndex aIdx( pTOXNd, rTxt.Len() ); in GenerateText() 1694 rTxt.Insert( lcl_GetNumString( rBase, sal_True, MAXLEVEL )); in GenerateText() 1696 SwIndex aIdx( pTOXNd, rTxt.Len() ); in GenerateText() 1703 rTxt.Append('\t'); in GenerateText() 1780 rTxt.Append( aToken.sText ); in GenerateText() [all …]
|
| /AOO41X/main/cui/source/options/ |
| H A D | optHeaderTabListbox.cxx | 39 OptLBoxString_Impl( SvLBoxEntry* pEntry, sal_uInt16 nFlags, const String& rTxt ) : in OptLBoxString_Impl() argument 40 SvLBoxString( pEntry, nFlags, rTxt ) {} in OptLBoxString_Impl() 67 void OptHeaderTabListBox::InitEntry( SvLBoxEntry* pEntry, const XubString& rTxt, in InitEntry() argument 71 SvTabListBox::InitEntry( pEntry, rTxt, rImg1, rImg2, eButtonKind ); in InitEntry()
|