Home
last modified time | relevance | path

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

123

/aoo4110/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.cxx800 SwPaM aPam( rPos ); in SplitNode() local
801 aPam.SetMark(); in SplitNode()
806 SplitRedline( aPam ); in SplitNode()
838 SwPaM aPam( rPos ); in AppendTxtNode() local
839 aPam.SetMark(); in AppendTxtNode()
844 SplitRedline( aPam ); in AppendTxtNode()
944 SplitRedline( aPam ); in InsertString()
1164 SwPaM& aPam, in lcl_FormatPostIt() argument
1414 aPam.SetMark(); in UpdatePagesForPrintingWithPostItData()
2344 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()
3337 SwPaM aPam( *pStt, *pEnd ); in MoveToSection() local
3490 SwPaM aPam( *pStt, *pEnd ); in DelCopyOfSection() local
3556 aPam.DeleteMark(); in DelCopyOfSection()
3557 pDoc->DelFullPara( aPam ); in DelCopyOfSection()
3629 aPam.GetPoint()->nNode++; in MoveFromSection()
[all …]
H A Ddocedt.cxx1533 SwPosition & rEnd( *aPam.End() ); in lcl_DoWithBreaks()
2237 aPam.Normalize(sal_False); in ReplaceRange()
2238 if (aPam.GetPoint()->nNode != aPam.GetMark()->nNode) in ReplaceRange()
2240 aPam.Move(fnMoveBackward); in ReplaceRange()
2242 ASSERT((aPam.GetPoint()->nNode == aPam.GetMark()->nNode), "invalid pam?"); in ReplaceRange()
2244 lcl_CalcBreaks(Breaks, aPam); in ReplaceRange()
2268 ASSERT(aPam.GetPoint() == aPam.End(), "wrong!"); in ReplaceRange()
2269 SwPosition & rEnd( *aPam.End() ); in ReplaceRange()
2839 SwPaM aPam(rPos); in RemoveLeadingWhiteSpace() local
2841 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()
1090 SwPaM aPam( rPam.Start()->nNode, in SetNumRule() local
1092 aPam.Start()->nContent = 0; in SetNumRule()
1121 SwPaM aPam( rPam.Start()->nNode, in SetCounted() local
1123 aPam.Start()->nContent = 0; in SetCounted()
1534 SwPaM aPam(*pCNd); in MakeUniqueNumRules() local
2210 SwPaM aPam( pStt->nNode, aMvRg.aEnd ); in MoveParagraph() local
2243 CopyRange( aPam, aInsPos, false ); in MoveParagraph()
2393 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()
/aoo4110/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()
2581 SwUnoInternalPaM aPam(*GetDoc()); in createTextCursorByRange() local
2598 *aPam.GetPoint(), aPam.GetMark())); in createTextCursorByRange()
2903 SwUnoInternalPaM aPam(*GetDoc()); in createTextCursorByRange() local
[all …]
H A Dunoparagraph.cxx493 SwPaM aPam( aPos ); in GetPropertyValues_Impl() local
789 SwPaM aPam( aPos ); in GetPropertyValuesTolerant_Impl() local
949 SwPaM aPam( aPos ); in lcl_SwXParagraph_getPropertyState() local
978 SwUnoCursorHelper::GetCurPageStyle( aPam, sVal ); in lcl_SwXParagraph_getPropertyState()
1275 SwPaM aPam ( aPos ); in createEnumeration() local
1277 new SwXTextPortionEnumeration(aPam, m_pImpl->m_xParentText, in createEnumeration()
1322 SwPaM aPam( *aCursor.Start() ); in getStart() local
1325 new SwXTextRange(aPam, xParent); in getStart()
1341 SwPaM aPam( *aCursor.End() ); in getEnd() local
1344 new SwXTextRange(aPam, xParent); in getEnd()
[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 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.cxx1358 SwPaM aPam(rNode); in setPropertyValue() local
2068 SwPaM aPam(rNode); in attachToRange() local
2069 aPam.Move( fnMoveBackward, fnGoDoc ); in attachToRange()
2090 *aPam.GetPoint() = *aIntPam.GetPoint(); in attachToRange()
2093 aPam.SetMark(); in attachToRange()
2094 *aPam.GetMark() = *aIntPam.GetMark(); in attachToRange()
2103 !aPam.GetNode()->FindFlyStartNode()) in attachToRange()
2566 SwPaM aPam(rNode); in createTextCursor() local
2567 aPam.Move(fnMoveForward, fnGoNode); in createTextCursor()
2606 SwUnoInternalPaM aPam(*GetDoc()); in createTextCursorByRange() local
[all …]
/aoo4110/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
600 SwPaM aPam( *pCrsr->GetPoint() ); in OutlineUpDown() local
784 aRangeArr.SetPam( n, aPam ); in SetCurNumRule()
832 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 …]
/aoo4110/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.cxx860 SwPaM aPam(pDoc->GetNodes().GetEndOfContent()); in UndoImpl() local
863 aPam.DeleteMark(); in UndoImpl()
864 aPam.GetPoint()->nNode = m_nNodeIndex; in UndoImpl()
865 aPam.GetPoint()->nContent.Assign( aPam.GetCntntNode(), nSttCntnt ); in UndoImpl()
866 aPam.SetMark(); in UndoImpl()
867 aPam.GetPoint()->nContent++; in UndoImpl()
868 pDoc->DeleteRedline(aPam, false, USHRT_MAX); in UndoImpl()
873 SetPaM(aPam); in UndoImpl()
874 pDoc->DeleteRedline(aPam, false, nsRedlineType_t::REDLINE_FORMAT); in UndoImpl()
/aoo4110/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 …]
/aoo4110/main/sw/source/filter/ww8/
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 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 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()
/aoo4110/main/sw/source/core/crsr/
H A Dcrsrsh.cxx2430 SwPaM aPam( *pCurCrsr->GetPoint() ); in IsOverReadOnlyPos() local
2847 SwPaM aPam( *pCurCrsr->GetPoint() ); in FindValidCntntNode() local
2848 aPam.SetMark(); in FindValidCntntNode()
2864 *pCurCrsr->GetPoint() = *aPam.GetPoint(); in FindValidCntntNode()
2887 SwPaM aPam( rNdIdx.GetNode(), 0 ); in FindValidCntntNode() local
2893 if( aPam.GetNode()->IsProtect() ) in FindValidCntntNode()
2896 aPam = aTmpPaM; in FindValidCntntNode()
2903 if( ! aPam.GetNode()->IsProtect() ) in FindValidCntntNode()
3281 static bool lcl_CrsrOk(SwPaM & aPam) in lcl_CrsrOk() argument
3283 return lcl_PosOk(*aPam.GetPoint()) && (! aPam.HasMark() in lcl_CrsrOk()
[all …]

Completed in 300 milliseconds

123