Lines Matching refs:pAttr

234 			EditCharAttribPtr pAttr = pNode->GetCharAttribs().GetAttribs()[ nAttr ];  in CreateAttribUndo()  local
235 if ( pAttr->GetLen() ) in CreateAttribUndo()
237 …EditCharAttribPtr pNew = MakeCharAttrib( *pPool, *pAttr->GetItem(), pAttr->GetStart(), pAttr->GetE… in CreateAttribUndo()
476 EditCharAttrib* pAttr = rAttrs.GetObject( nAttr ); in GetAttribs() local
481 if ( ( pAttr->GetStart() <= nCursorPos ) && ( pAttr->GetEnd() >= nCursorPos ) ) in GetAttribs()
485 if ( ( pAttr->GetStart() < nCursorPos ) || pAttr->IsEmpty() || !nCursorPos ) in GetAttribs()
489 aAttribs.Put( *pAttr->GetItem() ); in GetAttribs()
496 if ( ( pAttr->GetStart() < nEnd ) && ( pAttr->GetEnd() > nStart ) ) in GetAttribs()
498 if ( ( pAttr->GetStart() <= nStart ) && ( pAttr->GetEnd() >= nEnd ) ) in GetAttribs()
501 aAttribs.Put( *pAttr->GetItem() ); in GetAttribs()
508 ( *pAttr->GetItem() != aAttribs.Get( pAttr->Which() ) ) ) in GetAttribs()
510 aAttribs.InvalidateItem( pAttr->Which() ); in GetAttribs()
516 if ( pAttr->GetStart() > nEnd ) in GetAttribs()
605 EditCharAttrib* pAttr = rAttribs.GetObject( n ); in SetAttribs() local
606 if ( pAttr->GetStart() > nEndPos ) in SetAttribs()
609 if ( ( pAttr->GetEnd() == nEndPos ) && ( pAttr->Which() == nWhich ) ) in SetAttribs()
611 pAttr->SetEdge( sal_True ); in SetAttribs()
717 EditCharAttribPtr pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in RemoveCharAttribs() local
718 while ( pAttr ) in RemoveCharAttribs()
720 if ( ( !pAttr->IsFeature() || bRemoveFeatures ) && in RemoveCharAttribs()
721 ( !nWhich || ( pAttr->GetItem()->Which() == nWhich ) ) ) in RemoveCharAttribs()
724 delete pAttr; in RemoveCharAttribs()
728 pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in RemoveCharAttribs()
805 EditCharAttribPtr pAttr = pNode->GetCharAttribs().GetAttribs()[ nAttr ]; in GetCharAttribs() local
807 aEEAttr.pAttr = pAttr->GetItem(); in GetCharAttribs()
809 aEEAttr.nStart = pAttr->GetStart(); in GetCharAttribs()
810 aEEAttr.nEnd = pAttr->GetEnd(); in GetCharAttribs()
827 EditCharAttrib* pAttr = pNode->GetCharAttribs().FindNextAttrib( nWhich, nLastEnd ); in ParaAttribsToCharAttribs() local
828 while ( pAttr ) in ParaAttribsToCharAttribs()
830 nLastEnd = pAttr->GetEnd(); in ParaAttribsToCharAttribs()
831 if ( pAttr->GetStart() > nLastEnd ) in ParaAttribsToCharAttribs()
832 aEditDoc.InsertAttrib( pNode, nLastEnd, pAttr->GetStart(), rItem ); in ParaAttribsToCharAttribs()
834 pAttr = nLastEnd ? pNode->GetCharAttribs().FindNextAttrib( nWhich, nLastEnd ) : NULL; in ParaAttribsToCharAttribs()