Lines Matching refs:aPaM
522 TextPaM aPaM = aStartPaM; in SetText() local
524 aPaM = ImpInsertText( aEmptySel, rText ); in SetText()
605 TextPaM aPaM = mpDoc->ConnectParagraphs( pLeft, pRight ); in ImpConnectParagraphs() local
608 pLeftPortion->MarkSelectionInvalid( aPaM.GetIndex(), pLeft->GetText().Len() ); in ImpConnectParagraphs()
614 return aPaM; in ImpConnectParagraphs()
751 TextPaM aPaM( rCurSel.GetStart() ); in ImpInsertText() local
752 TextNode* pNode = mpDoc->GetNodes().GetObject( aPaM.GetPara() ); in ImpInsertText()
757 ( aPaM.GetIndex() < pNode->GetText().Len() ) ) ? sal_True : sal_False; in ImpInsertText()
766 aPaM = ImpDeleteText( rCurSel ); in ImpInsertText()
771 TextSelection aTmpSel( aPaM ); in ImpInsertText()
783 xub_StrLen nTmpPos = aPaM.GetIndex(); in ImpInsertText()
789 rtl::OUString aOldText( mpDoc->GetText( aPaM.GetPara() ).Copy(0, nTmpPos) ); in ImpInsertText()
809 TextSelection aSel( TextPaM( aPaM.GetPara(), (sal_uInt16) nChgPos ), aPaM ); in ImpInsertText()
815 return aPaM; in ImpInsertText()
821 return aPaM; // nothing to be done -> no need for undo in ImpInsertText()
831 TextUndoInsertChars* pNewUndo = new TextUndoInsertChars( this, aPaM, c ); in ImpInsertText()
836 TEParaPortion* pPortion = mpTEParaPortions->GetObject( aPaM.GetPara() ); in ImpInsertText()
837 pPortion->MarkInvalid( aPaM.GetIndex(), 1 ); in ImpInsertText()
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
860 aPaM = ImpDeleteText( rCurSel ); in ImpInsertText()
862 aPaM = rCurSel.GetEnd(); in ImpInsertText()
877 sal_uLong nL = aPaM.GetIndex(); in ImpInsertText()
887 InsertUndo( new TextUndoInsertChars( this, aPaM, aLine ) ); in ImpInsertText()
889 TEParaPortion* pPortion = mpTEParaPortions->GetObject( aPaM.GetPara() ); in ImpInsertText()
890 pPortion->MarkInvalid( aPaM.GetIndex(), aLine.Len() ); in ImpInsertText()
894 aPaM = mpDoc->InsertText( aPaM, aLine ); in ImpInsertText()
895 ImpCharsInserted( aPaM.GetPara(), aPaM.GetIndex()-aLine.Len(), aLine.Len() ); in ImpInsertText()
899 aPaM = ImpInsertParaBreak( aPaM ); in ImpInsertText()
910 return aPaM; in ImpInsertText()
915 TextPaM aPaM; in ImpInsertParaBreak() local
917 aPaM = ImpDeleteText( rCurSel ); in ImpInsertParaBreak()
919 aPaM = rCurSel.GetEnd(); in ImpInsertParaBreak()
921 return ImpInsertParaBreak( aPaM, bKeepEndingAttribs ); in ImpInsertParaBreak()
932 TextPaM aPaM( mpDoc->InsertParaBreak( rPaM, bKeepEndingAttribs ) ); in ImpInsertParaBreak() local
938 TextNode* pNewNode = mpDoc->GetNodes().GetObject( aPaM.GetPara() ); in ImpInsertParaBreak()
940 mpTEParaPortions->Insert( pNewPortion, aPaM.GetPara() ); in ImpInsertParaBreak()
941 ImpParagraphInserted( aPaM.GetPara() ); in ImpInsertParaBreak()
949 return aPaM; in ImpInsertParaBreak()
1161 TextPaM aPaM( nPortion, 0 ); in GetPaM() local
1162 aPaM.GetIndex() = ImpFindIndex( nPortion, aPosInPara, bSmart ); in GetPaM()
1163 return aPaM; in GetPaM()
1482 TextPaM aPaM( nNode, nSepPos ); in SplitContent() local
1483 return ImpInsertParaBreak( aPaM ); in SplitContent()