/aoo41x/main/sw/source/core/undo/ |
H A D | unnum.cxx | 68 nEndNode = 0, nEndCntnt = USHRT_MAX; in SwUndoInsNum() 202 aNodeIdx( sal_uInt8( nEndNode - nSttNode > 255 ? 255 : nEndNode - nSttNode )) in SwUndoDelNum() 269 sal_uLong nTmpStt = nSttNode, nTmpEnd = nEndNode; in UndoImpl() 271 if( nEndNode || USHRT_MAX != nEndCntnt ) // Bereich ? in UndoImpl() 274 nEndNode = nEndNode - ( nSttNode - nNewStt ); in UndoImpl() 276 nEndNode = nEndNode + ( nNewStt - nSttNode ); in UndoImpl() 288 nEndNode = nTmpEnd; in UndoImpl()
|
H A D | unmove.cxx | 51 SwTxtNode* pEndTxtNd = pDoc->GetNodes()[ nEndNode ]->GetTxtNode(); in SwUndoMove() 68 pHistory->Add( pEndTxtNd->GetTxtColl(), nEndNode, ND_TEXTNODE ); in SwUndoMove() 71 pHistory->CopyAttr( pEndTxtNd->GetpSwpHints(), nEndNode, in SwUndoMove() 75 pHistory->CopyFmtAttr( *pEndTxtNd->GetpSwAttrSet(), nEndNode ); in SwUndoMove() 112 nEndNode = rRg.aEnd.GetIndex(); in SwUndoMove() 293 SwNodeRange aRg( rNds, nSttNode, rNds, nEndNode ); in RedoImpl() 315 if( nSttNode != nEndNode && bJoinTxt ) in RedoImpl()
|
H A D | unredln.cxx | 81 nEndNode -= nEndExtra; in SwUndoRedline() 115 nEndNode += nEndExtra; in UndoImpl() 137 nEndNode -= nEndExtra; in RedoImpl() 165 nSttNode == nEndNode && nSttCntnt + 1 == nEndCntnt && in SwUndoRedlineDelete() 201 nSttNode == nEndNode && in CanGrouping() 203 rNext.nEndNode == nEndNode ) in CanGrouping() 234 nSaveEndNode( nEndNode ), nOffset( 0 ), nSaveEndCntnt( nEndCntnt ) in SwUndoRedlineSort()
|
H A D | untblk.cxx | 93 nEndNode = pTmpPos->nNode.GetIndex(); in SetInsertRange() 178 sal_Bool bJoinNext = nSttNode != nEndNode && in UndoImpl() 184 if( nSttNode != nEndNode || nSttCntnt != nEndCntnt ) in UndoImpl() 186 if( nSttNode != nEndNode ) in UndoImpl() 188 SwTxtNode* pTxtNd = pDoc->GetNodes()[ nEndNode ]->GetTxtNode(); in UndoImpl() 282 if( ( nSttNode != nEndNode || nSttCntnt != nEndCntnt ) && pPos ) in RedoImpl()
|
H A D | undel.cxx | 181 pEndTxtNd = nSttNode == nEndNode in SwUndoDelete() 237 rDocNds, nEndNode - nNdDiff ); in SwUndoDelete() 256 nReplaceDummy = aRg.aEnd.GetIndex() + nNdDiff - nEndNode; in SwUndoDelete() 374 sal_Bool bOneNode = nSttNode == nEndNode; in SaveCntnt() 444 if( ( pSttTxtNd || pEndTxtNd ) && nSttNode + 1 == nEndNode ) in SaveCntnt() 458 if( nSttNode != nEndNode || ( !bGroup && nSttCntnt+1 != nEndCntnt )) in CanGrouping() 777 nMoveIndex = nEndNode - nNdDiff; in UndoImpl() 848 SwNode* pNode = pDoc->GetNodes()[ nEndNode + 1 ]; in UndoImpl() 962 rDoc.GetNodes().Delete( aSttIdx, nEndNode - nSttNode ); in RedoImpl()
|
H A D | undobj.cxx | 83 : nSttNode( 0 ), nEndNode( 0 ), nSttCntnt( 0 ), nEndCntnt( 0 ) in SV_IMPL_PTRARR() 100 nEndNode = pEnd->nNode.GetIndex(); in SetValues() 105 nEndNode = 0, nEndCntnt = STRING_MAXLEN; in SetValues() 123 if( !nEndNode && STRING_MAXLEN == nEndCntnt ) // keine Selection in SetPaM() 127 if( nSttNode == nEndNode && nSttCntnt == nEndCntnt ) in SetPaM() 130 rPam.GetPoint()->nNode = nEndNode; in SetPaM() 1014 nEndNode = rEndPos.nNode.GetIndex(); in SwRedlineSaveData() 1026 nEndNode = rEndPos.nNode.GetIndex(); in SwRedlineSaveData()
|
H A D | unsort.cxx | 74 nEndNode = nEnd; in SwUndoSort() 95 RemoveIdxFromSection( rDoc, nSttNode, &nEndNode ); in UndoImpl() 177 RemoveIdxFromSection( rDoc, nSttNode, &nEndNode ); in RedoImpl()
|
H A D | unsect.cxx | 135 if( ( !nEndNode && STRING_MAXLEN == nEndCntnt ) || in UndoImpl() 136 ( nSttNode == nEndNode && nSttCntnt == nEndCntnt )) in UndoImpl() 152 Join( rDoc, nEndNode ); in UndoImpl()
|
H A D | unattr.cxx | 676 nSttNode = nEndNode = rPos.nNode.GetIndex(); in SwUndoResetAttr() 692 (nSttNode == nEndNode) && (nSttCntnt == nEndCntnt)) in UndoImpl()
|
H A D | untbl.cxx | 808 rIdx = nEndNode; in UndoImpl() 817 RemoveIdxRel( nEndNode + 1, *pPos ); in UndoImpl()
|
/aoo41x/main/editeng/source/editeng/ |
H A D | impedit5.cxx | 207 sal_uInt16 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in CreateAttribUndo() local 225 for ( sal_uInt16 nPara = nStartNode; nPara <= nEndNode; nPara++ ) in CreateAttribUndo() 351 sal_uInt16 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in GetAttribs() local 354 for ( sal_uInt16 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in GetAttribs() 363 if ( nNode == nEndNode ) // kann auch == nStart sein! in GetAttribs() 538 sal_uInt16 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in SetAttribs() local 556 for ( sal_uInt16 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in SetAttribs() 571 if ( nNode == nEndNode ) // kann auch == nStart sein! in SetAttribs() 642 sal_uInt16 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in RemoveCharAttribs() local 657 for ( sal_uInt16 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in RemoveCharAttribs() [all …]
|
H A D | impedit4.cxx | 262 sal_uInt16 nStartNode, nEndNode; in WriteText() local 268 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in WriteText() 273 nEndNode = aEditDoc.Count()-1; in WriteText() 368 sal_uInt16 nStartNode, nEndNode; in WriteRTF() local 372 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in WriteRTF() 1059 sal_uInt16 nStartNode, nEndNode; in CreateBinTextObject() local 1064 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in CreateBinTextObject() 1131 if ( nNode == nEndNode ) in CreateBinTextObject() 2726 sal_uInt16 nEndNode; in ImpSearch() local 2733 nEndNode = bBack ? 0 : aEditDoc.Count()-1; in ImpSearch() [all …]
|
H A D | eertfpar.cxx | 368 sal_uInt16 nEndNode = pImpEditEngine->GetEditDoc().GetPos( pEN ); in SetAttrInDoc() local 387 for ( sal_uInt16 z = nStartNode+1; z < nEndNode; z++ ) in SetAttrInDoc() 403 pImpEditEngine->SetParaAttribs( nEndNode, rSet.GetAttrSet() ); in SetAttrInDoc() 425 for ( sal_uInt16 n = nStartNode; n <= nEndNode; n++ ) in SetAttrInDoc()
|
H A D | eehtml.cxx | 565 sal_uInt16 nEndNode = pImpEditEngine->GetEditDoc().GetPos( pEN ); in ImpSetAttribs() local 566 DBG_ASSERT( nStartNode == nEndNode, "ImpSetAttribs: Mehrere Absaetze?" ); in ImpSetAttribs()
|
H A D | impedit2.cxx | 305 sal_uInt16 nEndNode = aEditDoc.GetPos( pEndNode ); in GetSelected() local 307 DBG_ASSERT( nStartNode <= nEndNode, "Selektion nicht sortiert ?" ); in GetSelected() 310 for ( sal_uInt16 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in GetSelected() 319 if ( nNode == nEndNode ) // kann auch == nStart sein! in GetSelected() 323 if ( nNode < nEndNode ) in GetSelected() 2512 sal_uInt16 nEndNode = aEditDoc.GetPos( aEndPaM.GetNode() ); in ImpDeleteSelection() local 2514 DBG_ASSERT( nEndNode != USHRT_MAX, "Start > End ?!" ); in ImpDeleteSelection() 2515 DBG_ASSERT( nStartNode <= nEndNode, "Start > End ?!" ); in ImpDeleteSelection() 2518 for ( sal_uLong z = nStartNode+1; z < nEndNode; z++ ) in ImpDeleteSelection()
|
H A D | editdoc.cxx | 653 sal_uInt16 nEndNode = rNodes.GetPos( pEndNode ); in Adjust() local 656 DBG_ASSERT( nEndNode != USHRT_MAX, "Node im Wald in Adjust(2)" ); in Adjust() 659 if ( nStartNode > nEndNode ) in Adjust() 661 else if ( ( nStartNode == nEndNode ) && ( aStartPaM.GetIndex() > aEndPaM.GetIndex() ) ) in Adjust()
|
H A D | impedit.cxx | 1382 sal_uInt16 nEndNode = pEditEngine->pImpEditEngine->GetEditDoc().GetPos( aSel.Max().GetNode() ); in IsInSelection() local 1385 if ( ( nCurNode > nStartNode ) && ( nCurNode < nEndNode ) ) in IsInSelection() 1388 if ( nStartNode == nEndNode ) in IsInSelection() 1396 else if ( ( nCurNode == nEndNode ) && ( rPaM.GetIndex() < aSel.Max().GetIndex() ) ) in IsInSelection()
|
/aoo41x/main/svtools/source/edit/ |
H A D | xtextedt.cxx | 161 sal_uLong nStartNode, nEndNode; in Search() local 164 nEndNode = bForward ? aSel.GetEnd().GetPara() : aSel.GetStart().GetPara(); in Search() 166 nEndNode = bForward ? (GetParagraphCount()-1) : 0; in Search() 176 bForward ? ( nNode <= nEndNode) : ( nNode >= nEndNode ); in Search() 189 if ( ( nNode == nEndNode ) && bSearchInSelection ) in Search()
|
H A D | textdoc.cxx | 582 sal_uLong nEndNode = nNodes-1; in GetTextLen() local 586 nEndNode = pSel->GetEnd().GetPara(); in GetTextLen() 589 for ( sal_uLong nNode = nStartNode; nNode <= nEndNode; nNode++ ) in GetTextLen() 604 nLen += (nEndNode-nStartNode) * String( pSep ).Len(); in GetTextLen()
|
H A D | texteng.cxx | 634 sal_uLong nEndNode = aEndPaM.GetPara(); in ImpDeleteText() local 637 for ( sal_uLong z = nStartNode+1; z < nEndNode; z++ ) in ImpDeleteText() 643 if ( nStartNode != nEndNode ) in ImpDeleteText() 657 nEndNode = nStartNode+1; // Die anderen Absaetze wurden geloescht in ImpDeleteText() 661 aEndPaM.GetPara() = nEndNode; in ImpDeleteText() 664 TEParaPortion* pPortion = mpTEParaPortions->GetObject( nEndNode ); in ImpDeleteText() 670 aStartPaM = ImpConnectParagraphs( nStartNode, nEndNode ); in ImpDeleteText()
|
H A D | textview.cxx | 1961 sal_uLong nEndNode = aSel.GetEnd().GetPara(); in IsInSelection() local 1964 if ( ( nCurNode > nStartNode ) && ( nCurNode < nEndNode ) ) in IsInSelection() 1967 if ( nStartNode == nEndNode ) in IsInSelection() 1975 else if ( ( nCurNode == nEndNode ) && ( rPaM.GetIndex() < aSel.GetEnd().GetIndex() ) ) in IsInSelection()
|
/aoo41x/main/sw/source/core/inc/ |
H A D | UndoSplitMove.hxx | 83 sal_uLong GetEndNode() const { return nEndNode; } in GetEndNode()
|
H A D | UndoRedline.hxx | 76 long NodeDiff() const { return nSttNode - nEndNode; } in NodeDiff()
|
/aoo41x/main/sw/inc/ |
H A D | undobj.hxx | 217 sal_uLong nSttNode, nEndNode; member in SwUndRng
|