Lines Matching refs:pNode
583 if ( !pNode ) in DbgIsBuggy()
585 if ( rDoc.GetPos( pNode ) >= rDoc.Count() ) in DbgIsBuggy()
587 if ( nIndex > pNode->Len() ) in DbgIsBuggy()
690 pNode = rPaM.pNode; in operator =()
1244 void EditDoc::RemoveItemsFromPool( ContentNode* pNode ) in RemoveItemsFromPool() argument
1246 for ( sal_uInt16 nAttr = 0; nAttr < pNode->GetCharAttribs().Count(); nAttr++ ) in RemoveItemsFromPool()
1248 EditCharAttrib* pAttr = pNode->GetCharAttribs().GetAttribs()[nAttr]; in RemoveItemsFromPool()
1335 ContentNode* pNode = GetObject( nNode ); in CreateDefFont() local
1336 pNode->GetCharAttribs().GetDefFont() = aDefFont; in CreateDefFont()
1338 pNode->CreateDefFont(); in CreateDefFont()
1398 XubString EditDoc::GetParaAsString( ContentNode* pNode, sal_uInt16 nStartPos, sal_uInt16 nEndPos, s… in GetParaAsString() argument
1400 if ( nEndPos > pNode->Len() ) in GetParaAsString()
1401 nEndPos = pNode->Len(); in GetParaAsString()
1407 EditCharAttrib* pNextFeature = pNode->GetCharAttribs().FindFeature( nIndex ); in GetParaAsString()
1420 aStr += XubString( *pNode, nIndex, nEnd - nIndex ); in GetParaAsString()
1435 pNextFeature = pNode->GetCharAttribs().FindFeature( ++nEnd ); in GetParaAsString()
1447 ContentNode* pNode = GetObject( nNode ); in GetTextLen() local
1448 nLen += pNode->Len(); in GetTextLen()
1450 const CharAttribArray& rAttrs = pNode->GetCharAttribs().GetAttribs(); in GetTextLen()
1471 ContentNode* pNode = new ContentNode( GetItemPool() ); in Clear() local
1472 Insert( pNode, 0 ); in Clear()
1478 EditPaM aPaM( pNode, 0 ); in Clear()
1501 ContentNode* pNode = new ContentNode( GetItemPool() ); in RemoveText() local
1502 Insert( pNode, 0 ); in RemoveText()
1504 pNode->SetStyleSheet( pPrevStyle, sal_False ); in RemoveText()
1505 pNode->GetContentAttribs().GetItems().Set( aPrevSet ); in RemoveText()
1506 pNode->GetCharAttribs().GetDefFont() = aPrevFont; in RemoveText()
1510 EditPaM aPaM( pNode, 0 ); in RemoveText()
1557 ContentNode* pNode = new ContentNode( aStr, aContentAttribs ); in InsertParaBreak() local
1560 pNode->GetCharAttribs().GetDefFont() = aPaM.GetNode()->GetCharAttribs().GetDefFont(); in InsertParaBreak()
1568 pNode->SetStyleSheet( (SfxStyleSheet*)pNext ); in InsertParaBreak()
1573 pNode->CopyAndCutAttribs( aPaM.GetNode(), GetItemPool(), bKeepEndingAttribs ); in InsertParaBreak()
1575 Insert( pNode, nPos+1 ); in InsertParaBreak()
1579 aPaM.SetNode( pNode ); in InsertParaBreak()
1633 void EditDoc::InsertAttribInSelection( ContentNode* pNode, sal_uInt16 nStart, sal_uInt16 nEnd, cons… in InsertAttribInSelection() argument
1635 DBG_ASSERT( pNode, "Wohin mit dem Attribut?" ); in InsertAttribInSelection()
1636 DBG_ASSERT( nEnd <= pNode->Len(), "InsertAttrib: Attribut zu gross!" ); in InsertAttribInSelection()
1646 RemoveAttribs( pNode, nStart, nEnd, pStartingAttrib, pEndingAttrib, rPoolItem.Which() ); in InsertAttribInSelection()
1655 …pNode->GetCharAttribs().GetAttribs().Remove( pNode->GetCharAttribs().GetAttribs().GetPos( pStartin… in InsertAttribInSelection()
1663 InsertAttrib( rPoolItem, pNode, nStart, nEnd ); in InsertAttribInSelection()
1666 pNode->GetCharAttribs().ResortAttribs(); in InsertAttribInSelection()
1671 sal_Bool EditDoc::RemoveAttribs( ContentNode* pNode, sal_uInt16 nStart, sal_uInt16 nEnd, sal_uInt16… in RemoveAttribs() argument
1675 return RemoveAttribs( pNode, nStart, nEnd, pStarting, pEnding, nWhich ); in RemoveAttribs()
1678 sal_Bool EditDoc::RemoveAttribs( ContentNode* pNode, sal_uInt16 nStart, sal_uInt16 nEnd, EditCharAt… in RemoveAttribs() argument
1680 DBG_ASSERT( pNode, "Wohin mit dem Attribut?" ); in RemoveAttribs()
1681 DBG_ASSERT( nEnd <= pNode->Len(), "InsertAttrib: Attribut zu gross!" ); in RemoveAttribs()
1694 EditCharAttrib* pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in RemoveAttribs()
1761 InsertAttrib( *pAttr->GetItem(), pNode, nEnd, nOldEnd ); in RemoveAttribs()
1771 pNode->GetCharAttribs().GetAttribs().Remove(nAttr); in RemoveAttribs()
1777 pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in RemoveAttribs()
1783 pNode->GetCharAttribs().ResortAttribs(); in RemoveAttribs()
1791 void EditDoc::InsertAttrib( const SfxPoolItem& rPoolItem, ContentNode* pNode, sal_uInt16 nStart, sa… in InsertAttrib() argument
1798 pNode->GetCharAttribs().InsertAttrib( pAttrib ); in InsertAttrib()
1803 void EditDoc::InsertAttrib( ContentNode* pNode, sal_uInt16 nStart, sal_uInt16 nEnd, const SfxPoolIt… in InsertAttrib() argument
1807 InsertAttribInSelection( pNode, nStart, nEnd, rPoolItem ); in InsertAttrib()
1812 EditCharAttrib* pAttr = pNode->GetCharAttribs().FindEmptyAttrib( rPoolItem.Which(), nStart ); in InsertAttrib()
1816 pNode->GetCharAttribs().GetAttribs().Remove( in InsertAttrib()
1817 pNode->GetCharAttribs().GetAttribs().GetPos( pAttr ) ); in InsertAttrib()
1822 pAttr = pNode->GetCharAttribs().FindAttrib( rPoolItem.Which(), nStart ); in InsertAttrib()
1833 pNode->GetCharAttribs().InsertAttrib( pAttr ); in InsertAttrib()
1843 InsertAttrib( rPoolItem, pNode, nStart, nStart ); in InsertAttrib()
1849 void EditDoc::FindAttribs( ContentNode* pNode, sal_uInt16 nStartPos, sal_uInt16 nEndPos, SfxItemSet… in FindAttribs() argument
1851 DBG_ASSERT( pNode, "Wo soll ich suchen ?" ); in FindAttribs()
1855 EditCharAttrib* pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in FindAttribs()
1868 if ( !pNode->GetCharAttribs().FindEmptyAttrib( pAttr->GetItem()->Which(), nStartPos ) ) in FindAttribs()
1900 pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in FindAttribs()
1958 pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in FindAttribs()