Home
last modified time | relevance | path

Searched refs:aPam (Results 1 – 25 of 65) sorted by relevance

123

/aoo42x/main/sw/source/core/doc/
H A Ddocruby.cxx72 SwPaM aPam( *pStt ); in FillRubyList() local
77 aPam.SetMark(); in FillRubyList()
78 *aPam.GetMark() = *pEnd; in FillRubyList()
83 aPam.DeleteMark(); in FillRubyList()
91 aPam.DeleteMark(); in FillRubyList()
125 SwPaM aPam( *pStt ); in SetRubyList() local
130 aPam.SetMark(); in SetRubyList()
155 aPam.DeleteMark(); in SetRubyList()
162 aPam.DeleteMark(); in SetRubyList()
174 aPam.SetMark(); in SetRubyList()
[all …]
H A Ddoc.cxx787 SwPaM aPam( rPos ); in SplitNode() local
788 aPam.SetMark(); in SplitNode()
793 SplitRedline( aPam ); in SplitNode()
825 SwPaM aPam( rPos ); in AppendTxtNode() local
826 aPam.SetMark(); in AppendTxtNode()
831 SplitRedline( aPam ); in AppendTxtNode()
931 SplitRedline( aPam ); in InsertString()
1150 SwPaM& aPam, in lcl_FormatPostIt() argument
1398 aPam.SetMark(); in UpdatePagesForPrintingWithPostItData()
2326 aPam.SetMark(); in RemoveInvisibleContent()
[all …]
H A Ddocredln.cxx846 DeleteAndJoin( aPam ); in AppendRedline()
875 DeleteAndJoin( aPam ); in AppendRedline()
1738 aPam.DeleteMark(); in lcl_AcceptRedline()
1848 aPam.DeleteMark(); in lcl_RejectRedline()
2277 bCallDelete, aPam ); in RejectRedline()
3344 SwPaM aPam( *pStt, *pEnd ); in MoveToSection() local
3497 SwPaM aPam( *pStt, *pEnd ); in DelCopyOfSection() local
3563 aPam.DeleteMark(); in DelCopyOfSection()
3564 pDoc->DelFullPara( aPam ); in DelCopyOfSection()
3636 aPam.GetPoint()->nNode++; in MoveFromSection()
[all …]
H A Ddocedt.cxx1537 SwPosition & rEnd( *aPam.End() ); in lcl_DoWithBreaks()
2241 aPam.Normalize(sal_False); in ReplaceRange()
2242 if (aPam.GetPoint()->nNode != aPam.GetMark()->nNode) in ReplaceRange()
2244 aPam.Move(fnMoveBackward); in ReplaceRange()
2246 ASSERT((aPam.GetPoint()->nNode == aPam.GetMark()->nNode), "invalid pam?"); in ReplaceRange()
2248 lcl_CalcBreaks(Breaks, aPam); in ReplaceRange()
2272 ASSERT(aPam.GetPoint() == aPam.End(), "wrong!"); in ReplaceRange()
2273 SwPosition & rEnd( *aPam.End() ); in ReplaceRange()
2843 SwPaM aPam(rPos); in RemoveLeadingWhiteSpace() local
2845 aPam.SetMark(); in RemoveLeadingWhiteSpace()
[all …]
H A Ddocbm.cxx1275 SwPaM aPam(rNewPos.GetNode()); in SetInDoc() local
1277 aPam.GetPoint()->nContent = *pIdx; in SetInDoc()
1281 aPam.SetMark(); in SetInDoc()
1289 aPam.GetMark()->nContent.Assign(aPam.GetCntntNode(sal_False), m_nCntnt2); in SetInDoc()
1294 aPam.GetMark()->nContent.Assign(aPam.GetCntntNode(sal_False), m_nCntnt2); in SetInDoc()
1300 aPam.GetPoint()->nNode += m_nNode1; in SetInDoc()
1305 aPam.GetPoint()->nContent.Assign(aPam.GetCntntNode(), m_nCntnt1); in SetInDoc()
1309 aPam.GetPoint()->nNode = m_nNode1; in SetInDoc()
1310 aPam.GetPoint()->nContent.Assign(aPam.GetCntntNode(), m_nCntnt1); in SetInDoc()
1313 if(!aPam.HasMark() in SetInDoc()
[all …]
H A Ddocnum.cxx579 SwPaM aPam( aSttRg, aEndRg, 0, -1 ); in MoveOutlinePara() local
580 return MoveParagraph( aPam, nOffs, sal_True ); in MoveOutlinePara()
1056 SwPaM aPam( rPam.Start()->nNode, in SetNumRule() local
1058 aPam.Start()->nContent = 0; in SetNumRule()
1088 SwPaM aPam( rPam.Start()->nNode, in SetCounted() local
1090 aPam.Start()->nContent = 0; in SetCounted()
1441 SwPaM aPam(*pCNd); in MakeUniqueNumRules() local
1443 SetNumRule( aPam, in MakeUniqueNumRules()
2118 SwPaM aPam( pStt->nNode, aMvRg.aEnd ); in MoveParagraph() local
2301 SwPaM aPam(*pTxtNd); in NumOrNoNum() local
[all …]
H A Ddoccorr.cxx201 SwPaM const aPam(rOldNode, 0, in CorrAbs() local
216 lcl_PaMCorrAbs(*pRedline, *aPam.Start(), *aPam.End(), aNewPos); in CorrAbs()
232 ::PaMCorrAbs(aPam, aNewPos); in CorrAbs()
262 SwPaM const aPam(rStartNode, 0, in CorrAbs() local
264 ::PaMCorrAbs(aPam, rNewPos); in CorrAbs()
/aoo42x/main/sw/source/core/unocore/
H A Dunoftn.cxx328 SwPaM aPam(rTxtNode, *pTxtFtn->GetStart()); in setLabel() local
367 SwUnoInternalPaM aPam(*pNewDoc); in attach() local
372 pNewDoc->DeleteAndJoin(aPam); in attach()
373 aPam.DeleteMark(); in attach()
425 SwPosition aMark( *aPam.Start() ); in getAnchor()
426 aPam.SetMark(); in getAnchor()
427 aPam.GetMark()->nContent++; in getAnchor()
429 SwXTextRange::CreateXTextRange(*GetDoc(), *aPam.Start(), aPam.End()); in getAnchor()
446 GetDoc()->DeleteAndJoin( aPam ); in dispose()
538 SwUnoInternalPaM aPam(*GetDoc()); in createTextCursorByRange() local
[all …]
H A Dunotext.cxx334 SwPaM aPam(GetDoc()->GetNodes()); in insertString() local
344 pPam = &aPam; in insertString()
444 SwPaM aTmp(*aPam.Start()); in insertControlCharacter()
445 if (bAbsorb && aPam.HasMark()) in insertControlCharacter()
1025 SwPaM aPam(aEndPos); in setString() local
1383 SwPaM aPam(aInsertPosition); in finishOrAppendParagraph() local
1386 m_pDoc->ResetAttrs(aPam); in finishOrAppendParagraph()
2585 SwUnoInternalPaM aPam(*GetDoc()); in createTextCursorByRange() local
2602 *aPam.GetPoint(), aPam.GetMark())); in createTextCursorByRange()
2907 SwUnoInternalPaM aPam(*GetDoc()); in createTextCursorByRange() local
[all …]
H A Dunorefmk.cxx330 SwUnoInternalPaM aPam(*pDocument); in attach() local
332 ::sw::XTextRangeToSwPaM(aPam, xTextRange); in attach()
395 SwPaM aPam( rTxtNode, nStt, rTxtNode, nEnd ); in dispose() local
396 m_pImpl->m_pDoc->DeleteAndJoin( aPam ); in dispose()
488 m_pImpl->m_pDoc->DeleteAndJoin( aPam ); in setName()
493 m_pImpl->InsertRefMark( aPam, 0 ); in setName()
494 m_pImpl->m_pDoc = aPam.GetDoc(); in setName()
1044 pDoc->DeleteAndJoin( aPam ); in dispose()
1098 SwUnoInternalPaM aPam(*pDoc); in AttachImpl() local
1099 ::sw::XTextRangeToSwPaM(aPam, i_xTextRange); in AttachImpl()
[all …]
H A Dunoparagraph.cxx599 SwPaM aPam( aPos ); in GetPropertyValues_Impl() local
895 SwPaM aPam( aPos ); in GetPropertyValuesTolerant_Impl() local
1056 SwPaM aPam(aPos); in lcl_SwXParagraph_getPropertyState() local
1094 SwUnoCursorHelper::GetCurPageStyle(aPam,sVal); in lcl_SwXParagraph_getPropertyState()
1448 SwPaM aPam ( aPos ); in createEnumeration() local
1450 new SwXTextPortionEnumeration(aPam, m_pImpl->m_xParentText, in createEnumeration()
1495 SwPaM aPam( *aCursor.Start() ); in getStart() local
1498 new SwXTextRange(aPam, xParent); in getStart()
1514 SwPaM aPam( *aCursor.End() ); in getEnd() local
1517 new SwXTextRange(aPam, xParent); in getEnd()
[all …]
H A Dunoidx.cxx1367 SwUnoInternalPaM aPam(*pDoc); in attach() local
1369 ::sw::XTextRangeToSwPaM(aPam, xTextRange); in attach()
1378 if (aPam.HasMark()) in attach()
1380 pDoc->DeleteAndJoin(aPam); in attach()
1880 aPam.SetMark(); in setMarkEntry()
1886 aPam.GetPoint()->nContent++; in setMarkEntry()
1972 SwUnoInternalPaM aPam(*pDoc); in attach() local
2131 aPam.SetMark(); in getAnchor()
2138 aPam.GetPoint()->nContent++; in getAnchor()
2292 aPam.SetMark(); in setPropertyValue()
[all …]
H A Dunoframe.cxx1870 SwPaM aPam(rNode); in setPropertyValue() local
2703 SwPaM aPam(rNode); in attachToRange() local
2704 aPam.Move( fnMoveBackward, fnGoDoc ); in attachToRange()
2733 *aPam.GetPoint() = *aIntPam.GetPoint(); in attachToRange()
2736 aPam.SetMark(); in attachToRange()
2737 *aPam.GetMark() = *aIntPam.GetMark(); in attachToRange()
2746 !aPam.GetNode()->FindFlyStartNode()) in attachToRange()
3209 SwPaM aPam(rNode); in createTextCursor() local
3210 aPam.Move(fnMoveForward, fnGoNode); in createTextCursor()
3249 SwUnoInternalPaM aPam(*GetDoc()); in createTextCursorByRange() local
[all …]
/aoo42x/main/sw/source/core/edit/
H A Dednumber.cxx155 SwPaM aPam( *pCrsr->GetPoint() ); in NoNum() local
174 SwPaM aPam( *GetCrsr()->GetPoint() ); in SelectionHasNumber() local
177 aRangeArr.SetPam( n, aPam ); in SelectionHasNumber()
220 SwPaM aPam( *GetCrsr()->GetPoint() ); in SelectionHasBullet() local
223 aRangeArr.SetPam( n, aPam ); in SelectionHasBullet()
300 SwPaM aPam( *pCrsr->GetPoint() ); in DelNumRules() local
338 SwPaM aPam( *pCrsr->GetPoint() ); in NumUpDown() local
562 SwPaM aPam( *pCrsr->GetPoint() ); in OutlineUpDown() local
784 aRangeArr.SetPam( n, aPam ); in SetCurNumRule()
833 SwPaM aPam( *pCrsr->GetPoint() ); in SetNumRuleStart() local
[all …]
H A Dacorrect.cxx139 SwPaM aPam( rCrsr.GetPoint()->nNode.GetNode(), nPos ); in Insert() local
140 rEditSh.GetDoc()->InsertString( aPam, rTxt ); in Insert()
252 SwPaM aPam( rNd, nStt, rNd, nEnd ); in SetAttr() local
263 rEditSh.GetDoc()->SetFmtItemByAutoFmt( aPam, aSet ); in SetAttr()
276 SwPaM aPam( rNd, nStt, rNd, nEnd ); in SetINetAttr() local
281 rEditSh.GetDoc()->SetFmtItemByAutoFmt( aPam, aSet ); in SetINetAttr()
349 SwPaM aPam( rNd, rSttPos, rNd, nEndPos ); in ChgAutoCorrWord() local
368 DeleteSel( aPam ); in ChgAutoCorrWord()
369 pDoc->DontExpandFmt( *aPam.GetPoint() ); in ChgAutoCorrWord()
397 aExpItem.SaveDontExpandItems( *aPam.GetPoint() ); in ChgAutoCorrWord()
[all …]
/aoo42x/main/sw/source/core/undo/
H A Dunmove.cxx234 aPam.Exchange(); in UndoImpl()
235 aPam.DeleteMark(); in UndoImpl()
237 if( aPam.GetNode()->IsCntntNode() ) in UndoImpl()
300 SwPaM aPam( *pPam->GetPoint() ); in RedoImpl() local
301 SetPaM( aPam ); in RedoImpl()
305 DelFtn( aPam ); in RedoImpl()
306 RemoveIdxFromRange( aPam, sal_False ); in RedoImpl()
308 aIdx = aPam.Start()->nNode; in RedoImpl()
312 rDoc.MoveRange( aPam, aMvPos, in RedoImpl()
328 *pPam->GetPoint() = *aPam.GetPoint(); in RedoImpl()
[all …]
H A Dundobj.cxx921 SwPaM aPam( rRange.aStart, rRange.aEnd ); in SaveSection() local
924 DelCntntIndex( *aPam.GetMark(), *aPam.GetPoint() ); in SaveSection()
939 aPam.GetPoint()->nNode--; in SaveSection()
940 aPam.GetMark()->nNode++; in SaveSection()
942 SwCntntNode* pCNd = aPam.GetCntntNode( sal_False ); in SaveSection()
944 aPam.GetMark()->nContent.Assign( pCNd, 0 ); in SaveSection()
945 if( 0 != ( pCNd = aPam.GetCntntNode( sal_True )) ) in SaveSection()
946 aPam.GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in SaveSection()
952 MoveToUndoNds( aPam, pMvStt, 0, &nEnd, 0 ); in SaveSection()
1169 SwPaM aPam( rDoc.GetNodes().GetEndOfContent() ); in SetSaveData() local
[all …]
H A Duntbl.cxx350 SwCntntNode* pCNd = aPam.GetCntntNode( sal_False ); in RedoImpl()
352 aPam.GetMark()->nContent.Assign( pCNd, 0 ); in RedoImpl()
363 rDoc.SplitRedline( aPam ); in RedoImpl()
787 SwPaM aPam(rDoc.GetNodes().GetEndOfContent()); in UndoImpl() local
788 SwPosition *const pPos = aPam.GetPoint(); in UndoImpl()
793 if (aPam.Move(fnMoveBackward, fnGoCntnt)) in UndoImpl()
812 aPam.GetMark()->nContent.Assign( 0, 0 ); in UndoImpl()
2539 SwPaM aPam( aInsIdx.GetNode(), *pEndNode ); in UndoImpl() local
2607 aPam.GetPoint()->nNode = *pTxt; in UndoImpl()
2617 pUndo = new SwUndoDelete( aPam, true ); in UndoImpl()
[all …]
H A Dunattr.cxx854 SwPaM aPam(pDoc->GetNodes().GetEndOfContent()); in UndoImpl() local
857 aPam.DeleteMark(); in UndoImpl()
858 aPam.GetPoint()->nNode = m_nNodeIndex; in UndoImpl()
859 aPam.GetPoint()->nContent.Assign( aPam.GetCntntNode(), nSttCntnt ); in UndoImpl()
860 aPam.SetMark(); in UndoImpl()
861 aPam.GetPoint()->nContent++; in UndoImpl()
862 pDoc->DeleteRedline(aPam, false, USHRT_MAX); in UndoImpl()
867 SetPaM(aPam); in UndoImpl()
868 pDoc->DeleteRedline(aPam, false, nsRedlineType_t::REDLINE_FORMAT); in UndoImpl()
/aoo42x/main/sw/source/core/docnode/
H A Dndcopy.cxx754 SwPaM aPam( rPos ); // UndoBereich sichern in CopyRange() local
758 pUndo = new SwUndoCpyDoc( aPam ); in CopyRange()
770 aPam.SetMark(); in CopyRange()
773 pNode->MakeEndIndex( &aPam.GetMark()->nContent ); in CopyRange()
775 aPam.GetPoint()->nNode = *aPam.GetNode()->StartOfSectionNode(); in CopyRange()
777 pNode->MakeStartIndex( &aPam.GetPoint()->nContent ); in CopyRange()
779 pDoc->MoveRange( aPam, rPos, DOC_MOVEDEFAULT ); in CopyRange()
781 pNode = aPam.GetCntntNode(); in CopyRange()
791 pUndo->SetInsertRange( aPam ); in CopyRange()
798 *pRedlineRange->GetPoint() = *aPam.GetPoint(); in CopyRange()
[all …]
/aoo42x/main/sw/source/filter/ww8/
H A Dww8glsy.cxx122 SwPaM aPam( aStart ); in MakeEntries() local
124 SwNodeIndex& rIdx = aPam.GetPoint()->nNode; in MakeEntries()
132 aPam.GetPoint()->nContent.Assign( pCNd, 0 ); in MakeEntries()
133 aPam.SetMark(); in MakeEntries()
135 SwNodeIndex& rIdx = aPam.GetPoint()->nNode; in MakeEntries()
145 aPam.GetPoint()->nContent.Assign( pCNd, pCNd->Len() ); in MakeEntries()
180 pD->CopyRange( aPam, aPos, false ); in MakeEntries()
H A Ddocxexportfilter.cxx64 SwPaM aPam( pDoc->GetNodes().GetEndOfContent() ); in exportDocument() local
65 aPam.SetMark(); in exportDocument()
66 aPam.Move( fnMoveBackward, fnGoDoc ); in exportDocument()
68 SwPaM *pCurPam = new SwPaM( *aPam.End(), *aPam.Start() ); in exportDocument()
73 DocxExport aExport( this, pDoc, pCurPam, &aPam ); in exportDocument()
H A Drtfexportfilter.cxx75 SwPaM aPam( pDoc->GetNodes().GetEndOfContent() ); in filter() local
76 aPam.SetMark(); in filter()
77 aPam.Move( fnMoveBackward, fnGoDoc ); in filter()
79 SwPaM *pCurPam = new SwPaM( *aPam.End(), *aPam.Start() ); in filter()
84 RtfExport aExport( this, pDoc, pCurPam, &aPam, NULL ); in filter()
H A Drtfimportfilter.cxx78 SwPaM aPam( pDoc->GetNodes().GetEndOfContent() ); in filter() local
79 aPam.SetMark(); in filter()
80 aPam.Move( fnMoveBackward, fnGoDoc ); in filter()
81 SwPaM *pCurPam = new SwPaM( *aPam.End(), *aPam.Start() ); in filter()
/aoo42x/main/sw/source/core/crsr/
H A Dcrsrsh.cxx2438 SwPaM aPam( *pCurCrsr->GetPoint() ); in IsOverReadOnlyPos() local
2855 SwPaM aPam( *pCurCrsr->GetPoint() ); in FindValidCntntNode() local
2856 aPam.SetMark(); in FindValidCntntNode()
2872 *pCurCrsr->GetPoint() = *aPam.GetPoint(); in FindValidCntntNode()
2895 SwPaM aPam( rNdIdx.GetNode(), 0 ); in FindValidCntntNode() local
2901 if( aPam.GetNode()->IsProtect() ) in FindValidCntntNode()
2904 aPam = aTmpPaM; in FindValidCntntNode()
2911 if( ! aPam.GetNode()->IsProtect() ) in FindValidCntntNode()
3289 static bool lcl_CrsrOk(SwPaM & aPam) in lcl_CrsrOk() argument
3291 return lcl_PosOk(*aPam.GetPoint()) && (! aPam.HasMark() in lcl_CrsrOk()
[all …]

Completed in 241 milliseconds

123