Home
last modified time | relevance | path

Searched refs:pPam (Results 1 – 25 of 69) sorted by relevance

123

/trunk/main/sw/source/core/undo/
H A Duntblk.cxx194 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 Dunredln.cxx281 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 Dunins.cxx228 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 Duntbl.cxx486 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 …]
/trunk/main/sw/source/filter/basflt/
H A Dshellio.cxx108 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 …]
/trunk/main/sw/source/filter/rtf/
H A Drtftbl.cxx649 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 Dswparrtf.cxx219 SetInsPos( SwxPosition( pPam ) ); in SwRTFParser()
476 pPam->SetMark(); pPam->DeleteMark(); in Continue()
484 pPam->SetMark(); pPam->DeleteMark(); in Continue()
1107 delete pPam; in ~SwRTFParser()
1755 if (lcl_UsedPara(*pPam)) in NextToken()
1805 SwPaM aTmp(*pPam); in NextToken()
1916 pDoc->InsertPoolItem(*pPam, in NextToken()
3792 *pPam->GetPoint() = aSavePos; in ReadHeaderFooter()
4179 pPam->SetMark(); in DelLastNode()
4180 pPam->DeleteMark(); in DelLastNode()
[all …]
H A Drtffld.cxx474 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 Drtffly.cxx551 if( pPam->GetPoint()->nContent.GetIndex() ) in ReadFly()
1094 pPam->GetPoint()->nNode.GetIndex() ) in ReadFly()
1098 pPam->Move( fnMoveBackward ); in ReadFly()
1106 !pPam->GetPoint()->nContent.GetIndex() ) in ReadFly()
1118 pFlySave->nEndNd = pPam->GetPoint()->nNode; in ReadFly()
1122 pPam->Move( fnMoveForward ); in ReadFly()
1142 SwPosition aPos( *pPam->GetPoint() ); in ReadFly()
1144 pPam->Move( fnMoveBackward, fnGoNode ); in ReadFly()
1149 pPam->Move( fnMoveBackward, fnGoNode ); in ReadFly()
1154 *pPam->GetPoint() = aPos; in ReadFly()
[all …]
/trunk/main/sw/source/filter/html/
H A Dswhtml.cxx335 pPam = new SwPaM( *rCrsr.GetPoint() ); in SwHTMLParser()
469 delete pPam; in ~SwHTMLParser()
539 pPam->Move( fnMoveBackward ); in CallParser()
547 pDoc->SetTxtFmtColl( *pPam, in CallParser()
758 SwPosition* pPos = pPam->GetPoint(); in Continue()
803 pPam->SetMark(); pPam->DeleteMark(); in Continue()
809 pPam->SetMark(); pPam->DeleteMark(); in Continue()
811 pPam->Move( fnMoveBackward ); in Continue()
3078 pPam->Move( fnMoveForward ); in EndAttr()
5189 pPam->Move( fnMoveBackward ); in InsertHorzRule()
[all …]
H A Dhtmlgrin.cxx282 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 Dhtmlsect.cxx123 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 Dhtmlctxt.cxx153 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 Dhtmltab.cxx2959 SwNodeIndex& rIdx = pPam->GetPoint()->nNode; in InsertTempTableCaptionSection()
3656 pPam->GetPoint()->nContent.GetIndex() || in BuildTableCell()
3664 pDoc->SetTxtFmtColl( *pPam, in BuildTableCell()
3680 pTmp = new _HTMLAttr( *pPam->GetPoint(), in BuildTableCell()
3836 pPam->Move( fnMoveBackward ); in BuildTableCell()
3846 pPam->Move( fnMoveBackward ); in BuildTableCell()
5076 *pPam->GetPoint() = pSaveStruct->GetPos(); in BuildTableCaption()
5491 pPam->SetMark(); in BuildTable()
5492 pPam->DeleteMark(); in BuildTable()
5560 pPam->SetMark(); in BuildTable()
[all …]
/trunk/main/sw/source/core/crsr/
H A Dfindtxt.cxx227 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 Dfindfmt.cxx37 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 Dfindattr.cxx921 ? pPam->GetPoint()->nContent.GetIndex() == pPam->GetCntntNode()->Len() in Find()
926 delete pPam; in Find()
946 *GetPoint() = *pPam->GetPoint(); in Find()
947 *GetMark() = *pPam->GetMark(); in Find()
971 *GetPoint() = *pPam->GetPoint(); in Find()
983 delete pPam; in Find()
1015 ? pPam->GetPoint()->nContent.GetIndex() == pPam->GetCntntNode()->Len() in Find()
1020 delete pPam; in Find()
1043 *GetMark() = *pPam->GetMark(); in Find()
1068 *GetPoint() = *pPam->GetPoint(); in Find()
[all …]
H A Dcrsrsh.cxx1928 --pPam; in RefreshBlockCursor()
1931 if( pPam == pStart ) in RefreshBlockCursor()
1938 delete *pPam; in RefreshBlockCursor()
1948 --pPam; in RefreshBlockCursor()
1954 delete *pPam; in RefreshBlockCursor()
1958 --pPam; in RefreshBlockCursor()
1974 delete *pPam; in RefreshBlockCursor()
1983 --pPam; in RefreshBlockCursor()
1993 delete *pPam; in RefreshBlockCursor()
2776 SwPaM* pPam = GetCrsr(); in ShouldWait() local
[all …]
/trunk/main/sw/source/core/text/
H A Dfrmcrsr.cxx719 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 Dfrminf.cxx193 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 …]
/trunk/main/sw/source/core/edit/
H A Dacorrect.cxx160 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 Dedfmt.cxx82 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()
/trunk/main/sw/source/core/doc/
H A Dswserv.cxx72 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 …]
/trunk/main/sw/source/filter/ascii/
H A Dparasc.cxx58 SwPaM* pPam; member in SwASCIIParser
108 pPam = new SwPaM( *rCrsr.GetPoint() ); in SwASCIIParser()
141 delete pPam; in ~SwASCIIParser()
163 const SwNodeIndex& rTmp = pPam->GetPoint()->nNode; in CallParser()
176 pDoc->SetTxtFmtColl(*pPam, pColl); in CallParser()
240 *pInsPam->GetMark() = *pPam->GetPoint(); in CallParser()
390 pDoc->SplitNode( *pPam->GetPoint(), false ); in ReadChars()
452 pDoc->SplitNode( *pPam->GetPoint(), false ); in ReadChars()
485 pDoc->SplitNode( *pPam->GetPoint(), false ); in ReadChars()
498 pDoc->SplitNode( *pPam->GetPoint(), false ); in ReadChars()
[all …]
/trunk/main/sw/source/core/frmedt/
H A Dfetab.cxx446 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 …]

Completed in 277 milliseconds

123