Lines Matching refs:pEntry
532 const Size& SvLBoxItem::GetSize( SvLBox* pView,SvLBoxEntry* pEntry ) in GetSize() argument
535 SvViewDataItem* pViewData = pView->GetViewDataItem( pEntry, this ); in GetSize()
539 const Size& SvLBoxItem::GetSize( SvLBoxEntry* pEntry, SvViewDataEntry* pViewData) in GetSize() argument
542 sal_uInt16 nItemPos = pEntry->GetPos( this ); in GetSize()
765 SvLBoxEntry* pEntry = First(); in SetModel() local
766 while( pEntry ) in SetModel()
768 ModelHasInserted( pEntry ); in SetModel()
769 pEntry = Next( pEntry ); in SetModel()
807 IMPL_LINK_INLINE_START( SvLBox, CloneHdl_Impl, SvListEntry*, pEntry ) in IMPL_LINK_INLINE_START() argument
810 return (long)(CloneEntry((SvLBoxEntry*)pEntry)); in IMPL_LINK_INLINE_START()
812 IMPL_LINK_INLINE_END( SvLBox, CloneHdl_Impl, SvListEntry*, pEntry ) in IMPL_LINK_INLINE_END() argument
814 sal_uLong SvLBox::Insert( SvLBoxEntry* pEntry, SvLBoxEntry* pParent, sal_uLong nPos ) in IMPL_LINK_INLINE_END()
817 sal_uLong nInsPos = pModel->Insert( pEntry, pParent, nPos ); in IMPL_LINK_INLINE_END()
821 sal_uLong SvLBox::Insert( SvLBoxEntry* pEntry,sal_uLong nRootPos ) in Insert() argument
824 sal_uLong nInsPos = pModel->Insert( pEntry, nRootPos ); in Insert()
921 SvLBoxEntry* pEntry, // Zu verschiebender Entry aus in NotifyMoving() argument
935 DBG_ASSERT(pEntry,"NotifyMoving:SoureEntry?"); in NotifyMoving()
964 SvLBoxEntry* pEntry, // Zu kopierender Entry aus in NotifyCopying() argument
970 return NotifyMoving(pTarget,pEntry,rpNewParent,rNewChildPos); in NotifyCopying()
1001 SvLBoxEntry* pEntry = (SvLBoxEntry*)CreateEntry(); // new SvLBoxEntry; in CloneEntry() local
1002 pEntry->Clone( (SvListEntry*)pSource ); in CloneEntry()
1003 return pEntry; in CloneEntry()
1142 SvLBoxEntry* pEntry = FirstSelected(); in RemoveSelection() local
1143 while ( pEntry ) in RemoveSelection()
1145 aList.Insert( pEntry ); in RemoveSelection()
1146 if ( pEntry->HasChilds() ) in RemoveSelection()
1148 SelectChilds( pEntry, sal_False ); in RemoveSelection()
1149 pEntry = NextSelected( pEntry ); in RemoveSelection()
1151 pEntry = (SvLBoxEntry*)aList.First(); in RemoveSelection()
1152 while ( pEntry ) in RemoveSelection()
1154 pModel->Remove( pEntry ); in RemoveSelection()
1155 pEntry = (SvLBoxEntry*)aList.Next(); in RemoveSelection()
1178 SvLBoxEntry* pEntry = First(); in RecalcViewData() local
1179 while( pEntry ) in RecalcViewData()
1181 sal_uInt16 nCount = pEntry->ItemCount(); in RecalcViewData()
1185 SvLBoxItem* pItem = pEntry->GetItem( nCurPos ); in RecalcViewData()
1186 pItem->InitViewData( this, pEntry ); in RecalcViewData()
1189 ViewDataInitialized( pEntry ); in RecalcViewData()
1190 pEntry = Next( pEntry ); in RecalcViewData()
1206 void SvLBox::ImplShowTargetEmphasis( SvLBoxEntry* pEntry, sal_Bool bShow) in ImplShowTargetEmphasis() argument
1213 ShowTargetEmphasis( pEntry, bShow ); in ImplShowTargetEmphasis()
1265 SvLBoxEntry* pEntry = NULL; in GetEntryFromPath() local
1269 pEntry = GetEntry( pParent, *pItem ); in GetEntryFromPath()
1270 if ( !pEntry ) in GetEntryFromPath()
1272 pParent = pEntry; in GetEntryFromPath()
1275 return pEntry; in GetEntryFromPath()
1278 void SvLBox::FillEntryPath( SvLBoxEntry* pEntry, ::std::deque< sal_Int32 >& _rPath ) const in FillEntryPath() argument
1282 if ( pEntry ) in FillEntryPath()
1284 SvLBoxEntry* pParentEntry = GetParent( pEntry ); in FillEntryPath()
1291 DBG_ASSERT( pEntry, "invalid entry" ); in FillEntryPath()
1292 if ( pEntry == pTemp ) in FillEntryPath()
1301 pEntry = pParentEntry; in FillEntryPath()
1322 SvLBoxEntry* pEntry = FirstChild( _pParent ); in GetLevelChildCount() local
1323 while ( pEntry ) in GetLevelChildCount()
1326 pEntry = NextSibling( pEntry ); in GetLevelChildCount()
1351 void SvLBox::InitViewData( SvViewData* pData, SvListEntry* pEntry ) in InitViewData() argument
1354 SvLBoxEntry* pInhEntry = (SvLBoxEntry*)pEntry; in InitViewData()
1542 SvLBoxEntry* pEntry = GetCurEntry(); in FirstSearchEntry() local
1543 if ( pEntry ) in FirstSearchEntry()
1544 …pEntry = const_cast< SvLBoxEntry* >( static_cast< const SvLBoxEntry* >( NextSearchEntry( pEntry, _… in FirstSearchEntry()
1547 pEntry = FirstSelected(); in FirstSearchEntry()
1548 if ( !pEntry ) in FirstSearchEntry()
1549 pEntry = First(); in FirstSearchEntry()
1552 if ( pEntry ) in FirstSearchEntry()
1553 _rEntryText = GetEntryText( pEntry ); in FirstSearchEntry()
1555 return pEntry; in FirstSearchEntry()
1560 …SvLBoxEntry* pEntry = const_cast< SvLBoxEntry* >( static_cast< const SvLBoxEntry* >( _pCurrentSear… in NextSearchEntry() local
1562 if ( ( ( GetChildCount( pEntry ) > 0 ) in NextSearchEntry()
1563 || ( pEntry->HasChildsOnDemand() ) in NextSearchEntry()
1565 && !IsExpanded( pEntry ) in NextSearchEntry()
1568 pEntry = NextSibling( pEntry ); in NextSearchEntry()
1572 pEntry = Next( pEntry ); in NextSearchEntry()
1575 if ( !pEntry ) in NextSearchEntry()
1576 pEntry = First(); in NextSearchEntry()
1578 if ( pEntry ) in NextSearchEntry()
1579 _rEntryText = GetEntryText( pEntry ); in NextSearchEntry()
1581 return pEntry; in NextSearchEntry()
1586 … SvLBoxEntry* pEntry = const_cast< SvLBoxEntry* >( static_cast< const SvLBoxEntry* >( _pEntry ) ); in SelectSearchEntry() local
1587 DBG_ASSERT( pEntry, "SvLBox::SelectSearchEntry: invalid entry!" ); in SelectSearchEntry()
1588 if ( !pEntry ) in SelectSearchEntry()
1592 SetCurEntry( pEntry ); in SelectSearchEntry()
1593 Select( pEntry ); in SelectSearchEntry()
1648 void SvLBox::ModelHasEntryInvalidated( SvListEntry* pEntry ) in ModelHasEntryInvalidated() argument
1651 sal_uInt16 nCount = ((SvLBoxEntry*)pEntry)->ItemCount(); in ModelHasEntryInvalidated()
1654 SvLBoxItem* pItem = ((SvLBoxEntry*)pEntry)->GetItem( nIdx ); in ModelHasEntryInvalidated()
1655 pItem->InitViewData( this, (SvLBoxEntry*)pEntry, 0 ); in ModelHasEntryInvalidated()
1659 void SvLBox::SetInUseEmphasis( SvLBoxEntry* pEntry, sal_Bool bInUse ) in SetInUseEmphasis() argument
1662 DBG_ASSERT(pEntry,"SetInUseEmphasis:No Entry"); in SetInUseEmphasis()
1665 if( !pEntry->HasInUseEmphasis() ) in SetInUseEmphasis()
1667 pEntry->nEntryFlags |= SV_ENTRYFLAG_IN_USE; in SetInUseEmphasis()
1668 pModel->InvalidateEntry( pEntry ); in SetInUseEmphasis()
1673 if( pEntry->HasInUseEmphasis() ) in SetInUseEmphasis()
1675 pEntry->nEntryFlags &= (~SV_ENTRYFLAG_IN_USE); in SetInUseEmphasis()
1676 pModel->InvalidateEntry( pEntry ); in SetInUseEmphasis()
1681 void SvLBox::SetCursorEmphasis( SvLBoxEntry* pEntry, sal_Bool bCursored ) in SetCursorEmphasis() argument
1684 DBG_ASSERT(pEntry,"SetInUseEmphasis:No Entry"); in SetCursorEmphasis()
1685 SvViewDataEntry* pViewData = GetViewDataEntry( pEntry ); in SetCursorEmphasis()
1692 ModelHasEntryInvalidated( pEntry ); in SetCursorEmphasis()
1696 sal_Bool SvLBox::HasCursorEmphasis( SvLBoxEntry* pEntry ) const in HasCursorEmphasis()
1699 DBG_ASSERT(pEntry,"SetInUseEmphasis:No Entry"); in HasCursorEmphasis()
1700 SvViewDataEntry* pViewData = GetViewDataEntry( pEntry ); in HasCursorEmphasis()
1739 SvLBoxEntry* pEntry = GetDropTarget( rEvt.maPosPixel ); in AcceptDrop() local
1747 if( !( pEntry && pDDSource->GetModel() == this->GetModel() in AcceptDrop()
1749 && ( pEntry->nEntryFlags & SV_ENTRYFLAG_DISABLE_DROP ) )) in AcceptDrop()
1751 if( NotifyAcceptDrop( pEntry )) in AcceptDrop()
1759 else if( pEntry != pTargetEntry || !(nImpFlags & SVLBOX_TARGEMPH_VIS) ) in AcceptDrop()
1762 pTargetEntry = pEntry; in AcceptDrop()
1841 SvLBoxEntry* pEntry = GetEntry( rPosPixel ); // GetDropTarget( rPos ); in StartDrag() local
1842 if( !pEntry ) in StartDrag()
1852 nDragDropMode = NotifyStartDrag( *pContainer, pEntry ); in StartDrag()
1864 aDDInfo.pDDStartEntry = pEntry; in StartDrag()