/aoo4110/main/sw/source/core/undo/ |
H A D | untblk.cxx | 194 SetPaM(*pPam); in UndoImpl() 199 DelCntntIndex( *pPam->GetMark(), *pPam->GetPoint() ); in UndoImpl() 202 if( *pPam->GetPoint() != *pPam->GetMark() ) in UndoImpl() 233 pPam->SetMark(); in UndoImpl() 234 pPam->DeleteMark(); in UndoImpl() 269 SwDoc* pDoc = pPam->GetDoc(); in RedoImpl() 270 pPam->DeleteMark(); in RedoImpl() 292 MovePtForward( *pPam, bMvBkwrd ); in RedoImpl() 293 pPam->Exchange(); in RedoImpl() 305 pPam->GetPoint()->nNode != pPam->GetMark()->nNode ) in RedoImpl() [all …]
|
H A D | unredln.cxx | 281 pPam->DeleteMark(); in UndoRedlineImpl() 285 pPam->SetMark(); in UndoRedlineImpl() 291 SetValues( *pPam ); in UndoRedlineImpl() 298 SwPaM* pPam = &rPam; in RedoRedlineImpl() local 308 pPam->DeleteMark(); in RedoRedlineImpl() 315 pPam->SetMark(); in RedoRedlineImpl() 442 pPam->Exchange(); in UndoImpl() 470 pPam->DeleteMark(); in UndoImpl() 481 SetPaM(*pPam, true); in UndoImpl() 522 SetPaM( *pPam ); in RedoImpl() [all …]
|
H A D | unins.cxx | 228 pPam->GetPoint()->nContent.Assign( pPam->GetCntntNode(), 0 ); in UndoImpl() 229 pPam->SetMark(); in UndoImpl() 231 pPam->Exchange(); in UndoImpl() 234 pPam->DeleteMark(); in UndoImpl() 236 pPam->GetPoint()->nContent.Assign( pPam->GetCntntNode(), 0 ); in UndoImpl() 281 pPam->DeleteMark(); in UndoImpl() 296 pPam->DeleteMark(); in RedoImpl() 303 pPam->SetMark(); in RedoImpl() 305 pPam->Exchange(); in RedoImpl() 318 pPam->DeleteMark(); in RedoImpl() [all …]
|
H A D | untbl.cxx | 486 pPam->SetMark(); in UndoImpl() 489 pPam->DeleteMark(); in UndoImpl() 531 pPam->DeleteMark(); in UndoImpl() 533 pPam->SetMark(); in UndoImpl() 534 pPam->GetPoint()->nNode = *pPam->GetNode()->StartOfSectionNode(); in UndoImpl() 536 pPam->Exchange(); in UndoImpl() 667 pPam->DeleteMark(); in RedoImpl() 703 pPam->SetMark(); in RepeatImpl() 2168 pPam->SetMark(); in UndoImpl() 3270 pPam->SetMark(); in DumpDoc() [all …]
|
/aoo4110/main/sw/source/filter/basflt/ |
H A D | shellio.cxx | 108 SwPaM *pPam; in Read() local 110 pPam = pCrsr; in Read() 128 SwPaM *pEnd = pPam; in Read() 325 pPam = (SwPaM *) pPam->GetNext(); in Read() 326 if( pPam == pEnd ) in Read() 807 SwPaM * pPam; in Write() local 837 pPam = pOutPam; in Write() 845 pPam = (SwPaM *) pPam->GetNext(); in Write() 862 pPam = new SwPaM( *pPam ); in Write() 864 pPam->SetMark(); in Write() [all …]
|
/aoo4110/main/sw/source/filter/rtf/ |
H A D | rtftbl.cxx | 649 pPam->SetMark(); pPam->DeleteMark(); in ReadTable() 808 SwPaM aRg(*pPam); in ReadTable() 904 pPam->Move( fnMoveBackward, fnGoCntnt ); in GotoNextBox() 912 pPam->Move( fnMoveForward, fnGoNode ); in GotoNextBox() 916 pPam->Move( fnMoveBackward, fnGoCntnt ); in GotoNextBox() 975 pPam->Move( fnMoveForward ); in NewTblLine() 983 pPam->SetMark(); in NewTblLine() 988 pPam->Move( fnMoveBackward ); in NewTblLine() 989 pDoc->SetTxtFmtColl( *pPam, pColl ); in NewTblLine() 1002 pPam->Exchange(); in NewTblLine() [all …]
|
H A D | swparrtf.cxx | 228 SetInsPos( SwxPosition( pPam ) ); in SwRTFParser() 485 pPam->SetMark(); pPam->DeleteMark(); in Continue() 493 pPam->SetMark(); pPam->DeleteMark(); in Continue() 1116 delete pPam; in ~SwRTFParser() 1764 if (lcl_UsedPara(*pPam)) in NextToken() 1814 SwPaM aTmp(*pPam); in NextToken() 1925 pDoc->InsertPoolItem(*pPam, in NextToken() 3801 *pPam->GetPoint() = aSavePos; in ReadHeaderFooter() 4188 pPam->SetMark(); in DelLastNode() 4189 pPam->DeleteMark(); in DelLastNode() [all …]
|
H A D | rtffld.cxx | 474 pDoc->InsertPoolItem( *pPam, SwFmtFld( aPF ), 0 ); in MakeFieldInst() 768 pDoc->InsertString( *pPam, aData.sText ); in MakeFieldInst() 769 pPam->SetMark(); in MakeFieldInst() 770 pPam->GetMark()->nContent -= aData.sText.Len(); in MakeFieldInst() 771 pDoc->InsertPoolItem( *pPam, aRuby, in MakeFieldInst() 773 pPam->DeleteMark(); in MakeFieldInst() 932 sw::ms::ImportXE(*pDoc, *pPam, sXE); in ReadXEField() 1094 pPam->SetMark(); in ReadField() 1095 pPam->GetMark()->nContent -= sFieldStr.Len(); in ReadField() 1096 pDoc->InsertPoolItem( *pPam, in ReadField() [all …]
|
H A D | rtffly.cxx | 556 if( pPam->GetPoint()->nContent.GetIndex() ) in ReadFly() 1099 pPam->GetPoint()->nNode.GetIndex() ) in ReadFly() 1103 pPam->Move( fnMoveBackward ); in ReadFly() 1111 !pPam->GetPoint()->nContent.GetIndex() ) in ReadFly() 1123 pFlySave->nEndNd = pPam->GetPoint()->nNode; in ReadFly() 1127 pPam->Move( fnMoveForward ); in ReadFly() 1147 SwPosition aPos( *pPam->GetPoint() ); in ReadFly() 1149 pPam->Move( fnMoveBackward, fnGoNode ); in ReadFly() 1154 pPam->Move( fnMoveBackward, fnGoNode ); in ReadFly() 1159 *pPam->GetPoint() = aPos; in ReadFly() [all …]
|
/aoo4110/main/sw/source/core/crsr/ |
H A D | findtxt.cxx | 227 SwPaM* pPam = MakeRegion( fnMove, pRegion ); in Find() local 229 SwNodeIndex& rNdIdx = pPam->GetPoint()->nNode; in Find() 230 SwIndex& rCntntIdx = pPam->GetPoint()->nContent; in Find() 241 delete pPam; in Find() 279 if( rNdIdx == pPam->GetMark()->nNode ) in Find() 403 nStart,nEnde,nTxtLen, pNode,pPam); in Find() 409 delete pPam; in Find() 419 SwNodeIndex& rNdIdx = pPam->GetPoint()->nNode; in DoSearch() 490 *GetPoint() = *pPam->GetPoint(); in DoSearch() 532 *GetPoint() = *pPam->GetPoint(); in DoSearch() [all …]
|
H A D | findfmt.cxx | 37 SwPaM* pPam = MakeRegion( fnMove, pRegion ); in Find() local 41 ? pPam->GetPoint()->nContent.GetIndex() == pPam->GetCntntNode()->Len() in Find() 42 : !pPam->GetPoint()->nContent.GetIndex() ) in Find() 44 if( !(*fnMove->fnNds)( &pPam->GetPoint()->nNode, sal_False )) in Find() 46 delete pPam; in Find() 49 SwCntntNode *pNd = pPam->GetPoint()->nNode.GetNode().GetCntntNode(); in Find() 51 pPam->GetPoint()->nContent.Assign( pNd, nTmpPos ); in Find() 57 0 != ( pNode = ::GetNode( *pPam, bFirst, fnMove, bInReadOnly ))) in Find() 67 *GetPoint() = *pPam->GetPoint(); in Find() 76 delete pPam; in Find()
|
H A D | findattr.cxx | 919 ? pPam->GetPoint()->nContent.GetIndex() == pPam->GetCntntNode()->Len() in Find() 924 delete pPam; in Find() 944 *GetPoint() = *pPam->GetPoint(); in Find() 945 *GetMark() = *pPam->GetMark(); in Find() 969 *GetPoint() = *pPam->GetPoint(); in Find() 981 delete pPam; in Find() 1013 ? pPam->GetPoint()->nContent.GetIndex() == pPam->GetCntntNode()->Len() in Find() 1018 delete pPam; in Find() 1041 *GetMark() = *pPam->GetMark(); in Find() 1066 *GetPoint() = *pPam->GetPoint(); in Find() [all …]
|
H A D | crsrsh.cxx | 1920 --pPam; in RefreshBlockCursor() 1923 if( pPam == pStart ) in RefreshBlockCursor() 1930 delete *pPam; in RefreshBlockCursor() 1940 --pPam; in RefreshBlockCursor() 1946 delete *pPam; in RefreshBlockCursor() 1950 --pPam; in RefreshBlockCursor() 1966 delete *pPam; in RefreshBlockCursor() 1975 --pPam; in RefreshBlockCursor() 1985 delete *pPam; in RefreshBlockCursor() 2768 SwPaM* pPam = GetCrsr(); in ShouldWait() local [all …]
|
/aoo4110/main/sw/source/filter/html/ |
H A D | swhtml.cxx | 335 pPam = new SwPaM( *rCrsr.GetPoint() ); in SwHTMLParser() 469 delete pPam; in ~SwHTMLParser() 539 pPam->Move( fnMoveBackward ); in CallParser() 547 pDoc->SetTxtFmtColl( *pPam, in CallParser() 761 SwPosition* pPos = pPam->GetPoint(); in Continue() 806 pPam->SetMark(); pPam->DeleteMark(); in Continue() 812 pPam->SetMark(); pPam->DeleteMark(); in Continue() 814 pPam->Move( fnMoveBackward ); in Continue() 3094 pPam->Move( fnMoveForward ); in EndAttr() 5216 pPam->Move( fnMoveBackward ); in InsertHorzRule() [all …]
|
H A D | htmlgrin.cxx | 282 pPam->Move( fnMoveBackward ); in SetAnchorAndAdjustment() 284 aAnchor.SetAnchor( pPam->GetPoint() ); in SetAnchorAndAdjustment() 287 pPam->Move( fnMoveForward ); in SetAnchorAndAdjustment() 444 if( !pPam->GetPoint()->nContent.GetIndex() && in InsertImage() 775 pPam->GetPoint()->nNode && in InsertImage() 788 pPam->Move( fnMoveBackward ); in InsertImage() 790 pPam->Move( fnMoveForward ); in InsertImage() 818 pDoc->SetTxtFmtColl( *pPam, in InsertBodyOptions() 1328 SwCntntNode* pCNd = pPam->GetCntntNode(); in StripTrailingPara() 1398 pPam->SetMark(); in StripTrailingPara() [all …]
|
H A D | htmlsect.cxx | 123 if( pPam->GetPoint()->nContent.GetIndex() ) in NewDivision() 259 SwNodeIndex aPrvNdIdx( pPam->GetPoint()->nNode, -1 ); in NewDivision() 339 pDoc->InsertSwSection( *pPam, aSection, 0, &aFrmItemSet, false ); in NewDivision() 351 pPam->Move( fnMoveBackward ); in NewDivision() 356 MovePageDescAttrs( pOldTxtNd, pPam->GetPoint()->nNode.GetIndex(), in NewDivision() 519 pPam->Move( fnMoveForward ); in EndSection() 667 if( pPam->GetPoint()->nContent.GetIndex() ) in NewMultiCol() 686 SwNodeIndex aPrvNdIdx( pPam->GetPoint()->nNode, -1 ); in NewMultiCol() 733 pDoc->InsertSwSection( *pPam, aSection, 0, &aFrmItemSet, false ); in NewMultiCol() 745 pPam->Move( fnMoveBackward ); in NewMultiCol() [all …]
|
H A D | htmlctxt.cxx | 153 const SwNodeIndex* pOldEndPara = &pPam->GetPoint()->nNode; in SplitAttrTab() 181 bMoveBack = pPam->Move( fnMoveBackward ); in SplitAttrTab() 182 nOldEndCnt = pPam->GetPoint()->nContent.GetIndex(); in SplitAttrTab() 187 pPam->Move( fnMoveForward ); in SplitAttrTab() 188 nOldEndCnt = pPam->GetPoint()->nContent.GetIndex(); in SplitAttrTab() 238 pPam->Move( fnMoveForward ); in SplitAttrTab() 277 pSave->SetPos( *pPam->GetPoint() ); in SaveDocContext() 278 *pPam->GetPoint() = *pNewPos; in SaveDocContext() 323 *pPam->GetPoint() = *pSave->GetPos(); in RestoreDocContext() 382 pPam->GetPoint()->nContent.GetIndex() ) in EndContext() [all …]
|
H A D | htmltab.cxx | 2972 SwNodeIndex& rIdx = pPam->GetPoint()->nNode; in InsertTempTableCaptionSection() 3671 pPam->GetPoint()->nContent.GetIndex() || in BuildTableCell() 3679 pDoc->SetTxtFmtColl( *pPam, in BuildTableCell() 3695 pTmp = new _HTMLAttr( *pPam->GetPoint(), in BuildTableCell() 3851 pPam->Move( fnMoveBackward ); in BuildTableCell() 3861 pPam->Move( fnMoveBackward ); in BuildTableCell() 5091 *pPam->GetPoint() = pSaveStruct->GetPos(); in BuildTableCaption() 5506 pPam->SetMark(); in BuildTable() 5507 pPam->DeleteMark(); in BuildTable() 5575 pPam->SetMark(); in BuildTable() [all …]
|
/aoo4110/main/sw/source/core/text/ |
H A D | frmcrsr.cxx | 719 sal_Bool SwTxtFrm::LeftMargin(SwPaM *pPam) const in LeftMargin() 721 if( ((const SwNode*)pPam->GetNode()) != GetNode() ) in LeftMargin() 762 if( ((const SwNode*)pPam->GetNode()) != GetNode() ) in RightMargin() 821 pPam->GetNode( sal_True )->StartOfSectionNode() != in _UnitUp() 822 pPam->GetNode( sal_False )->StartOfSectionNode() ) in _UnitUp() 893 ASSERT( nOldNode == pPam->GetPoint()->nNode.GetIndex(), in _UnitUp() 902 pPam->GetPoint()->nContent = in _UnitUp() 1214 pPam->GetNode( sal_True )->StartOfSectionNode() != in _UnitDown() 1215 pPam->GetNode( sal_False )->StartOfSectionNode() ) in _UnitDown() 1262 ASSERT( nOldNode == pPam->GetPoint()->nNode.GetIndex(), in _UnitDown() [all …]
|
H A D | frminf.cxx | 193 SwPaM *AddPam( SwPaM *pPam, const SwTxtFrm* pTxtFrm, in AddPam() argument 199 if( pPam->HasMark() ) in AddPam() 205 pPam->GetPoint()->nContent += nLen; in AddPam() 206 return pPam; in AddPam() 208 pPam = new SwPaM( *pPam ); in AddPam() 211 SwIndex &rContent = pPam->GetPoint()->nContent; in AddPam() 213 pPam->SetMark(); in AddPam() 216 return pPam; in AddPam() 224 SwPaM *pPam = &rPam; in GetSpaces() local 234 pPam = AddPam( pPam, pFrm, aLine.GetStart(), in GetSpaces() [all …]
|
/aoo4110/main/sw/source/core/edit/ |
H A D | acorrect.cxx | 160 SwPaM* pPam = &rCrsr; in ReplaceRange() local 163 pPam = new SwPaM( *rCrsr.GetPoint() ); in ReplaceRange() 164 pPam->GetPoint()->nContent = nPos; in ReplaceRange() 205 pPam->SetMark(); in ReplaceRange() 209 pPam->Exchange(); in ReplaceRange() 210 pPam->DeleteMark(); in ReplaceRange() 217 pPam->SetMark(); in ReplaceRange() 221 pPam->Exchange(); in ReplaceRange() 222 pPam->DeleteMark(); in ReplaceRange() 240 if( pPam != &rCrsr ) in ReplaceRange() [all …]
|
H A D | edfmt.cxx | 82 SwPaM* pPam = GetCrsr(); in FillByEx() local 83 const SwCntntNode* pCNd = pPam->GetCntntNode(); in FillByEx() 87 if( pPam->HasMark() ) in FillByEx() 89 const SwPosition* pPtPos = pPam->GetPoint(); in FillByEx() 90 const SwPosition* pMkPos = pPam->GetMark(); in FillByEx() 115 nStt = nEnd = pPam->GetPoint()->nContent.GetIndex(); in FillByEx()
|
/aoo4110/main/sw/source/core/doc/ |
H A D | swserv.cxx | 72 SwPaM* pPam = 0; in GetData() local 79 pPam = new SwPaM( CNTNT_TYPE.pBkmk->GetMarkPos(), in GetData() 85 pPam = new SwPaM( *CNTNT_TYPE.pTblNd, in GetData() 91 pPam->Move( fnMoveForward ); in GetData() 92 pPam->SetMark(); in GetData() 94 pPam->Move( fnMoveBackward ); in GetData() 99 if( pPam ) in GetData() 103 SwWriter aWrt( aMemStm, *pPam, sal_False ); in GetData() 113 delete pPam; in GetData() 330 : pPam( 0 ), pPos( &rPos ), pDoc( pDc ), nType( nTyp ) in SwDataChanged() [all …]
|
/aoo4110/main/sw/source/filter/ascii/ |
H A D | parasc.cxx | 60 SwPaM* pPam; member in SwASCIIParser 110 pPam = new SwPaM( *rCrsr.GetPoint() ); in SwASCIIParser() 143 delete pPam; in ~SwASCIIParser() 165 const SwNodeIndex& rTmp = pPam->GetPoint()->nNode; in CallParser() 178 pDoc->SetTxtFmtColl(*pPam, pColl); in CallParser() 242 *pInsPam->GetMark() = *pPam->GetPoint(); in CallParser() 392 pDoc->SplitNode( *pPam->GetPoint(), false ); in ReadChars() 454 pDoc->SplitNode( *pPam->GetPoint(), false ); in ReadChars() 487 pDoc->SplitNode( *pPam->GetPoint(), false ); in ReadChars() 500 pDoc->SplitNode( *pPam->GetPoint(), false ); in ReadChars() [all …]
|
/aoo4110/main/sw/source/core/frmedt/ |
H A D | fetab.cxx | 446 SwPaM* pPam = GetCrsr(); in DeleteRow() local 447 pPam->GetPoint()->nNode = aIdx; in DeleteRow() 450 pPam->DeleteMark(); in DeleteRow() 998 SwPaM* pPam = GetCrsr(); in HasBoxSelection() local 1003 if( pPam->GetPoint() == pPam->End()) in HasBoxSelection() 1006 pPam->Exchange(); in HasBoxSelection() 1012 pPam->GetMark()->nNode.GetIndex() + 1 == in HasBoxSelection() 1025 pPam->Exchange(); in HasBoxSelection() 1030 pPam->Exchange(); in HasBoxSelection() 2287 SwPaM* pPam = pShell->GetCrsr(); in lcl_GoTableRow() local [all …]
|