Lines Matching refs:aPaM

1478 	EditPaM aPaM( pNode, 0 );  in Clear()  local
1479 return aPaM; in Clear()
1510 EditPaM aPaM( pNode, 0 ); in RemoveText() local
1511 return aPaM; in RemoveText()
1526 EditPaM EditDoc::InsertText( EditPaM aPaM, const XubString& rStr ) in InsertText() argument
1531 DBG_ASSERT( aPaM.GetNode(), "Blinder PaM in EditDoc::InsertText1" ); in InsertText()
1533 aPaM.GetNode()->Insert( rStr, aPaM.GetIndex() ); in InsertText()
1534 aPaM.GetNode()->ExpandAttribs( aPaM.GetIndex(), rStr.Len(), GetItemPool() ); in InsertText()
1535 aPaM.GetIndex() = aPaM.GetIndex() + rStr.Len(); in InsertText()
1539 return aPaM; in InsertText()
1542 EditPaM EditDoc::InsertParaBreak( EditPaM aPaM, sal_Bool bKeepEndingAttribs ) in InsertParaBreak() argument
1544 DBG_ASSERT( aPaM.GetNode(), "Blinder PaM in EditDoc::InsertParaBreak" ); in InsertParaBreak()
1545 ContentNode* pCurNode = aPaM.GetNode(); in InsertParaBreak()
1547 XubString aStr = aPaM.GetNode()->Copy( aPaM.GetIndex() ); in InsertParaBreak()
1548 aPaM.GetNode()->Erase( aPaM.GetIndex() ); in InsertParaBreak()
1551 ContentAttribs aContentAttribs( aPaM.GetNode()->GetContentAttribs() ); in InsertParaBreak()
1560 pNode->GetCharAttribs().GetDefFont() = aPaM.GetNode()->GetCharAttribs().GetDefFont(); in InsertParaBreak()
1561 SfxStyleSheet* pStyle = aPaM.GetNode()->GetStyleSheet(); in InsertParaBreak()
1573 pNode->CopyAndCutAttribs( aPaM.GetNode(), GetItemPool(), bKeepEndingAttribs ); in InsertParaBreak()
1579 aPaM.SetNode( pNode ); in InsertParaBreak()
1580 aPaM.SetIndex( 0 ); in InsertParaBreak()
1581 return aPaM; in InsertParaBreak()
1584 EditPaM EditDoc::InsertFeature( EditPaM aPaM, const SfxPoolItem& rItem ) in InsertFeature() argument
1586 DBG_ASSERT( aPaM.GetNode(), "Blinder PaM in EditDoc::InsertFeature" ); in InsertFeature()
1588 aPaM.GetNode()->Insert( CH_FEATURE, aPaM.GetIndex() ); in InsertFeature()
1589 aPaM.GetNode()->ExpandAttribs( aPaM.GetIndex(), 1, GetItemPool() ); in InsertFeature()
1592 …EditCharAttrib* pAttrib = MakeCharAttrib( GetItemPool(), rItem, aPaM.GetIndex(), aPaM.GetIndex()+1… in InsertFeature()
1594 aPaM.GetNode()->GetCharAttribs().InsertAttrib( pAttrib ); in InsertFeature()
1598 aPaM.GetIndex()++; in InsertFeature()
1599 return aPaM; in InsertFeature()
1604 const EditPaM aPaM( pLeft, pLeft->Len() ); in ConnectParagraphs() local
1619 return aPaM; in ConnectParagraphs()
1622 EditPaM EditDoc::RemoveChars( EditPaM aPaM, sal_uInt16 nChars ) in RemoveChars() argument
1625 aPaM.GetNode()->Erase( aPaM.GetIndex(), nChars ); in RemoveChars()
1626 aPaM.GetNode()->CollapsAttribs( aPaM.GetIndex(), nChars, GetItemPool() ); in RemoveChars()
1630 return aPaM; in RemoveChars()