| /AOO41X/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() 114 CH_BLANK == rInf.GetTxt().GetChar( rInf.GetIdx() ) ) in Guess() 140 ( nCutPos >= rInf.GetTxt().Len() || in Guess() 143 rInf.GetTxt().GetChar( nCutPos ) == CH_BREAK ) ) in Guess() 195 if( nItalic && ( nBreakPos + 1 ) >= rInf.GetTxt().Len() ) in Guess() 217 xub_Unicode cCutChar = rInf.GetTxt().GetChar( nCutPos ); in Guess() 228 while( nX && nBreakPos > rInf.GetTxt().Len() && in Guess() 243 while( ++nCutPos < rInf.GetTxt().Len() && 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() 469 bAllowBehind = rCC.isLetterNumeric( rInf.GetTxt(), rInf.GetIdx() ); in BuildPortions() 492 bAllowBefore = rCC.isLetterNumeric( rInf.GetTxt(), rInf.GetIdx() - 1 ); in BuildPortions() 628 nTmp != rInf.GetTxt().Len() ) in BuildPortions() 637 if ( rCC.isLetterNumeric( rInf.GetTxt(), nTmp - 1 ) && in BuildPortions() 638 rCC.isLetterNumeric( rInf.GetTxt(), nTmp ) ) in BuildPortions() 657 const sal_uInt8 nNextScript = nTmp >= rInf.GetTxt().Len() ? in BuildPortions() [all …]
|
| H A D | frmform.cxx | 853 rReformat.Len() = GetTxt().Len(); in _SetOfst() 999 FormatAdjust( aLine, aFrmBreak, aInf.GetTxt().Len(), aInf.IsStop() ); in CalcPreps() 1006 aInf.GetTxt().Len(), aInf.IsStop() ); in CalcPreps() 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() [all …]
|
| 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 | 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 | 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() 1855 const XubString* pOldTxt = &(rInf.GetTxt()); in BuildMultiPortion() 1858 XubString aMultiStr( rInf.GetTxt(), 0, nMultiLen + rInf.GetIdx() ); in BuildMultiPortion()
|
| /AOO41X/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() 231 ((STRING_MAXLEN - 50 - pTxtNd->GetTxt().Len()) > in CanJoin() 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() 562 const sal_Unicode* pStr = pAktTxtNd->GetTxt().GetBuffer(); in DoUnderline() [all …]
|
| H A D | acorrect.cxx | 178 sal_Unicode const Char = pNd->GetTxt().GetChar( n + nPos ); in ReplaceRange() 197 if( nPos == pNd->GetTxt().Len() ) // am Ende erfolgt ein Insert 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() [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()
|
| /AOO41X/main/sw/source/core/txtnode/ |
| H A D | txtedt.cxx | 1167 const XubString aOldTxt( pNode->GetTxt() ); in _AutoSpell() 1170 0, pNode->GetTxt().Len() ) > 0; in _AutoSpell() 1174 ( pNode->GetTxt().GetBuffer() != aOldTxt.GetBuffer() ); in _AutoSpell() 1177 xub_StrLen nEnd = pNode->GetTxt().Len(); in _AutoSpell() 1193 if ( nEnd > pNode->GetTxt().Len() ) in _AutoSpell() 1195 nEnd = pNode->GetTxt().Len(); in _AutoSpell() 1207 pBreakIt->GetBreakIter()->getWordBoundary( pNode->GetTxt(), nBegin, in _AutoSpell() 1236 SwScanner aScanner( *pNode, pNode->GetTxt(), 0, 0, in _AutoSpell() 1342 const rtl::OUString& rText = pNode->GetTxt(); in SmartTagScan() 1472 xub_StrLen nEnd = pNode->GetTxt().Len(); in CollectAutoCmplWrds() [all …]
|
| /AOO41X/main/sw/source/core/tox/ |
| H A D | txmsrt.cxx | 215 GetTxt( sMyTxt, sMyTxtReading ); in FillText() 240 GetTxt( sMyTxt, sMyTxtReading ); in operator ==() 244 rCmp.GetTxt( sOtherTxt, sOtherTxtReading ); in operator ==() 283 GetTxt( sMyTxt, sMyTxtReading ); in operator <() 287 rCmp.GetTxt( sOtherTxt, sOtherTxtReading ); 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() [all …]
|
| /AOO41X/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()
|
| /AOO41X/main/sw/source/core/crsr/ |
| H A D | swcrsr.cxx | 1231 pTxtNd->GetTxt(), nPtPos, in IsStartWordWT() 1246 pTxtNd->GetTxt(), nPtPos, in IsEndWordWT() 1262 pTxtNd->GetTxt(), nPtPos, in IsInWordWT() 1273 … bRet = rCC.isLetterNumeric( pTxtNd->GetTxt(), static_cast<xub_StrLen>(aBoundary.startPos) ); in IsInWordWT() 1305 pTxtNd->GetTxt(), nPtPos, in GoStartWordWT() 1310 if( nPtPos < pTxtNd->GetTxt().Len() ) in GoStartWordWT() 1329 pTxtNd->GetTxt(), nPtPos, in GoEndWordWT() 1334 if( nPtPos <= pTxtNd->GetTxt().Len() && in GoEndWordWT() 1355 pTxtNd->GetTxt(), nPtPos, in GoNextWordWT() 1359 if( nPtPos < pTxtNd->GetTxt().Len() ) in GoNextWordWT() [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()
|
| /AOO41X/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() 888 pTxtNd->GetTxt().Len() ) ), 0, sal_True ); in MoveAndJoin() 1313 pEndNd->GetTxt().Len() - pEnd->nContent.GetIndex(); in lcl_StrLenOverFlow() 1337 pEndNd->GetTxt().Len() != pEnd->nContent.GetIndex() ) in lcl_GetJoinFlags() 1343 pEndNd->GetTxt().Len() != pEnd->nContent.GetIndex() in lcl_GetJoinFlags() 1497 const sal_Unicode c(pTxtNode->GetTxt().GetChar(i)); in lcl_CalcBreaks() 1962 … pSpellArgs->pEndNode == pNd ? pSpellArgs->pEndIdx->GetIndex() : ((SwTxtNode*)pNd)->GetTxt().Len(); in Spell() [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()
|
| /AOO41X/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()
|