/trunk/main/sw/source/core/text/ |
H A D | guess.cxx | 69 if( !rInf.GetLen() || !rInf.GetTxt().Len() ) in Guess() 72 ASSERT( rInf.GetIdx() < rInf.GetTxt().Len(), in Guess() 92 xub_StrLen nMaxLen = rInf.GetTxt().Len() - rInf.GetIdx(); in Guess() 140 ( nCutPos >= rInf.GetTxt().Len() || in Guess() 195 if( nItalic && ( nBreakPos + 1 ) >= rInf.GetTxt().Len() ) in Guess() 228 while( nX && nBreakPos > rInf.GetTxt().Len() && in Guess() 243 while( ++nCutPos < rInf.GetTxt().Len() && in Guess() 283 aDebugString = rInf.GetTxt(); in Guess() 374 rInf.GetTxt(), nCutPos, aLocale, in Guess() 426 if( '-' == rInf.GetTxt().GetChar( nBreakPos - 1 ) ) in Guess() [all …]
|
H A D | itrform2.cxx | 106 if( nStart > GetInfo().GetTxt().Len() ) in CtorInitTxtFormatter() 109 nStart = GetInfo().GetTxt().Len(); in CtorInitTxtFormatter() 380 ASSERT( rInf.GetTxt().Len() < STRING_LEN, in BuildPortions() 433 rInf.GetIdx() <= rInf.GetTxt().Len(), in BuildPortions() 628 nTmp != rInf.GetTxt().Len() ) in BuildPortions() 796 if( rInf.GetTxt().Len() ) in CalcAscent() 934 xub_StrLen nNextChg = Min( nNextAttr, rInf.GetTxt().Len() ); in NewTxtPortion() 966 nNextChg = Min( nExpect, rInf.GetTxt().Len() ); in NewTxtPortion() 1304 if( rInf.GetIdx() >= rInf.GetTxt().Len() ) in NewPortion() 1493 if( GetInfo().GetLen() < GetInfo().GetTxt().Len() ) in FormatLine() [all …]
|
H A D | frmform.cxx | 853 rReformat.Len() = GetTxt().Len(); in _SetOfst() 1332 && ( nNewStart < GetTxtNode()->GetTxt().Len() ) ) in FormatLine() 1405 if( nNewStart >= GetTxtNode()->GetTxt().Len() ) in FormatLine() 1434 const XubString &rString = GetTxtNode()->GetTxt(); in _Format() 1780 SwCharRange aRange( 0, rInf.GetTxt().Len() ); in FormatOnceMore() 1810 SwCharRange aTmpRange( 0, rInf.GetTxt().Len() ); in FormatOnceMore() 1827 const xub_StrLen nStrLen = GetTxt().Len(); in _Format() 1904 const XubString aXXX = GetTxtNode()->GetTxt(); in Format() 1980 const xub_StrLen nStrLen = GetTxtNode()->GetTxt().Len(); in Format() 2157 const XubString aXXX = GetTxtNode()->GetTxt(); in FormatQuick() [all …]
|
H A D | portxt.cxx | 84 pStr = &rInf.GetTxt(); in lcl_AddSpace() 190 if ( nPos < rInf.GetTxt().Len() ) in lcl_AddSpace() 213 nNextScript = (sal_uInt8)pBreakIt->GetBreakIter()->getScriptType( rInf.GetTxt(), nPos ); in lcl_AddSpace() 479 const XubString aDbgTxt( rInf.GetTxt().Copy( rInf.GetIdx(), rInf.GetLen() ) ); in Format() 517 rInf.GetIdx() < rInf.GetTxt().Len() && in FormatEOL() 574 … if (rInf.OnWin() && 1==rInf.GetLen() && CH_TXT_ATR_FIELDEND==rInf.GetTxt().GetChar(rInf.GetIdx())) in Paint() 580 …else if (rInf.OnWin() && 1==rInf.GetLen() && CH_TXT_ATR_FIELDSTART==rInf.GetTxt().GetChar(rInf.Get… in Paint() 807 rTxt = rInf.GetTxt().Copy( nIdx, nLen ); in GetExpTxt()
|
H A D | txtdrop.cxx | 158 xub_StrLen nEnd = GetTxt().Len(); in GetDropLen() 166 const sal_uInt16 nTxtScript = pBreakIt->GetRealScriptOfText( GetTxt(), 0 ); in GetDropLen() 184 pBreakIt->GetBreakIter()->getWordBoundary( GetTxt(), 0, in GetDropLen() 193 xub_Unicode cChar = GetTxt().GetChar( i ); in GetDropLen() 625 xub_StrLen nNextAttr = Min( GetNextAttr(), rInf.GetTxt().Len() ); in NewDropPortion() 759 XubString aStr( rInf.GetTxt(), nIdx, pCurrPart->GetLen() ); in CalcFontSize() 863 bHaveGlyphRect = pOut->GetTextBoundRect( aRect, rInf.GetTxt(), 0, in CalcFontSize() 882 bHaveGlyphRect = pWin->GetTextBoundRect( aRect, rInf.GetTxt(), 0, in CalcFontSize()
|
H A D | porlay.cxx | 479 … lcl_HasOnlyBlanks( rInf.GetTxt(), nPorSttIdx, nPorSttIdx + pPos->GetLen() ) ) ) in CalcLine() 630 … lcl_HasOnlyBlanks( rInf.GetTxt(), rInf.GetLineStart(), rInf.GetLineStart() + GetLen() ) ) in CalcLine() 792 const String& rTxt = rNode.GetTxt(); in InitScriptInfo() 1118 SwScanner aScanner( rNode, rNode.GetTxt(), 0, 0, in InitScriptInfo() 1510 ASSERT( rNode.GetTxt().Len() == rText.Len(), "MaskHiddenRanges, string len mismatch" ) in MaskHiddenRanges() 1593 pList->push_back( rNode.GetTxt().Len() ); in GetBoundsOfHiddenRange() 1597 rnEndPos = rNode.GetTxt().Len(); in GetBoundsOfHiddenRange() 1609 … const bool bNewHiddenCharsHidePara = ( rnStartPos == 0 && rnEndPos >= rNode.GetTxt().Len() ); in GetBoundsOfHiddenRange() 1617 Range aRange( 0, rNode.GetTxt().Len() ? rNode.GetTxt().Len() - 1 : 0 ); in GetBoundsOfHiddenRange() 1631 rnEndPos = Min( nHiddenEnd, rNode.GetTxt().Len() ); in GetBoundsOfHiddenRange() [all …]
|
H A D | frmcrsr.cxx | 312 pFrm->GetTxtNode()->GetTxt().Len() != nNextOfst ) in GetCharRect() 479 if ( GetTxt().Len() < nOffset ) in GetTopOfLine() 645 if( pTxtNd->GetTxt().Len() > nOffset || in _GetCrsrOfst() 649 if( pTxtNd->GetTxt().Len() ) in _GetCrsrOfst() 781 CH_BREAK == aInf.GetTxt().GetChar( nRightMargin - 1 ) ) in RightMargin() 786 ' ' == aInf.GetTxt().GetChar( nRightMargin - 1 ) ) in RightMargin() 1143 const sal_Unicode* pLineString = GetTxtNode()->GetTxt().GetBuffer(); in PrepareVisualMove() 1300 xub_StrLen nTmpLen = aInf.GetTxt().Len(); in _UnitDown() 1414 rFill.pPos->nContent.Assign( pTxtNd, pTxtNd->GetTxt().Len() ); in FillCrsrPos()
|
H A D | itradj.cxx | 60 nStart + pCurr->GetLen() >= GetInfo().GetTxt().Len(); in FormatBlock() 168 if ( !SwScriptInfo::IsArabicText( rInf.GetTxt(), nIdx, nNext - nIdx ) ) in lcl_CheckKashidaPositions() 177 … nKashidasDropped = rInf.GetOut()->ValidateKashidas ( rInf.GetTxt(), nIdx, nNext - nIdx, in lcl_CheckKashidaPositions() 230 …if ( nFontMinKashida && nKashidasInAttr && SwScriptInfo::IsArabicText( rInf.GetTxt(), nIdx, nNext … in lcl_CheckKashidaWidth() 668 if( bComplete && GetInfo().GetTxt().Len() == nLen ) in CalcFlyAdjust()
|
H A D | itratr.cxx | 333 const sal_Unicode *txt=m_pTxtNode->GetTxt().GetBuffer(); in GetNextAttr() 860 pBreakIt->GetBreakIter()->getWordBoundary( GetTxt(), nStt, in GetScalingOfSelectedText() 937 SwDrawTextInfo aDrawInf( pSh, *pOut, 0, GetTxt(), nIdx, nStop - nIdx ); in GetScalingOfSelectedText() 1032 SwDrawTextInfo aDrawInf( pSh, *pOut, 0, GetTxt(), nStt, 1 ); in GetScalingOfSelectedText() 1044 while ( nIdx < GetTxt().Len() && in GetWidthOfLeadingTabs() 1045 ( '\t' == ( cCh = GetTxt().GetChar( nIdx ) ) || in GetWidthOfLeadingTabs()
|
H A D | pormulti.cxx | 921 if ( GetTxt().Len() != rPos && nNextLevel > nCurrLevel ) in GetMultiCreator() 1004 rPos < GetTxt().Len() ) ) in GetMultiCreator() 1024 aEnd.front() = GetTxt().Len(); in GetMultiCreator() 1035 aEnd.push_front( GetTxt().Len() ); in GetMultiCreator() 1120 rPos < GetTxt().Len() ) ) in GetMultiCreator() 1132 aEnd.push_front( GetTxt().Len() ); in GetMultiCreator() 1198 aEnd.front() = GetTxt().Len(); in GetMultiCreator() 1207 aEnd.push_front( GetTxt().Len() ); in GetMultiCreator() 1854 const XubString* pOldTxt = &(rInf.GetTxt()); in BuildMultiPortion() 1857 XubString aMultiStr( rInf.GetTxt(), 0, nMultiLen + rInf.GetIdx() ); in BuildMultiPortion()
|
/trunk/main/sw/source/core/edit/ |
H A D | autofmt.cxx | 180 { return 0 == rNd.GetTxt().Len() || in IsEmptyLine() 181 rNd.GetTxt().Len() == GetLeadingBlanks( rNd.GetTxt() ); } in IsEmptyLine() 232 pAktTxtNd->GetTxt().Len()) && in CanJoin() 371 return pAktTxtNd->GetTxt(); in GoNextPara() 423 const String& rTxt = rNd.GetTxt(); in IsEnumericChar() 449 String sTmp( rNd.GetTxt() ); in IsBlanksInString() 477 const String& rTxt = rNd.GetTxt(); in CalcLevel() 535 const String& rStr = rNd.GetTxt(); in IsNoAlphaLine() 1965 pTxt = &pAktTxtNd->GetTxt(); in AutoCorrect() 2130 pTxt = &pAktTxtNd->GetTxt(); in AutoCorrect() [all …]
|
H A D | acorrect.cxx | 178 sal_Unicode const Char = pNd->GetTxt().GetChar( n + nPos ); in ReplaceRange() 206 pPam->GetPoint()->nContent = Min( pNd->GetTxt().Len(), in ReplaceRange() 218 pPam->GetPoint()->nContent = Min( pNd->GetTxt().Len(), in ReplaceRange() 304 while( pTNd && !pTNd->GetTxt().Len() ) in GetPrevPara() 311 pStr = &pTNd->GetTxt(); in GetPrevPara() 340 sal_Bool bLastCharIsPoint = nEndPos < pTxtNd->GetTxt().Len() && in ChgAutoCorrWord() 341 '.' == pTxtNd->GetTxt().GetChar( nEndPos ); in ChgAutoCorrWord() 344 pTxtNd->GetTxt(), rSttPos, nEndPos, *this, eLang ); in ChgAutoCorrWord() 415 *ppPara = &pTxtNd->GetTxt(); in ChgAutoCorrWord() 493 n != pTxtNd->GetTxt().Len() )) in SaveDontExpandItems() [all …]
|
H A D | edattr.cxx | 140 : ((SwTxtNode*)pNd)->GetTxt().Len(); in GetCurAttr() 417 const String& rTxt = rTNd.GetTxt(); in lcl_IsNoEndTxtAttrAtPos() 528 if ( pTNd->GetTxt().Len() ) in GetScriptType() 532 pBreakIt->GetBreakIter()->getScriptType( pTNd->GetTxt(), nPos ); in GetScriptType() 549 const String& rTxt = pTNd->GetTxt(); in GetScriptType() 647 nEnd = pTNd->GetTxt().Len(); in GetScalingOfSelectedText()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | txtedt.cxx | 1183 xub_StrLen nEnd = pNode->GetTxt().Len(); in _AutoSpell() 1201 nEnd = pNode->GetTxt().Len(); in _AutoSpell() 1478 xub_StrLen nEnd = pNode->GetTxt().Len(); in CollectAutoCmplWrds() 1690 GetTxt(), nStt, in TransliterateText() 1695 GetTxt(), nEnd, in TransliterateText() 1741 GetTxt(), nEnd, in TransliterateText() 1751 GetTxt(), nEnd, in TransliterateText() 1754 GetTxt(), nLastStart, in TransliterateText() 1759 GetTxt(), nStt, in TransliterateText() 1762 GetTxt(), nCurrentStart, in TransliterateText() [all …]
|
/trunk/main/sw/source/core/tox/ |
H A D | txmsrt.cxx | 215 GetTxt( sMyTxt, sMyTxtReading ); in FillText() 240 GetTxt( sMyTxt, sMyTxtReading ); in operator ==() 343 GetTxt( sMyTxt, sMyTxtReading ); in operator ==() 347 rCmp.GetTxt( sOtherTxt, sOtherTxtReading ); in operator ==() 373 GetTxt( sMyTxt, sMyTxtReading ); in operator <() 377 rCmp.GetTxt( sOtherTxt, sOtherTxtReading ); in operator <() 451 GetTxt( sTmp, sTmpReading ); in FillText() 493 GetTxt( sMyTxt, sMyTxtReading ); in operator ==() 509 GetTxt( sMyTxt, sMyTxtReading ); in operator <() 575 GetTxt( sTmp, sTmpReading ); in FillText() [all …]
|
/trunk/main/sw/source/core/undo/ |
H A D | unmove.cxx | 61 0, pTxtNd->GetTxt().Len(), false ); in SwUndoMove() 72 0, pEndTxtNd->GetTxt().Len(), false ); in SwUndoMove() 85 0, pTxtNd->GetTxt().Len(), false ); in SwUndoMove() 247 SwIndex( pTxtNd, pTxtNd->GetTxt().Len() ) ) ); in UndoImpl() 259 SwIndex( pTxtNd, pTxtNd->GetTxt().Len() ) ) ); in UndoImpl() 323 SwIndex( pTxtNd, pTxtNd->GetTxt().Len() ) ) ); in RedoImpl()
|
H A D | unovwr.cxx | 81 xub_StrLen nTxtNdLen = pTxtNd->GetTxt().Len(); in SwUndoOverwrite() 84 aDelStr.Insert( pTxtNd->GetTxt().GetChar( nSttCntnt ) ); in SwUndoOverwrite() 129 ( pDelTxtNd->GetTxt().Len() != rPos.nContent.GetIndex() && in CanGrouping() 164 if( rPos.nContent.GetIndex() < pDelTxtNd->GetTxt().Len() ) in CanGrouping() 166 aDelStr.Insert( pDelTxtNd->GetTxt().GetChar(rPos.nContent.GetIndex()) ); in CanGrouping() 412 rTNd.GetTxt().Copy( nStart, nLen )); in AddChanges() 466 pNew->nNdIdx, 0, rTNd.GetTxt().Len(), false ); in AddChanges()
|
H A D | undel.cxx | 309 else if( pSttTxtNd && ( pEndTxtNd || pSttTxtNd->GetTxt().Len() ) ) in SwUndoDelete() 376 : pSttTxtNd->GetTxt().Len() - nSttCntnt; in SaveCntnt() 381 0, pSttTxtNd->GetTxt().Len(), true ); in SaveCntnt() 386 nLen = ( bOneNode ? pEnd->nContent.GetIndex() : pSttTxtNd->GetTxt().Len() ) in SaveCntnt() 392 pSttStr = (String*)new String( pSttTxtNd->GetTxt().Copy( nSttCntnt, nLen )); in SaveCntnt() 421 pEndTxtNd->GetTxt().Len(), true ); in SaveCntnt() 429 pEndStr = (String*)new String( pEndTxtNd->GetTxt().Copy( 0, in SaveCntnt() 491 sal_Unicode cDelChar = pDelTxtNd->GetTxt().GetChar( pStt->nContent.GetIndex() ); in CanGrouping() 731 if( nSttCntnt < pNd->GetTxt().Len() ) in UndoImpl()
|
H A D | unins.cxx | 82 pResult = new String( ((SwTxtNode*)pCNd)->GetTxt().Copy(nCntnt-nLen, in GetTxtFromDoc() 257 pTxt = new String( pTxtNode->GetTxt().Copy(nCntnt-nLen, nLen) ); in UndoImpl() 398 String aTxt( ((SwTxtNode*)pCNd)->GetTxt() ); in RepeatImpl() 616 pNd->GetTxt().Len(), true ); in Impl() 628 pNext->GetTxt().Len(), true ); in Impl() 640 xub_StrLen nECnt = m_bSplitNext ? pNd->GetTxt().Len() in Impl() 642 m_sOld = pNd->GetTxt().Copy( m_nSttCnt, nECnt - m_nSttCnt ); in Impl()
|
H A D | unspnd.cxx | 61 pTxtNd->GetTxt().Len(), false ); in SwUndoSplitNode() 123 rPam.GetPoint()->nContent.Assign( pTNd, pTNd->GetTxt().Len() ); in UndoImpl() 142 rPam.GetPoint()->nContent = pTNd->GetTxt().Len(); in UndoImpl()
|
/trunk/main/sw/source/core/crsr/ |
H A D | swcrsr.cxx | 1243 pTxtNd->GetTxt(), nPtPos, in IsStartWordWT() 1258 pTxtNd->GetTxt(), nPtPos, in IsEndWordWT() 1274 pTxtNd->GetTxt(), nPtPos, in IsInWordWT() 1317 pTxtNd->GetTxt(), nPtPos, in GoStartWordWT() 1322 if( nPtPos < pTxtNd->GetTxt().Len() ) in GoStartWordWT() 1341 pTxtNd->GetTxt(), nPtPos, in GoEndWordWT() 1367 pTxtNd->GetTxt(), nPtPos, in GoNextWordWT() 1371 if( nPtPos < pTxtNd->GetTxt().Len() ) in GoNextWordWT() 1398 if( nPtPos < pTxtNd->GetTxt().Len() ) in GoPrevWordWT() 1428 pTxtNd->GetTxt(), nPtPos, in SelectWordWT() [all …]
|
H A D | bookmrk.cxx | 81 const sal_Unicode ch_start=pStartTxtNode->GetTxt().GetChar(rStart.nContent.GetIndex()); in lcl_AssureFieldMarksSet() 92 const sal_Unicode ch_end=pEndTxtNode->GetTxt().GetChar(rEnd.nContent.GetIndex()-1); in lcl_AssureFieldMarksSet() 112 const sal_Unicode ch_start=pStartTxtNode->GetTxt().GetChar(rStart.nContent.GetIndex()); in lcl_RemoveFieldMarks() 125 const sal_Unicode ch_end=pEndTxtNode->GetTxt().GetChar( nEndPos ); in lcl_RemoveFieldMarks()
|
/trunk/main/sw/source/core/doc/ |
H A D | docedt.cxx | 173 sal_Unicode cChr = pNode->GetTxt().GetChar( nPos ); in SV_IMPL_VARARR() 187 } while( (rStart = rIdx.GetIndex()) < pNode->GetTxt().Len() in lcl_SkipAttr() 802 if ( nStart < pNode->GetTxt().Len() ) in Overwrite() 830 if( nStart < pNode->GetTxt().Len() ) in Overwrite() 892 pTxtNd->GetTxt().Len() ) ), 0, sal_True ); in MoveAndJoin() 2336 : pTxtNd->GetTxt().Len(); in ReplaceRangeImpl() 2483 : pTxtNd->GetTxt().Len(); in ReplaceRangeImpl() 2489 if( !bFirst || nStt == pTxtNd->GetTxt().Len() ) in ReplaceRangeImpl() 2503 if( !bFirst || nStt == pTxtNd->GetTxt().Len() ) in ReplaceRangeImpl() 2714 pTNd->GetTxt(), nSttCnt, in TransliterateText() [all …]
|
H A D | doccomp.cxx | 1157 if( rDstNd.GetTxt() == rSrcNd.GetTxt() ) in CompareTxtNd() 1176 xub_StrLen nDEnd = rDestNd.GetTxt().Len(), nSEnd = rSrcNd.GetTxt().Len(); in ChangesInLine() 1181 if( rDestNd.GetTxt().GetChar( nStt ) != in ChangesInLine() 1182 rSrcNd.GetTxt().GetChar( nStt ) ) in ChangesInLine() 1188 if( rDestNd.GetTxt().GetChar( nDEnd ) != in ChangesInLine() 1189 rSrcNd.GetTxt().GetChar( nSEnd ) ) in ChangesInLine() 1196 if( nStt || !nDEnd || !nSEnd || nDEnd < rDestNd.GetTxt().Len() || in ChangesInLine() 1197 nSEnd < rSrcNd.GetTxt().Len() ) in ChangesInLine()
|
/trunk/main/sw/source/core/access/ |
H A D | accportions.cxx | 119 DBG_ASSERT( (nModelPosition + nLength) <= pTxtNode->GetTxt().Len(), in Text() 138 pTxtNode->GetTxt().Copy( in Text() 155 DBG_ASSERT( (nModelPosition + nLength) <= pTxtNode->GetTxt().Len(), in Special() 218 aTmpBuffer.append( pTxtNode->GetTxt().GetChar(nModelPosition) ); in Special() 269 DBG_ASSERT( nLength <= pTxtNode->GetTxt().Len(), "skip exceeds model string!" ); in Skip() 590 DBG_ASSERT( nPos <= pTxtNode->GetTxt().Len(), "illegal position" ); in GetAccessiblePosition() 662 (pTxtNode->GetTxt().GetChar(static_cast<sal_uInt16>(nModelPos)) != in FillSpecialPos()
|