Home
last modified time | relevance | path

Searched refs:aPaM (Results 1 – 25 of 44) sorted by relevance

12

/aoo41x/main/editeng/source/editeng/
H A Dimpedit2.cxx886 case KEY_UP: aPaM = CursorUp( aPaM, pEditView ); in MoveCursor()
911 aPaM = WordLeft( aPaM ); in MoveCursor()
1105 aPaM = CursorUp( aPaM, pEditView ); in CursorVisualLeftRight()
1111 aPaM = CursorDown( aPaM, pEditView ); in CursorVisualLeftRight()
1263 aPaM = CursorUp( aPaM, pEditView ); in CursorVisualLeftRight()
1269 aPaM = CursorDown( aPaM, pEditView ); in CursorVisualLeftRight()
2822 aPaM = aEditDoc.InsertText( aPaM, aLine ); in ImpInsertText()
2860 aPaM = ImpInsertParaBreak( aPaM ); in ImpInsertText()
2884 aPaM = aEditDoc.InsertText( aPaM, rStr ); in ImpFastInsertText()
2889 aPaM = ImpInsertText( aPaM, rStr ); in ImpFastInsertText()
[all …]
H A Deditundo.cxx60 aPaM.SetIndex( aPaM.GetNode()->Len() ); in lcl_DoSetSelection()
61 EditSelection aSel( aPaM, aPaM ); in lcl_DoSetSelection()
239 EditPaM aPaM( pN, pN->Len() ); in Redo() local
243 _pImpEE->GetActiveView()->GetImpEditView()->SetEditSelection( EditSelection( aPaM, aPaM ) ); in Redo()
356 EditSelection aSel( aPaM, aPaM ); in Undo()
366 GetImpEditEngine()->ImpInsertText( EditSelection( aPaM, aPaM ), aText ); in Redo()
367 EditPaM aNewPaM( aPaM ); in Redo()
403 EditSelection aSel( aPaM, aPaM ); in Undo()
413 EditSelection aSel( aPaM, aPaM ); in Redo()
438 EditSelection aSel( aPaM, aPaM ); in Undo()
[all …]
H A Deditdoc.cxx1481 return aPaM; in Clear()
1513 return aPaM; in RemoveText()
1535 aPaM.GetNode()->Insert( rStr, aPaM.GetIndex() ); in InsertText()
1537 aPaM.GetIndex() = aPaM.GetIndex() + rStr.Len(); in InsertText()
1541 return aPaM; in InsertText()
1550 aPaM.GetNode()->Erase( aPaM.GetIndex() ); in InsertParaBreak()
1583 return aPaM; in InsertParaBreak()
1590 aPaM.GetNode()->Insert( CH_FEATURE, aPaM.GetIndex() ); in InsertFeature()
1601 return aPaM; in InsertFeature()
1621 return aPaM; in ConnectParagraphs()
[all …]
H A Dimpedit.cxx670 EditPaM aPaM( aEditSelection.Max() ); in ShowCursor() local
694 if ( aPaM.GetNode()->Len() && ( aPaM.GetIndex() < aPaM.GetNode()->Len() ) ) in ShowCursor()
888 pEditEngine->pImpEditEngine->SeekCursor( aPaM.GetNode(), aPaM.GetIndex()+1, aFont ); in ShowCursor()
1155 SetEditSelection( EditSelection( aPaM, aPaM ) ); in SpellIgnoreOrAddWord()
1196 SetEditSelection( EditSelection( aPaM, aPaM ) ); in DeleteSelected()
1209 if ( aPaM.GetIndex() == aPaM.GetNode()->Len() ) in GetField()
1216 sal_uInt16 nXPos = aPaM.GetIndex(); in GetField()
1245 if ( aPaM.GetIndex() == 0 ) in IsBulletArea()
1432 return IsInSelection( aPaM ); in IsSelectionAtPoint()
1466 aNewEditSelection.Max() = aPaM; in SetCursorAtPoint()
[all …]
H A Dimpedit4.cxx103 EditPaM aPaM; in Read() local
122 return aPaM; in Read()
136 aPaM = ImpInsertText( EditSelection( aPaM, aPaM ), aTmpStr ); in ReadText()
137 aPaM = ImpInsertParaBreak( aPaM ); in ReadText()
140 return aPaM; in ReadText()
1214 InsertText( rTextObject, EditSelection( aPaM, aPaM ) ); in SetText()
1241 EditSelection aSel( aPaM, aPaM ); in InsertBinTextObject()
1276 aPaM = ImpFastInsertText( aPaM, pC->GetText() ); in InsertBinTextObject()
1421 aPaM = ImpInsertParaBreak( aPaM, sal_False ); in InsertBinTextObject()
1425 aSel.Max() = aPaM; in InsertBinTextObject()
[all …]
H A Deditview.cxx992 EditPaM aPaM = pImpEditView->GetEditSelection().Max(); in IsCursorAtWrongSpelledWord() local
1005 return pImpEditView->IsWrongSpelledWord( aPaM , bMarkIfWrong ); in IsWrongSpelledWordAtPos()
1046 EditPaM aPaM2( aPaM ); in ExecuteSpellPopup()
1079 ContentNode *pNode = aPaM.GetNode(); in ExecuteSpellPopup()
1274 aPaM.GetNode()->GetWrongList()->GetInvalidStart() = 0; in ExecuteSpellPopup()
1275 aPaM.GetNode()->GetWrongList()->GetInvalidEnd() = aPaM.GetNode()->Len(); in ExecuteSpellPopup()
1338 pImpEditView->SetEditSelection( EditSelection( aPaM, aPaM ) ); in InsertField()
1375 EditPaM aPaM = aSel.Min(); in GetFieldAtSelection() local
1377 sal_uInt16 nXPos = aPaM.GetIndex(); in GetFieldAtSelection()
1415 EditPaM aPaM = pImpEE->GetPaM( aDocPos, sal_False ); in GetWordUnderMousePointer() local
[all …]
H A Dediteng.cxx1351 EditPaM aPaM( pImpEditEngine->GetEditDoc().GetStartPaM() ); in Read() local
1352 … pImpEditEngine->Read( rInput, rBaseURL, eFormat, EditSelection( aPaM, aPaM ), pHTTPHeaderAttrs ); in Read()
1577 EditPaM aPaM( pImpEditEngine->InsertParagraph( nPara ) ); in InsertParagraph() local
1581 pImpEditEngine->InsertText( rTxtObj, EditSelection( aPaM, aPaM ) ); in InsertParagraph()
1598 EditPaM aPaM( pImpEditEngine->InsertParagraph( nPara ) ); in InsertParagraph() local
1603 pImpEditEngine->ImpInsertText( EditSelection( aPaM, aPaM ), rTxt ); in InsertParagraph()
1920 EditPaM aPaM = pImpEditEngine->GetPaM( aDocPos, sal_False ); in IsTextPos() local
1921 if ( aPaM.GetNode() ) in IsTextPos()
2411 if ( aPaM.GetNode() ) in FindDocPosition()
2413 aPos.nPara = pImpEditEngine->aEditDoc.GetPos( aPaM.GetNode() ); in FindDocPosition()
[all …]
H A Dedtspell.cxx198 EditPaM aPaM( pEditView->GetImpEditView()->GetEditSelection().Max() ); in CheckSpellTo() local
199 EPaM aEPaM = pImpEE->CreateEPaM( aPaM ); in CheckSpellTo()
204 if ( pSpellInfo->aSpellTo.nIndex > aPaM.GetNode()->Len() ) in CheckSpellTo()
205 pSpellInfo->aSpellTo.nIndex = aPaM.GetNode()->Len(); in CheckSpellTo()
H A Deditdoc.hxx735 EditPaM RemoveChars( EditPaM aPaM, sal_uInt16 nChars );
737 EditPaM InsertText( EditPaM aPaM, const XubString& rStr );
738 EditPaM InsertParaBreak( EditPaM aPaM, sal_Bool bKeepEndingAttribs );
739 EditPaM InsertFeature( EditPaM aPaM, const SfxPoolItem& rItem );
/aoo41x/main/svtools/source/edit/
H A Dtextview.cxx1276 case KEY_UP: aPaM = CursorUp( aPaM ); in ImpMoveCursor()
1278 case KEY_DOWN: aPaM = CursorDown( aPaM ); in ImpMoveCursor()
1469 return aPaM; in CursorLeft()
1489 return aPaM; in CursorRight()
1512 return aPaM; in CursorWordLeft()
1533 return aPaM; in CursorWordRight()
1639 return aPaM; in CursorUp()
1678 return aPaM; in CursorDown()
1690 return aPaM; in CursorStartOfLine()
1713 return aPaM; in CursorEndOfLine()
[all …]
H A Dtextundo.cxx175 TextPaM aPaM( n, pN->GetText().Len() ); in Redo() local
176 SetSelection( aPaM ); in Redo()
196 SetSelection( aPaM ); in Undo()
201 TextPaM aPaM = GetTextEngine()->ConnectContents( mnPara ); in Redo() local
202 SetSelection( aPaM ); in Redo()
220 SetSelection( aPaM ); in Undo()
226 SetSelection( aPaM ); in Redo()
240 TextPaM aPaM = GetTextEngine()->ImpDeleteText( aSel ); in Undo() local
241 SetSelection( aPaM ); in Undo()
290 TextPaM aPaM = GetTextEngine()->ImpDeleteText( aSel ); in Redo() local
[all …]
H A Dtexteng.cxx614 return aPaM; in ImpConnectParagraphs()
840 aPaM = mpDoc->InsertText( aPaM, c ); in ImpInsertText()
841 ImpCharsInserted( aPaM.GetPara(), aPaM.GetIndex()-1, 1 ); in ImpInsertText()
849 return aPaM; in ImpInsertText()
857 TextPaM aPaM; in ImpInsertText() local
894 aPaM = mpDoc->InsertText( aPaM, aLine ); in ImpInsertText()
899 aPaM = ImpInsertParaBreak( aPaM ); in ImpInsertText()
910 return aPaM; in ImpInsertText()
915 TextPaM aPaM; in ImpInsertParaBreak() local
949 return aPaM; in ImpInsertParaBreak()
[all …]
H A Dtextdoc.cxx618 TextPaM aPaM( rPaM.GetPara(), rPaM.GetIndex()+1 ); in InsertText() local
619 return aPaM; in InsertText()
630 TextPaM aPaM( rPaM.GetPara(), rPaM.GetIndex()+rStr.Len() ); in InsertText() local
631 return aPaM; in InsertText()
641 TextPaM aPaM( rPaM.GetPara()+1, 0 ); in InsertParaBreak() local
642 return aPaM; in InsertParaBreak()
656 TextPaM aPaM( nLeft, nPrevLen ); in ConnectParagraphs() local
657 return aPaM; in ConnectParagraphs()
/aoo41x/main/sw/source/filter/xml/
H A DXMLRedlineImportHelper.cxx161 SwUnoInternalPaM aPaM(*pDoc); in SetAsNodeIndex() local
165 ::sw::XTextRangeToSwPaM(aPaM, rRange); in SetAsNodeIndex()
169 Set(aPaM.GetPoint()->nNode); in SetAsNodeIndex()
633 SwPaM aPaM(pDoc->GetNodes().GetEndOfContent()); in InsertIntoDocument() local
635 aPaM.SetMark(); in InsertIntoDocument()
639 if (*aPaM.GetPoint() == *aPaM.GetMark()) in InsertIntoDocument()
641 aPaM.DeleteMark(); in InsertIntoDocument()
657 !CheckNodesRange( aPaM.GetPoint()->nNode, in InsertIntoDocument()
658 aPaM.GetMark()->nNode, in InsertIntoDocument()
665 pDoc->DeleteRange(aPaM); in InsertIntoDocument()
[all …]
/aoo41x/main/sw/source/core/crsr/
H A Dbookmrk.cxx139 MarkBase::MarkBase(const SwPaM& aPaM, in MarkBase() argument
142 , m_pPos1(new SwPosition(*(aPaM.GetPoint()))) in MarkBase()
146 if (aPaM.HasMark() && (*aPaM.GetMark() != *aPaM.GetPoint())) in MarkBase()
148 MarkBase::SetOtherMarkPos(*(aPaM.GetMark())); in MarkBase()
218 UnoMark::UnoMark(const SwPaM& aPaM) in UnoMark() argument
219 : MarkBase(aPaM, MarkBase::GenerateNewName(our_sNamePrefix)) in UnoMark()
224 DdeBookmark::DdeBookmark(const SwPaM& aPaM) in DdeBookmark() argument
257 Bookmark::Bookmark(const SwPaM& aPaM, in Bookmark() argument
261 : DdeBookmark(aPaM) in Bookmark()
358 SwPaM aPaM( this->GetMarkPos(), this->GetOtherMarkPos() ); in Invalidate() local
[all …]
/aoo41x/main/sw/source/core/undo/
H A Dunins.cxx76 SwPaM aPaM( *pCNd, nCntnt ); in GetTxtFromDoc() local
78 aPaM.SetMark(); in GetTxtFromDoc()
246 SwPaM aPaM( *pCNd, nCntnt ); in UndoImpl() local
248 aPaM.SetMark(); in UndoImpl()
253 aPaM.GetPoint()->nContent -= nLen; in UndoImpl()
256 RemoveIdxFromRange( aPaM, sal_False ); in UndoImpl()
262 aPaM.Move(fnMoveBackward); in UndoImpl()
381 SwPaM aPaM( *pCNd, nCntnt ); in RepeatImpl() local
382 aPaM.SetMark(); in RepeatImpl()
383 aPaM.Move(fnMoveBackward); in RepeatImpl()
[all …]
H A Dundobj.cxx454 SwPaM aPaM( rInsPos ); in MoveFromUndoNds() local
460 GoInCntnt( aPaM, fnMoveBackward ); in MoveFromUndoNds()
470 GoInCntnt( aPaM, fnMoveBackward ); in MoveFromUndoNds()
474 aPaM.SetMark(); in MoveFromUndoNds()
475 aPaM.GetPoint()->nNode = nNodeIdx; in MoveFromUndoNds()
476 aPaM.GetPoint()->nContent.Assign( aPaM.GetCntntNode(), nCntIdx ); in MoveFromUndoNds()
483 if( !aPaM.GetPoint()->nContent.GetIndex() || in MoveFromUndoNds()
487 aPaM.GetPoint()->nContent.Assign( 0, 0 ); in MoveFromUndoNds()
488 aPaM.SetMark(); in MoveFromUndoNds()
489 rNds.Delete( aPaM.GetPoint()->nNode, in MoveFromUndoNds()
[all …]
/aoo41x/main/sw/source/core/unocore/
H A Dunoobj2.cxx1041 SwPaM aPaM(GetDoc()->GetNodes()); in getString() local
1042 if (GetPositions(aPaM) && aPaM.HasMark()) in getString()
1406 SwPaM aPaM(GetDoc()->GetNodes()); in setPropertyValue() local
1407 GetPositions(aPaM); in setPropertyValue()
1423 SwPaM aPaM(GetDoc()->GetNodes()); in getPropertyValue() local
1424 GetPositions(aPaM); in getPropertyValue()
1483 SwPaM aPaM(GetDoc()->GetNodes()); in getPropertyState() local
1484 GetPositions(aPaM); in getPropertyState()
1500 GetPositions(aPaM); in getPropertyStates()
1515 GetPositions(aPaM); in setPropertyToDefault()
[all …]
H A Dunoflatpara.cxx222 …SwPaM aPaM( *mpTxtNode, static_cast<sal_uInt16>(nPos), *mpTxtNode, static_cast<sal_uInt16>(nPos + … in changeText() local
228 *mpTxtNode->GetDoc(), *aPaM.GetPoint(), aPaM.GetMark() ); in changeText()
239 pIDCO->ReplaceRange( aPaM, aNewText, false ); in changeText()
252 …SwPaM aPaM( *mpTxtNode, static_cast<sal_uInt16>(nPos), *mpTxtNode, static_cast<sal_uInt16>(nPos + … in changeAttributes() local
258 *mpTxtNode->GetDoc(), *aPaM.GetPoint(), aPaM.GetMark() ); in changeAttributes()
/aoo41x/main/sw/source/ui/uiview/
H A Dsrcview.cxx644 TextPaM aPaM; in StartSearchAndReplace() local
647 sal_Bool bAtStart = pTextView->GetSelection() == TextSelection( aPaM, aPaM ); in StartSearchAndReplace()
650 aPaM = TextPaM( (sal_uLong)-1, (sal_uInt16)-1 ); in StartSearchAndReplace()
655 pTextView->SetSelection( TextSelection( aPaM, aPaM )); in StartSearchAndReplace()
711 pTextView->SetSelection( TextSelection( aPaM, aPaM ) ); in StartSearchAndReplace()
/aoo41x/main/filter/source/xsltdialog/
H A Dxmlfileview.cxx491 TextPaM aPaM( pTextView->CursorStartOfDoc() ); in ShowWindow() local
492 TextSelection aSelection( aPaM, aPaM ); in ShowWindow()
501 TextPaM aPaM( pTextView->CursorStartOfDoc() ); in showLine() local
503 aPaM = pTextView->CursorDown( aPaM ); in showLine()
505 TextSelection aSelection( pTextView->CursorEndOfLine( aPaM ), aPaM ); in showLine()
/aoo41x/main/sw/source/core/access/
H A Dacctable.cxx1650 SwPaM aPaM( *pStartNode ); in selectAccessibleChild() local
1651 aPaM.Move( fnMoveForward, fnGoNode ); in selectAccessibleChild()
1652 Select( aPaM ); in selectAccessibleChild()
1669 SwPaM aPaM( *pStartNode ); in selectAccessibleChild() local
1670 aPaM.Move( fnMoveForward, fnGoNode ); in selectAccessibleChild()
1671 aPaM.SetMark(); in selectAccessibleChild()
1674 *(aPaM.GetMark()) = *pPaM->GetMark(); in selectAccessibleChild()
1675 Select( aPaM ); in selectAccessibleChild()
1823 SwPaM aPaM( bDeselectPoint ? *pPaM->GetMark() : *pPaM->GetPoint() ); in deselectAccessibleChild() local
1828 Select( aPaM ); in deselectAccessibleChild()
H A Daccpara.cxx1186 SwPaM aPaM( aStartPos ); in grabFocus() local
1189 Select( aPaM ); in grabFocus()
1519 SwPaM aPaM( aStartPos ); in setCaretPosition() local
1522 bRet = Select( aPaM ); in setCaretPosition()
2855 SwPaM aPaM( aStartPos ); in setSelection() local
2856 aPaM.SetMark(); in setSelection()
2857 aPaM.GetPoint()->nContent = in setSelection()
2861 bRet = Select( aPaM ); in setSelection()
3878 SwPaM* aPaM = pCrsrShell->CreateCrsr(); in addSelection() local
3879 aPaM->SetMark(); in addSelection()
[all …]
/aoo41x/main/sw/source/filter/ww8/
H A DWW8TableInfo.cxx744 SwPaM aPaM(*pSttNd, 0); in processTableBoxLines() local
750 SwNode & rNode = aPaM.GetPoint()->nNode.GetNode(); in processTableBoxLines()
754 if (aPaM.GetPoint()->nNode == aEndPaM.GetPoint()->nNode) in processTableBoxLines()
757 aPaM.GetPoint()->nNode++; in processTableBoxLines()
803 SwPaM aPaM(*pSttNd, 0); in processTableBox() local
810 SwNode & rNode = aPaM.GetPoint()->nNode.GetNode(); in processTableBox()
843 aPaM.GetPoint()->nNode++; in processTableBox()
/aoo41x/main/sw/source/core/frmedt/
H A Dfecopy.cxx835 SwPaM aPaM(SwPosition(aIndexBefore), in Paste() local
837 aPaM.GetDoc()->MakeUniqueNumRules(aPaM); in Paste()
1068 SwPaM aPaM(SwPosition(aIndexBefore), in Paste() local
1071 aPaM.GetDoc()->MakeUniqueNumRules(aPaM); in Paste()

Completed in 459 milliseconds

12