Lines Matching refs:pAtom

142 	void compare( Atom* pAtom );
146 void setCompareAtom( Atom* pAtom ) { mpCompareAtom = pAtom; } in setCompareAtom() argument
152 static Atom* skipAtoms( Atom* pContainer, Atom* pAtom, Atom* pSkipTo );
300 Atom* pAtom = new Atom( aChildHeader, mrStream ); in Atom() local
303 pLastAtom->mpNextAtom = pAtom; in Atom()
305 mpFirstChild = pAtom; in Atom()
307 pLastAtom = pAtom; in Atom()
402 Atom* Atom::skipAtoms( Atom* pContainer, Atom* pAtom, Atom* pSkipTo ) in skipAtoms() argument
404 while( pAtom && (pAtom != pSkipTo) ) in skipAtoms()
406 pAtom->meStatus = CMP_NOTAVAILABLE; in skipAtoms()
407 pAtom = const_cast< Atom* >( pContainer->findNextChildAtom( pAtom ) ); in skipAtoms()
410 return pAtom; in skipAtoms()
413 void Atom::compare( Atom* pAtom ) in compare() argument
415 if( pAtom ) in compare()
419 mpCompareAtom = pAtom; in compare()
420 pAtom->mpCompareAtom = this; in compare()
422 mpCompareAtom = pAtom; in compare()
423 pAtom->mpCompareAtom = this; in compare()
425 meStatus = pAtom->meStatus = ( *this == *pAtom ) ? CMP_EQUAL : CMP_NOTEQUAL; in compare()
437 Atom* pChildAtom2 = const_cast< Atom* >( pAtom->findFirstChildAtom() ); in compare()
445 …Atom* pFind1 = findFirstEqualAtom( pChildAtom1, pAtom, const_cast< Atom* >( pAtom->findNextChildAt… in compare()
450 pChildAtom2 = skipAtoms( pAtom, pChildAtom2, pFind1 ); in compare()
459 pChildAtom2 = skipAtoms( pAtom, pChildAtom2, 0 ); in compare()
473 pChildAtom2 = const_cast< Atom* >( pAtom->findNextChildAtom( pChildAtom2 ) ); in compare()
480 if( !compareContent( *pAtom ) ) in compare()
482 meStatus = pAtom->meStatus = CMP_NOTEQUAL; in compare()
508 Atom* pAtom = static_cast<Atom*>( pEntry->GetUserData() ); in Paint() local
509 rOutDev.SetTextColor( Color( gColors[ pAtom->getCompareStatus() ] ) ); in Paint()
568 void SetRootAtom( const Atom* pAtom );
580 SvLBoxEntry* findAtom( Atom* pAtom );
586 void InsertAtom( const Atom* pAtom, SvLBoxEntry* pParent = 0 );
645 SvLBoxEntry* AtomContainerTreeListBox::findAtom( Atom* pAtom ) in findAtom() argument
650 if( pEntry->GetUserData() == pAtom ) in findAtom()
689 void AtomContainerTreeListBox::SetRootAtom( const Atom* pAtom ) in SetRootAtom() argument
691 mpRootAtom = pAtom; in SetRootAtom()
695 void AtomContainerTreeListBox::InsertAtom( const Atom* pAtom, SvLBoxEntry* pParent /* = 0 */ ) in InsertAtom() argument
697 if( pAtom ) in InsertAtom()
699 const DffRecordHeader& rHeader = pAtom->getHeader(); in InsertAtom()
719 if( pAtom->isContainer() && pAtom->findFirstChildAtom() ) in InsertAtom()
724 const Atom* pChildAtom = pAtom->findFirstChildAtom(); in InsertAtom()
729 pChildAtom = pAtom->findNextChildAtom( pChildAtom ); in InsertAtom()
739 pEntry->SetUserData( (void*)pAtom ); in InsertAtom()
741 if( pAtom->isContainer() ) in InsertAtom()
965 static String GetAtomText( const Atom* pAtom ) in GetAtomText() argument
968 if( pAtom ) in GetAtomText()
970 const DffRecordHeader& rHeader = pAtom->getHeader(); in GetAtomText()
978 if( pAtom->isContainer() ) in GetAtomText()
984 pAtom->seekToContent(); in GetAtomText()
985 AtomConfig* pAtomConfig = dynamic_cast< AtomConfig* >( gAtomConfigMap[pAtom->getType()].get() ); in GetAtomText()
988 sal_Size nLength = pAtom->getLength(); in GetAtomText()
989 aText += String( pAtomConfig->format( pAtom->getStream(), nLength ) ); in GetAtomText()
993 sal_Size nLength = pAtom->getLength(); in GetAtomText()
994 aText += String( ElementConfig::dump_hex( pAtom->getStream(), nLength ) ); in GetAtomText()
1008 Atom* pAtom = static_cast<Atom*>( pEntry->GetUserData() ); in IMPL_LINK() local
1009 mpEdit[nPane]->SetText( GetAtomText( pAtom ) ); in IMPL_LINK()
1029 Atom* pAtom = static_cast<Atom*>(pPair->second->GetUserData()); in Sync() local
1030 if( pAtom && pAtom->getCompareAtom() ) in Sync()
1032 SvLBoxEntry* pEntry = pDestinationListBox->findAtom( pAtom->getCompareAtom() ); in Sync()
1058 Atom* pAtom = static_cast<Atom*>( pEntry->GetUserData() ); in IMPL_LINK() local
1059 pAtom->compare( pAtom->getCompareAtom() ); in IMPL_LINK()