/aoo4110/main/sw/source/core/doc/ |
H A D | docedt.cxx | 945 &pStt->nContent, &pEnd->nContent ); in MoveRange() 1007 &pStt->nContent, in MoveRange() 1008 &pEnd->nContent); in MoveRange() 1539 if (rEnd.nContent > rStart.nContent) // check if part is empty in lcl_DoWithBreaks() 1548 if (rEnd.nContent > rStart.nContent) // check if part is empty in lcl_DoWithBreaks() 1664 pStt->nContent.GetIndex() + 1 != pEnd->nContent.GetIndex() || in DeleteRangeImplImpl() 1734 &pStt->nContent, in DeleteRangeImplImpl() 1735 &pEnd->nContent); in DeleteRangeImplImpl() 2279 if (rEnd.nContent != rStart.nContent) // check if part is empty in ReplaceRange() 2290 ASSERT(rEnd.nContent > rStart.nContent, "replace part empty!"); in ReplaceRange() [all …]
|
H A D | docbm.cxx | 295 pStPos->nContent.GetIndex(), 379 pPos1->nContent.GetIndex(), in makeMark() 381 pPos2->nContent.GetIndex()); in makeMark() 570 aNewPos.nContent += nOffset; in correctMarksAbsolute() 610 aNewPos.nContent += nOffset; in correctMarksRelative() 623 aNewPosRel.nContent += pMark->GetMarkPos().nContent.GetIndex(); in correctMarksRelative() 631 aNewPosRel.nContent += pMark->GetOtherMarkPos().nContent.GetIndex(); in correctMarksRelative() 1102 xub_StrLen nContent; member in __anon70ab1a1b0211::_SwSaveTypeCountContent 1109 nContent = 0; in _SwSaveTypeCountContent() 1277 aPam.GetPoint()->nContent = *pIdx; in SetInDoc() [all …]
|
H A D | docruby.cxx | 175 aPam.GetMark()->nContent -= pEntry->GetText().Len(); in SetRubyList() 209 xub_StrLen nTEnd = rPam.GetMark()->nContent.GetIndex(); in _SelectNextRubyChars() 234 pPos->nContent = nStart; in _SelectNextRubyChars() 252 pPos->nContent = nStart; in _SelectNextRubyChars() 263 pPos->nContent = nStart; in _SelectNextRubyChars() 267 pPos->nContent = *pAttr->GetAnyEnd(); in _SelectNextRubyChars() 268 if( pPos->nContent.GetIndex() > nEnd ) in _SelectNextRubyChars() 269 pPos->nContent = nEnd; in _SelectNextRubyChars() 345 pTNd->GoNext( &pPos->nContent, CRSR_SKIP_CHARS ); in _SelectNextRubyChars() 346 nStart = pPos->nContent.GetIndex(); in _SelectNextRubyChars() [all …]
|
H A D | docredln.cxx | 72 aComparePos.nContent.Assign( in lcl_CheckPosition() 335 if( pStt->nContent > 0 ) in AppendRedline() 338 pStt->nContent = 0; in AppendRedline() 352 if( pEnd->nContent > 0 ) in AppendRedline() 355 pEnd->nContent = 0; in AppendRedline() 2048 if( !pStt->nContent.GetIndex() && in lcl_AdjustRedlineRange() 2441 !rSttPos.nContent.GetIndex() )) in SelPrevRedline() 2666 aNewStt.nContent.Assign( pC, 0 ); in InsertWithValidRanges() 2723 aNewStt.nContent = pEnd->nContent; in InsertWithValidRanges() 2752 aNewStt.nContent.Assign( pC, 0 ); in InsertWithValidRanges() [all …]
|
H A D | extinput.cxx | 63 SwIndex& rIdx = GetPoint()->nContent; in ~SwExtTextInput() 65 nEndCnt = GetMark()->nContent.GetIndex(); in ~SwExtTextInput() 148 xub_StrLen nSttCnt = GetPoint()->nContent.GetIndex(), in SetInputData() 149 nEndCnt = GetMark()->nContent.GetIndex(); in SetInputData() 186 GetMark()->nContent = aIdx; in SetInputData() 201 GetPoint()->nContent = nSttCnt; in SetInputData() 218 xub_StrLen nSttCnt = GetPoint()->nContent.GetIndex(), in SetOverwriteCursor() 219 nEndCnt = GetMark()->nContent.GetIndex(); in SetOverwriteCursor() 268 xub_StrLen nPtCnt = pTmp->GetPoint()->nContent.GetIndex(), in GetExtTextInput() 269 nMkCnt = pTmp->GetMark()->nContent.GetIndex(); in GetExtTextInput()
|
/aoo4110/main/sw/source/core/crsr/ |
H A D | pam.cxx | 93 : nNode( rPos.nNode ), nContent( rPos.nContent ) in SwPosition() 100 nContent = rPos.nContent; in operator =() 110 return ( nContent < rPos.nContent ); in operator <() 120 return ( nContent > rPos.nContent ); in operator >() 130 return ( nContent <= rPos.nContent ); in operator <=() 140 return ( nContent >= rPos.nContent ); in operator >=() 148 ( ( nNode == rPos.nNode ) && ( nContent == rPos.nContent ) ? in operator ==() 157 return ( nContent != rPos.nContent ); in operator !=() 1124 rPos.nContent.Assign( pNd, in GoCurrSection() 1145 rPos.nContent.Assign( pNd, in GoNextSection() [all …]
|
H A D | swcrsr.cxx | 119 nPos = rPos.nContent.GetIndex(); in NextPos() 1312 GetPoint()->nContent = nPtPos; in GoStartWordWT() 1337 GetPoint()->nContent = nPtPos; in GoEndWordWT() 1361 GetPoint()->nContent = nPtPos; in GoNextWordWT() 1388 GetPoint()->nContent = nPtPos; in GoPrevWordWT() 1531 GetPoint()->nContent = nPtPos; in GoSentence() 1569 GetMark()->nContent = nStartPos; in ExpandToSentenceBorders() 1574 GetPoint()->nContent = nEndPos; in ExpandToSentenceBorders() 1935 aPam.GetPoint()->nContent--; in IsAtLeftRightMargin() 2376 GetPoint()->nContent.Assign( 0, 0 ); in ParkCrsr() [all …]
|
H A D | bookmrk.cxx | 56 if(pTxtNode == NULL && rPos.nContent.GetIndex() > 0) in lcl_FixPosition() 61 rPos.nContent.Assign(NULL, 0); in lcl_FixPosition() 63 else if(pTxtNode != NULL && rPos.nContent.GetIndex() > pTxtNode->Len()) in lcl_FixPosition() 68 rPos.nContent.Assign(pTxtNode, pTxtNode->Len()); in lcl_FixPosition() 86 rStart.nContent--; in lcl_AssureFieldMarksSet() 116 aStart.End()->nContent++; in lcl_RemoveFieldMarks() 122 const xub_StrLen nEndPos = ( rEnd == rStart || rEnd.nContent.GetIndex() == 0 ) in lcl_RemoveFieldMarks() 123 ? rEnd.nContent.GetIndex() in lcl_RemoveFieldMarks() 124 : rEnd.nContent.GetIndex() - 1; in lcl_RemoveFieldMarks() 129 aEnd.Start()->nContent--; in lcl_RemoveFieldMarks() [all …]
|
H A D | crstrvl.cxx | 286 rPos.nContent.Assign( pCNd, 0 ); in SetCrsrInHdFt() 339 pCurCrsr->GetPoint()->nContent.Assign( pFnd, 0 ); in GotoNextTOXBase() 390 pCurCrsr->GetPoint()->nContent.Assign( pFnd, 0 ); in GotoPrevTOXBase() 435 pCurCrsr->GetPoint()->nContent.Assign( pCNd, 0 ); in GotoTOXMarkBase() 729 SwIndex aSearchIdx( rPos.nContent ); in MoveFldType() 833 …if ( ( pCrsr->End()->nContent.GetIndex() - pCrsr->Start()->nContent.GetIndex() ) <= nTxtFldLength ) in GetFieldAtCrsr() 936 pCrsr->GetPoint()->nContent.Assign( pTxtNd, 0 ); in GotoOutline() 1765 rPos.nContent = nStart; in SelectTxt() 1767 rPos.nContent = nEnd; in SelectTxt() 1911 pCNd->Len() == aPos.nContent.GetIndex() ) in SetShadowCrsrPos() [all …]
|
H A D | findattr.cxx | 116 nCntntPos = rPam.GetMark()->nContent.GetIndex(); in lcl_SetAttrPam() 118 nCntntPos = rPam.GetPoint()->nContent.GetIndex(); in lcl_SetAttrPam() 122 rPam.GetPoint()->nContent.Assign( pCNd, nStart ); in lcl_SetAttrPam() 129 rPam.GetPoint()->nContent = nCntntPos; in lcl_SetAttrPam() 131 rPam.GetPoint()->nContent = *pEnde; in lcl_SetAttrPam() 246 nNdStt = rPam.GetPoint()->nContent.GetIndex(); in SetNewSet() 248 ? rPam.GetMark()->nContent.GetIndex() in SetNewSet() 253 nNdEnd = rPam.GetPoint()->nContent.GetIndex(); in SetNewSet() 255 ? rPam.GetMark()->nContent.GetIndex() in SetNewSet() 920 : !pPam->GetPoint()->nContent.GetIndex() ) in Find() [all …]
|
H A D | trvlreg.cxx | 72 rCurCrsr.GetPoint()->nContent.Assign( pCNd, 0 ); in GotoPrevRegion() 84 rCurCrsr.GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in GotoPrevRegion() 128 rCurCrsr.GetPoint()->nContent.Assign( pCNd, 0 ); in GotoNextRegion() 140 rCurCrsr.GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in GotoNextRegion() 177 pPos->nContent.Assign( pCNd, nTmpPos ); in GotoCurrRegion() 192 xub_StrLen nCurrCnt = pPos->nContent.GetIndex(); in GotoCurrRegionAndSkip() 215 pPos->nContent.Assign( pCNd, nTmpPos ); in GotoCurrRegionAndSkip() 218 pPos->nContent.GetIndex() != nCurrCnt ) in GotoCurrRegionAndSkip() 238 GetPoint()->nContent.GetIndex() != pSavePos->nCntnt ); in MoveRegion()
|
/aoo4110/main/filter/source/msfilter/ |
H A D | dffpropset.cxx | 1122 sal_uInt32 nRecType, nContent; in ReadPropSet() local 1126 >> nContent; in ReadPropSet() 1137 sal_uInt32 nMergeFlags = nContent; in ReadPropSet() 1151 mpPropSetEntries[ nRecType ].nContent &= ( ( nContent >> 16 ) ^ 0xffffffff ); in ReadPropSet() 1153 mpPropSetEntries[ nRecType ].nContent |= nContent; in ReadPropSet() 1196 nContent += 6; in ReadPropSet() 1200 nContent = 0; in ReadPropSet() 1203 nContent = 0; in ReadPropSet() 1208 nContent = 0; in ReadPropSet() 1210 if ( nContent ) in ReadPropSet() [all …]
|
/aoo4110/main/sw/source/core/undo/ |
H A D | undobj.cxx | 101 nEndCntnt = pEnd->nContent.GetIndex(); in SetValues() 108 nSttCntnt = pStt->nContent.GetIndex(); in SetValues() 121 rPam.GetPoint()->nContent.Assign( 0, 0 ); in SetPaM() 136 rPam.GetPoint()->nContent.Assign( 0, 0 ); in SetPaM() 178 rPam.GetPoint()->nContent.Assign( 0, 0 ); in RemoveIdxFromRange() 376 pEnd->nContent.GetIndex() ) ) ) ) in MoveToUndoNds() 379 aPos.nContent = 0; in MoveToUndoNds() 392 aPos.nContent = 0; in MoveToUndoNds() 414 ++aPos.nContent; in MoveToUndoNds() 426 *pEndCntIdx = aPos.nContent.GetIndex(); in MoveToUndoNds() [all …]
|
H A D | unovwr.cxx | 68 rPos.nNode, rPos.nContent.GetIndex()+1 ); in SwUndoOverwrite() 75 nSttCntnt = rPos.nContent.GetIndex(); in SwUndoOverwrite() 90 rPos.nContent++; in SwUndoOverwrite() 97 pTxtNd->InsertText( cIns, rPos.nContent, in SwUndoOverwrite() 103 const SwIndex aTmpIndex( rPos.nContent, -2 ); in SwUndoOverwrite() 144 rPos.nNode, rPos.nContent.GetIndex()+1 ); in CanGrouping() 152 nSttCntnt > rPos.nContent.GetIndex() )); in CanGrouping() 167 rPos.nContent++; in CanGrouping() 176 pDelTxtNd->InsertText( cIns, rPos.nContent, in CanGrouping() 255 pAktPam->GetMark()->nContent = nSttCntnt; in UndoImpl() [all …]
|
H A D | unins.cxx | 153 nCntnt == rPos.nContent.GetIndex() ) in CanGrouping() 202 pTxtNd->EraseText( pPos->nContent ); in ~SwUndoInsert() 205 pPos->nContent.Assign( 0, 0 ); in ~SwUndoInsert() 253 aPaM.GetPoint()->nContent -= nLen; in UndoImpl() 269 nCnt = aPaM.GetPoint()->nContent.GetIndex(); in UndoImpl() 277 nCntnt = aPaM.GetPoint()->nContent.GetIndex(); in UndoImpl() 284 pPam->GetPoint()->nContent.Assign( in UndoImpl() 597 m_nSttCnt = pStt->nContent.GetIndex(); in Impl() 641 : pEnd->nContent.GetIndex(); in Impl() 727 rPam.GetPoint()->nContent = aIdx; in UndoImpl() [all …]
|
H A D | undel.cxx | 360 rPam.GetPoint()->nContent.Assign( 0, 0 ); in SwUndoDelete() 387 - pStt->nContent.GetIndex(); in SaveCntnt() 393 pSttTxtNd->EraseText( pStt->nContent, nLen ); in SaveCntnt() 430 pEnd->nContent.GetIndex() )); in SaveCntnt() 467 pStt->nContent.GetIndex()+1 != pEnd->nContent.GetIndex() || in CanGrouping() 473 if( pEnd->nContent == nSttCntnt ) in CanGrouping() 478 else if( pStt->nContent == nSttCntnt ) in CanGrouping() 523 pDelTxtNd->EraseText( pStt->nContent, 1 ); in CanGrouping() 720 pTxtNd->InsertText( *pEndStr, aPos.nContent, in UndoImpl() 813 aPos.nContent.Assign( pTxtNd, nSttCntnt ); in UndoImpl() [all …]
|
H A D | unredln.cxx | 174 bIsBackspace = nSttCntnt == rRange.GetPoint()->nContent.GetIndex(); in SwUndoRedlineDelete() 271 aTmp.GetMark()->nContent = 0; in UndoRedlineImpl() 274 aTmp.GetPoint()->nContent.Assign( aTmp.GetCntntNode(), nSaveEndCntnt ); in UndoRedlineImpl() 284 pPam->GetPoint()->nContent.Assign(pCNd, 0 ); in UndoRedlineImpl() 289 pPam->GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in UndoRedlineImpl() 304 xub_StrLen nCntStt = pStart->nContent.GetIndex(); in RedoRedlineImpl() 314 pPam->GetPoint()->nContent.Assign(pCNd, nLen ); in RedoRedlineImpl() 319 pPam->GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in RedoRedlineImpl() 325 rPam.GetPoint()->nContent.Assign( rPam.GetCntntNode(), nSaveEndCntnt ); in RedoRedlineImpl() 337 nSaveEndCntnt = rPos.nContent.GetIndex(); in SetSaveRange() [all …]
|
H A D | unspnd.cxx | 52 nCntnt( rPos.nContent.GetIndex() ), in SwUndoSplitNode() 112 rPam.GetPoint()->nContent.Assign( (SwCntntNode*)pCurrNd, 0 ); in UndoImpl() 123 rPam.GetPoint()->nContent.Assign( pTNd, pTNd->GetTxt().Len() ); in UndoImpl() 129 rPam.GetMark()->nContent.Assign( rPam.GetMark()-> in UndoImpl() 140 rPam.GetPoint()->nContent = 0; in UndoImpl() 142 rPam.GetPoint()->nContent = pTNd->GetTxt().Len(); in UndoImpl() 153 rPam.GetPoint()->nContent.Assign( rPam.GetCntntNode(), nCntnt ); in UndoImpl() 164 rPam.GetPoint()->nContent.Assign( pTNd, nCntnt ); in RedoImpl()
|
H A D | untblk.cxx | 94 nEndCntnt = pTmpPos->nContent.GetIndex(); in SetInsertRange() 103 nSttCntnt = pTmpPos->nContent.GetIndex(); in SetInsertRange() 148 if( pPos->nContent.GetIndex() ) // nicht den gesamten Node loeschen in ~SwUndoInserts() 154 pTxtNd->EraseText( pPos->nContent ); in ~SwUndoInserts() 158 pPos->nContent.Assign( 0, 0 ); in ~SwUndoInserts() 205 MoveToUndoNds( *pPam, &pPos->nNode, &pPos->nContent ); in UndoImpl() 232 pPam->GetPoint()->nContent.Assign( pCNd, nCnt ); in UndoImpl() 273 pPam->GetPoint()->nContent.Assign( pCNd, nSttCntnt ); in RedoImpl() 288 xub_StrLen nMvCnt = pPos->nContent.GetIndex(); in RedoImpl()
|
/aoo4110/main/sw/source/core/edit/ |
H A D | edlingu.cxx | 625 pCrsr->Start()->nContent = pCrsr->End()->nContent; in Ignore() 636 const xub_StrLen nStart = pStt->nContent.GetIndex(); in DelSoftHyph() 659 pSttPos->nContent.GetIndex(); in InsertSoftHyph() 674 pSttPos->nContent += nHyphPos; in InsertSoftHyph() 1020 xub_StrLen nBegin = aPos.nContent.GetIndex(); in GetCorrection() 1077 aPos.nContent = nBegin + nLeft; in GetCorrection() 1135 xub_StrLen nBegin = aPos.nContent.GetIndex(); in GetGrammarCorrection() 1221 aPos.nContent = nBegin + nLeft; in GetGrammarCorrection() 1510 xub_StrLen nEnd = pEndPos->nContent.GetIndex(); in lcl_CutRedlines() 1651 pCrsr->End()->nContent.Assign( in SpellSentence() [all …]
|
H A D | autofmt.cxx | 596 aDelPam.GetMark()->nContent = 0; in DoUnderline() 1088 pPos->nContent--; in HasSelBlanks() 1092 nBlnkPos = pPos->nContent.GetIndex(); in HasSelBlanks() 1098 pPos->nContent++; in HasSelBlanks() 1154 aDelPam.GetPoint()->nContent = nPos; in DeleteAktPara() 1163 aDelPam.GetPoint()->nContent = nPos; in DeleteAktPara() 1255 aDelPam.GetPoint()->nContent = 0; in DelEmptyLine() 1261 aDelPam.GetMark()->nContent = 0; in DelEmptyLine() 1715 aDelPam.GetPoint()->nContent = 0; in BuildEnum() 1717 aDelPam.GetMark()->nContent = 1; in BuildEnum() [all …]
|
H A D | edattr.cxx | 113 xub_StrLen nSttCnt = PCURCRSR->GetMark()->nContent.GetIndex(), in GetCurAttr() 114 nEndCnt = PCURCRSR->GetPoint()->nContent.GetIndex(); in GetCurAttr() 184 xub_StrLen nSttCnt = PCURCRSR->GetMark()->nContent.GetIndex(), in GetCurTxtFmtColl() 185 nEndCnt = PCURCRSR->GetPoint()->nContent.GetIndex(); in GetCurTxtFmtColl() 516 xub_StrLen nPos = pStt->nContent.GetIndex(); in GetScriptType() 521 SwIndex aIdx( pStt->nContent ); in GetScriptType() 555 ? pStt->nContent.GetIndex() in GetScriptType() 558 ? pEnd->nContent.GetIndex() in GetScriptType() 620 xub_StrLen nPos = rPos.nContent.GetIndex(); in GetCurLang() 640 xub_StrLen nStt = pStt->nContent.GetIndex(), nEnd; in GetScalingOfSelectedText() [all …]
|
/aoo4110/main/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 834 pStt->nContent.GetIndex() == 0 && in lcl_MarksWholeNode() 970 SwIndex aDestIdx( rPos.nContent ); in CopyImpl() 974 if( pStt->nContent.GetIndex() || bOneNode ) in CopyImpl() 1061 pEnd->nContent -= nCpyLen; in CopyImpl() 1111 else if( rPos.nContent.GetIndex() ) in CopyImpl() 1117 xub_StrLen nCntntEnd = pEnd->nContent.GetIndex(); in CopyImpl() 1157 SwIndex aDestIdx( rPos.nContent ); in CopyImpl() 1203 pEnd->nContent.GetIndex() ); in CopyImpl() 1275 rPos.nContent.GetIndex() ); in CopyImpl() 1578 pNewPos->nContent.GetIndex() ); in CopyFlyInFlyImpl() [all …]
|
/aoo4110/main/sw/source/ui/lingu/ |
H A D | hhcwrp.cxx | 218 nLastPos = pCrsr->Start()->nContent.GetIndex(); in GetNextPortion() 225 pCrsr->GetPoint()->nContent = nLastPos; in SelectNewUnit_impl() 274 const xub_StrLen nStartIndex = pStart->nContent.GetIndex(); in ChangeText() 324 … rWrtShell.GetCrsr()->GetMark()->nContent.Assign( pStartTxtNode, nChgInNodeStartIndex ); in ChangeText() 359 rWrtShell.GetCrsr()->Start()->nContent.Assign( pStartTxtNode, nStartIndex + nConvTextLen ); in ChangeText() 391 pMark->nContent = pMark->nContent.GetIndex() - rNewText.Len(); in ChangeText_impl() 536 rWrtShell.GetCrsr()->GetMark()->nContent -= (xub_StrLen) aNewTxt.getLength(); in ReplaceUnit() 598 pSttPos->nNode.GetNode().GetTxtNode(), pSttPos->nContent, in Convert() 599 pEndPos->nNode.GetNode().GetTxtNode(), pEndPos->nContent ); in Convert() 614 pTxtNode, pSttPos->nContent, in Convert() [all …]
|
/aoo4110/main/sw/source/filter/html/ |
H A D | swhtml.cxx | 805 pPos->nContent.Assign( pNextNd, 0 ); in Continue() 811 pPos->nContent.Assign( 0, 0 ); in Continue() 1423 pPam->GetPoint()->nContent.GetIndex() ) in NextToken() 1443 if( pPam->GetPoint()->nContent.GetIndex() ) in NextToken() 1727 (pPam->GetPoint()->nContent.GetIndex() in NextToken() 3803 if( pPam->GetPoint()->nContent.GetIndex() ) in NewPara() 3959 if( pPam->GetPoint()->nContent.GetIndex() ) in NewHeading() 4013 if( pPam->GetPoint()->nContent.GetIndex() ) in EndHeading() 4107 if( pPam->GetPoint()->nContent.GetIndex() ) in NewTxtFmtColl() 5416 nSttCntnt( rPos.nContent.GetIndex() ), in _HTMLAttr() [all …]
|