Home
last modified time | relevance | path

Searched refs:nEndNode (Results 1 – 24 of 24) sorted by relevance

/trunk/main/sw/source/core/undo/
H A Dunnum.cxx68 nEndNode = 0, nEndCntnt = USHRT_MAX; in SwUndoInsNum()
195 aNodeIdx( sal_uInt8( nEndNode - nSttNode > 255 ? 255 : nEndNode - nSttNode )) in SwUndoDelNum()
262 sal_uLong nTmpStt = nSttNode, nTmpEnd = nEndNode; in UndoImpl()
264 if( nEndNode || USHRT_MAX != nEndCntnt ) // Bereich ? in UndoImpl()
267 nEndNode = nEndNode - ( nSttNode - nNewStt ); in UndoImpl()
269 nEndNode = nEndNode + ( nNewStt - nSttNode ); in UndoImpl()
281 nEndNode = nTmpEnd; in UndoImpl()
H A Dunmove.cxx51 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 Dunredln.cxx81 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 Duntblk.cxx93 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 Dundel.cxx181 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 Dundobj.cxx83 : 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 Dunsort.cxx74 nEndNode = nEnd; in SwUndoSort()
95 RemoveIdxFromSection( rDoc, nSttNode, &nEndNode ); in UndoImpl()
177 RemoveIdxFromSection( rDoc, nSttNode, &nEndNode ); in RedoImpl()
H A Dunsect.cxx135 if( ( !nEndNode && STRING_MAXLEN == nEndCntnt ) || in UndoImpl()
136 ( nSttNode == nEndNode && nSttCntnt == nEndCntnt )) in UndoImpl()
152 Join( rDoc, nEndNode ); in UndoImpl()
H A Dunattr.cxx670 nSttNode = nEndNode = rPos.nNode.GetIndex(); in SwUndoResetAttr()
686 (nSttNode == nEndNode) && (nSttCntnt == nEndCntnt)) in UndoImpl()
H A Duntbl.cxx808 rIdx = nEndNode; in UndoImpl()
817 RemoveIdxRel( nEndNode + 1, *pPos ); in UndoImpl()
/trunk/main/editeng/source/editeng/
H A Dimpedit5.cxx207 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in CreateAttribUndo() local
225 for ( sal_uInt32 nPara = nStartNode; nPara <= nEndNode; nPara++ ) in CreateAttribUndo()
351 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in GetAttribs() local
354 for ( sal_uInt32 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in GetAttribs()
363 if ( nNode == nEndNode ) // kann auch == nStart sein! in GetAttribs()
538 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in SetAttribs() local
556 for ( sal_uInt32 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in SetAttribs()
571 if ( nNode == nEndNode ) // kann auch == nStart sein! in SetAttribs()
642 sal_uInt32 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in RemoveCharAttribs() local
657 for ( sal_uInt32 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in RemoveCharAttribs()
[all …]
H A Dimpedit4.cxx262 sal_uInt32 nStartNode, nEndNode; in WriteText() local
268 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in WriteText()
273 nEndNode = aEditDoc.Count()-1; in WriteText()
368 sal_uInt32 nStartNode, nEndNode; in WriteRTF() local
372 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in WriteRTF()
1059 sal_uInt32 nStartNode, nEndNode; in CreateBinTextObject() local
1064 nEndNode = aEditDoc.GetPos( aSel.Max().GetNode() ); in CreateBinTextObject()
1131 if ( nNode == nEndNode ) in CreateBinTextObject()
2726 sal_uInt32 nEndNode; in ImpSearch() local
2733 nEndNode = bBack ? 0 : aEditDoc.Count()-1; in ImpSearch()
[all …]
H A Deertfpar.cxx368 sal_uInt32 nEndNode = pImpEditEngine->GetEditDoc().GetPos( pEN ); in SetAttrInDoc() local
387 for ( sal_uInt32 z = nStartNode+1; z < nEndNode; z++ ) in SetAttrInDoc()
403 pImpEditEngine->SetParaAttribs( nEndNode, rSet.GetAttrSet() ); in SetAttrInDoc()
425 for ( sal_uInt32 n = nStartNode; n <= nEndNode; n++ ) in SetAttrInDoc()
H A Dimpedit2.cxx305 sal_uInt32 nEndNode = aEditDoc.GetPos( pEndNode ); in GetSelected() local
307 DBG_ASSERT( nStartNode <= nEndNode, "Selektion nicht sortiert ?" ); in GetSelected()
310 for ( sal_uInt32 nNode = nStartNode; nNode <= nEndNode; nNode++ ) in GetSelected()
319 if ( nNode == nEndNode ) // kann auch == nStart sein! in GetSelected()
323 if ( nNode < nEndNode ) in GetSelected()
2515 sal_uInt32 nEndNode = aEditDoc.GetPos( aEndPaM.GetNode() ); in ImpDeleteSelection() local
2517 DBG_ASSERT( nEndNode != USHRT_MAX, "Start > End ?!" ); in ImpDeleteSelection()
2518 DBG_ASSERT( nStartNode <= nEndNode, "Start > End ?!" ); in ImpDeleteSelection()
2521 for ( sal_uLong z = nStartNode+1; z < nEndNode; z++ ) in ImpDeleteSelection()
H A Deehtml.cxx565 sal_uInt32 nEndNode = pImpEditEngine->GetEditDoc().GetPos( pEN ); in ImpSetAttribs() local
566 DBG_ASSERT( nStartNode == nEndNode, "ImpSetAttribs: Mehrere Absaetze?" ); in ImpSetAttribs()
H A Deditdoc.cxx651 sal_uInt32 nEndNode = rNodes.GetPos( pEndNode ); in Adjust() local
654 DBG_ASSERT( nEndNode != USHRT_MAX, "Node im Wald in Adjust(2)" ); in Adjust()
657 if ( nStartNode > nEndNode ) in Adjust()
659 else if ( ( nStartNode == nEndNode ) && ( aStartPaM.GetIndex() > aEndPaM.GetIndex() ) ) in Adjust()
H A Dimpedit.cxx1382 sal_uInt32 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()
/trunk/main/svtools/source/edit/
H A Dxtextedt.cxx161 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 Dtextdoc.cxx582 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 Dtexteng.cxx634 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 Dtextview.cxx1965 sal_uLong nEndNode = aSel.GetEnd().GetPara(); in IsInSelection() local
1968 if ( ( nCurNode > nStartNode ) && ( nCurNode < nEndNode ) ) in IsInSelection()
1971 if ( nStartNode == nEndNode ) in IsInSelection()
1979 else if ( ( nCurNode == nEndNode ) && ( rPaM.GetIndex() < aSel.GetEnd().GetIndex() ) ) in IsInSelection()
/trunk/main/sw/source/core/inc/
H A DUndoSplitMove.hxx83 sal_uLong GetEndNode() const { return nEndNode; } in GetEndNode()
H A DUndoRedline.hxx76 long NodeDiff() const { return nSttNode - nEndNode; } in NodeDiff()
/trunk/main/sw/inc/
H A Dundobj.hxx217 sal_uLong nSttNode, nEndNode; member in SwUndRng

Completed in 309 milliseconds