Home
last modified time | relevance | path

Searched refs:rTxt (Results 1 – 25 of 125) sorted by relevance

12345

/trunk/main/editeng/source/items/
H A Dsvxfont.cxx133 if( !IsCaseMap() || !rTxt.Len() ) return rTxt; in CalcCaseMap()
134 XubString aTxt( rTxt ); in CalcCaseMap()
205 const XubString &rTxt; member in SvxDoCapitals
242 const XubString &rTxt = rDo.GetTxt(); in DoOnCapitals() local
448 if( IsKern() && ( rTxt.Len() > 1 ) ) in GetPhysTxtSize()
493 nTmp = rTxt.Len(); in GetTxtSize()
496 if( IsCapital() && rTxt.Len() ) in GetTxtSize()
513 if( !nLen || !rTxt.Len() ) return; in DrawText()
516 nTmp = rTxt.Len(); in DrawText()
597 if ( !nLen || !rTxt.Len() ) in DrawPrev()
[all …]
/trunk/main/editeng/source/misc/
H A Dsvxacorr.cxx148 nChType = rCC.getType( rTxt, nStt ); in lcl_IsUnsupportedUnicodeChar()
183 nChType = rCC.getType( rTxt, nStt ); in lcl_IsSymbolChar()
186 rCC.getType( rTxt, nStt )) in lcl_IsSymbolChar()
481 0x1 != rTxt.GetChar( nSttPos ) && 0x2 != rTxt.GetChar( nSttPos )) in FnCptlSttWrd()
521 rCC.isDigit( rTxt, nEndPos - 3 ) ) in FnChgOrdinalNumber()
549 if( !rCC.isDigit( rTxt, --n ) ) in FnChgOrdinalNumber()
551 bChg = !rCC.isLetter( rTxt, n ); in FnChgOrdinalNumber()
622 cCh = rTxt.GetChar( nTmpPos-1 ); in FnChgToEnEmDash()
773 if( ++nEndPos != rTxt.Len() && in FnChgWeightUnderl()
843 String aText( rTxt ); in FnCptlSttSntnc()
[all …]
/trunk/main/svl/source/misc/
H A Dlngmisc.cxx43 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()
74 sal_Int32 nLen = rTxt.getLength(); in RemoveControlChars()
81 sal_Unicode cChar = rTxt[i]; in RemoveControlChars()
89 rTxt = aBuf.makeStringAndClear(); in RemoveControlChars()
114 sal_Unicode cChar = rTxt[i]; in ReplaceControlChars()
[all …]
/trunk/main/sw/source/core/bastyp/
H A Dbreakit.cxx115 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()
130 switch ( u_charType(rTxt.GetChar(nPos + 1) ) ) { in GetRealScriptOfText()
140 nScript = xBreak->getScriptType( rTxt, nChgPos-1 ); in GetRealScriptOfText()
142 if( i18n::ScriptType::WEAK == nScript && rTxt.Len() > in GetRealScriptOfText()
145 nScript = xBreak->getScriptType( rTxt, nChgPos ); in GetRealScriptOfText()
161 else if( rTxt.Len() ) in GetAllScriptsOfText()
163 for( xub_StrLen n = 0, nEnd = rTxt.Len(); n < nEnd; in GetAllScriptsOfText()
[all …]
/trunk/main/sw/source/core/text/
H A Dporlay.cxx792 const String& rTxt = rNode.GetTxt(); in InitScriptInfo() local
797 Range aRange( 0, rTxt.Len() ? rTxt.Len() - 1 : 0 ); in InitScriptInfo()
958 if( nEnd > rTxt.Len() ) in InitScriptInfo()
959 nEnd = rTxt.Len(); in InitScriptInfo()
970 sal_uInt8 nNextScript = ( nEnd < rTxt.Len() ) ? in InitScriptInfo()
987 while ( nChg < rTxt.Len() || ( aScriptChg.empty() && !rTxt.Len() ) ) in InitScriptInfo()
996 if ( nChg > rTxt.Len() ) in InitScriptInfo()
997 nChg = rTxt.Len(); in InitScriptInfo()
1283 if ( nChg < rTxt.Len() ) in InitScriptInfo()
1323 UpdateBidiInfo( rTxt ); in InitScriptInfo()
[all …]
H A Dtxthyph.cxx59 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 Dfrminf.cxx39 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 Dporexp.cxx45 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()
/trunk/main/sw/source/core/inc/
H A Ddrawdev.hxx51 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()
105 pOut->DrawTextArray( rStart, rTxt, pKernArray, nIdx, nLen ); in DrawTextArray()
[all …]
/trunk/main/sw/source/core/tox/
H A Dtxmsrt.cxx408 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()
529 rTxt = aKey; in GetText_Impl()
626 rTxt = ((SwTxtNode*)pNd)->GetExpandTxt( in GetText_Impl()
639 rTxt = pFly->GetName(); in GetText_Impl()
648 rTxt = SW_RESSTR( nId ); in GetText_Impl()
808 rTxt = SW_RESSTR( STR_TABLE_DEFNAME ); in GetText_Impl()
[all …]
/trunk/main/editeng/inc/editeng/
H A Dsvxfont.hxx76 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,
H A Dsvxacorr.hxx76 virtual sal_Bool Insert( xub_StrLen nPos, const String& rTxt ) = 0;
77 virtual sal_Bool Replace( xub_StrLen nPos, const String& rTxt ) = 0;
78 virtual sal_Bool ReplaceRange( xub_StrLen nPos, xub_StrLen nLen, const String& rTxt ) = 0;
249 sal_uLong AutoCorrect( SvxAutoCorrDoc& rDoc, const String& rTxt,
254 sal_Bool GetPrevAutoCorrWord( SvxAutoCorrDoc& rDoc, const String& rTxt,
263 const SvxAutocorrWord* SearchWordsInList( const String& rTxt,
/trunk/main/sw/source/core/edit/
H A Dacorrect.cxx137 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()
156 return ReplaceRange( nPos, rTxt.Len(), rTxt ); in Replace()
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()
220 pDoc->ReplaceRange( *pPam, rTxt, false ); in ReplaceRange()
225 pDoc->Overwrite( *pPam, rTxt ); in ReplaceRange()
[all …]
H A Dedattr.cxx417 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 Dautofmt.cxx423 const String& rTxt = rNd.GetTxt(); in IsEnumericChar() local
424 String sTmp( rTxt ); in IsEnumericChar()
426 xub_StrLen nLen = rTxt.Len() - nBlnks; in IsEnumericChar()
477 const String& rTxt = rNd.GetTxt(); in CalcLevel() local
496 switch( rTxt.GetChar( n ) ) in CalcLevel()
783 const String& rTxt = rNd.GetTxt(); in IsFirstCharCapital() local
785 if( !IsSpace( rTxt.GetChar( n ) ) ) in IsFirstCharCapital()
802 const String& rTxt = rNd.GetTxt(); in GetDigitLevel() local
848 else if( rCC.isAlpha( rTxt, nPos ) ) in GetDigitLevel()
1007 *pPreFix += rTxt.GetChar( nPos ); in GetDigitLevel()
[all …]
/trunk/main/svl/inc/svl/
H A Dlngmisc.hxx56 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 = ' ' );
/trunk/main/sw/source/filter/ww8/
H A Dwriterwordglue.cxx537 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 …]
/trunk/main/drawinglayer/source/primitive2d/
H A Dtextbreakuphelper.cxx207 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()
/trunk/main/editeng/source/editeng/
H A Dedtspell.cxx567 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()
/trunk/main/uui/source/
H A Dlogindlg.hxx96 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
/trunk/main/sw/source/core/table/
H A Dswtable.cxx252 for( n = 0; n < rTxt.Len() && ' ' >= ( c = rTxt.GetChar( n )); ++n ) in lcl_TabToBlankAtSttEnd()
254 rTxt.SetChar( n, ' ' ); in lcl_TabToBlankAtSttEnd()
255 for( n = rTxt.Len(); n && ' ' >= ( c = rTxt.GetChar( --n )); ) in lcl_TabToBlankAtSttEnd()
257 rTxt.SetChar( n, ' ' ); in lcl_TabToBlankAtSttEnd()
258 return rTxt; in lcl_TabToBlankAtSttEnd()
266 for( n = 0; n < rTxt.Len() && ' ' >= ( c = rTxt.GetChar( n )); ++n ) in lcl_DelTabsAtSttEnd()
268 rTxt.Erase( n--, 1 ); in lcl_DelTabsAtSttEnd()
269 for( n = rTxt.Len(); n && ' ' >= ( c = rTxt.GetChar( --n )); ) in lcl_DelTabsAtSttEnd()
271 rTxt.Erase( n, 1 ); in lcl_DelTabsAtSttEnd()
272 return rTxt; in lcl_DelTabsAtSttEnd()
[all …]
/trunk/main/linguistic/inc/linguistic/
H A Dhyphdta.hxx84 void SetWord( ::rtl::OUString &rTxt ) { aWord = rTxt; } in SetWord() argument
85 void SetHyphenatedWord( ::rtl::OUString &rTxt ) { aHyphenatedWord = rTxt; } in SetHyphenatedWord() argument
132 void SetWord( ::rtl::OUString &rTxt ) { aWord = rTxt; } in SetWord() argument
/trunk/main/linguistic/source/
H A Dmisc2.cxx135 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()
/trunk/main/sw/source/ui/docvw/
H A Dedtwin2.cxx82 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()
/trunk/main/sw/source/core/doc/
H A Ddoctxm.cxx1654 rTxt.Erase(); in GenerateText()
1686 SwIndex aIdx( pTOXNd, rTxt.Len() ); in GenerateText()
1703 rTxt.Append('\t'); in GenerateText()
1780 rTxt.Append( aToken.sText ); in GenerateText()
1799 rTxt.Append( aInsStr ); in GenerateText()
1845 rTxt += aFld.GetNumber(); in GenerateText()
1846 rTxt += ' '; in GenerateText()
1847 rTxt += aFld.GetTitle(); in GenerateText()
1850 rTxt += aFld.GetTitle(); in GenerateText()
1857 nLinkStartPosition = rTxt.Len(); in GenerateText()
[all …]

Completed in 202 milliseconds

12345