Lines Matching refs:pEntry

85 	SvLBoxEntry* pEntry = new SvLBoxEntry;  in CreateEntry()  local
88 new SvLBoxContextBmp( pEntry,0, rCollEntryBmp,rExpEntryBmp, 0xffff ); in CreateEntry()
89 pEntry->AddItem( pContextBmp ); in CreateEntry()
91 SvLBoxString* pString = new SvLBoxString( pEntry, 0, rStr ); in CreateEntry()
92 pEntry->AddItem( pString ); in CreateEntry()
94 return pEntry; in CreateEntry()
107 SvLBoxEntry* pEntry = CreateEntry( in InsertEntry() local
109 pEntry->EnableChildsOnDemand( bChildsOnDemand ); in InsertEntry()
112 SvLBox::Insert( pEntry, nPos ); in InsertEntry()
114 SvLBox::Insert( pEntry, pParent, nPos ); in InsertEntry()
115 return pEntry; in InsertEntry()
123 SvLBoxEntry* pEntry = CreateEntry( in InsertEntry() local
126 pEntry->EnableChildsOnDemand( bChildsOnDemand ); in InsertEntry()
128 SvLBox::Insert( pEntry, nPos ); in InsertEntry()
130 SvLBox::Insert( pEntry, pParent, nPos ); in InsertEntry()
131 return pEntry; in InsertEntry()
135 void SvIconView::SetEntryText(SvLBoxEntry* pEntry, const XubString& rStr) in SetEntryText() argument
137 SvLBoxString* pItem = (SvLBoxString*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING)); in SetEntryText()
140 pItem->SetText( pEntry, rStr ); in SetEntryText()
141 GetModel()->InvalidateEntry( pEntry ); in SetEntryText()
145 void SvIconView::SetExpandedEntryBmp(SvLBoxEntry* pEntry, const Image& rBmp) in SetExpandedEntryBmp() argument
147 SvLBoxContextBmp* pItem = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)); in SetExpandedEntryBmp()
151 GetModel()->InvalidateEntry( pEntry ); in SetExpandedEntryBmp()
155 void SvIconView::SetCollapsedEntryBmp(SvLBoxEntry* pEntry, in SetCollapsedEntryBmp() argument
158 SvLBoxContextBmp* pItem = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)); in SetCollapsedEntryBmp()
162 GetModel()->InvalidateEntry( pEntry ); in SetCollapsedEntryBmp()
166 XubString SvIconView::GetEntryText(SvLBoxEntry* pEntry ) const in GetEntryText()
169 SvLBoxString* pItem = (SvLBoxString*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING)); in GetEntryText()
175 Image SvIconView::GetExpandedEntryBmp(SvLBoxEntry* pEntry) const in GetExpandedEntryBmp()
178 SvLBoxContextBmp* pItem = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)); in GetExpandedEntryBmp()
184 Image SvIconView::GetCollapsedEntryBmp(SvLBoxEntry* pEntry) const in GetCollapsedEntryBmp()
187 SvLBoxContextBmp* pItem = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)); in GetCollapsedEntryBmp()
209 SvLBoxEntry* pEntry = CreateEntry( aStr, aCollEntryBmp, aExpEntryBmp ); in CloneEntry() local
210 pEntry->SvListEntry::Clone( pSource ); in CloneEntry()
211 pEntry->EnableChildsOnDemand( pSource->HasChildsOnDemand() ); in CloneEntry()
212 pEntry->SetUserData( pSource->GetUserData() ); in CloneEntry()
213 return pEntry; in CloneEntry()
306 void __EXPORT SvIconView::ModelHasInserted( SvListEntry* pEntry ) in ModelHasInserted() argument
309 pImp->EntryInserted( (SvLBoxEntry*)pEntry ); in ModelHasInserted()
312 void __EXPORT SvIconView::ModelHasInsertedTree( SvListEntry* pEntry ) in ModelHasInsertedTree() argument
314 pImp->TreeInserted( (SvLBoxEntry*)pEntry ); in ModelHasInsertedTree()
328 void __EXPORT SvIconView::ModelIsRemoving( SvListEntry* pEntry ) in ModelIsRemoving() argument
330 pImp->RemovingEntry( (SvLBoxEntry*)pEntry ); in ModelIsRemoving()
331 NotifyRemoving( (SvLBoxEntry*)pEntry ); in ModelIsRemoving()
339 void __EXPORT SvIconView::ModelHasEntryInvalidated( SvListEntry* pEntry ) in ModelHasEntryInvalidated() argument
342 SvLBox::ModelHasEntryInvalidated( pEntry ); in ModelHasEntryInvalidated()
344 pImp->ModelHasEntryInvalidated( pEntry ); in ModelHasEntryInvalidated()
347 void SvIconView::ShowTargetEmphasis( SvLBoxEntry* pEntry, sal_Bool bShow ) in ShowTargetEmphasis() argument
349 pImp->ShowTargetEmphasis( pEntry, bShow ); in ShowTargetEmphasis()
352 Point SvIconView::GetEntryPosition( SvLBoxEntry* pEntry ) const in GetEntryPosition()
354 return ((SvIconView*)this)->pImp->GetEntryPosition( pEntry ); in GetEntryPosition()
357 void SvIconView::SetEntryPosition( SvLBoxEntry* pEntry, const Point& rPos) in SetEntryPosition() argument
359 pImp->SetEntryPosition( pEntry, rPos, sal_False, sal_True ); in SetEntryPosition()
362 void SvIconView::SetEntryPosition( SvLBoxEntry* pEntry, const Point& rPos, sal_Bool bAdjustAtGrid ) in SetEntryPosition() argument
364 pImp->SetEntryPosition( pEntry, rPos, bAdjustAtGrid ); in SetEntryPosition()
376 void SvIconView::ViewDataInitialized( SvLBoxEntry* pEntry ) in ViewDataInitialized() argument
378 pImp->ViewDataInitialized( pEntry ); in ViewDataInitialized()
406 void SvIconView::PaintEntry( SvLBoxEntry* pEntry ) in PaintEntry() argument
408 pImp->PaintEntry( pEntry ); in PaintEntry()
412 void SvIconView::PaintEntry( SvLBoxEntry* pEntry, const Point& rPos ) in PaintEntry() argument
414 pImp->PaintEntry( pEntry, rPos ); in PaintEntry()
417 Rectangle SvIconView::GetFocusRect( SvLBoxEntry* pEntry ) in GetFocusRect() argument
419 return pImp->CalcFocusRect( pEntry ); in GetFocusRect()
422 void SvIconView::InvalidateEntry( SvLBoxEntry* pEntry ) in InvalidateEntry() argument
424 pImp->InvalidateEntry( pEntry ); in InvalidateEntry()
439 sal_Bool SvIconView::Select( SvLBoxEntry* pEntry, sal_Bool bSelect ) in Select() argument
442 sal_Bool bRetVal = SvListView::Select( pEntry, bSelect ); in Select()
445 pImp->EntrySelected( pEntry, bSelect ); in Select()
446 pHdlEntry = pEntry; in Select()
454 SvLBoxEntry* pEntry = pImp->GetCurParent(); in SelectAll() local
455 pEntry = FirstChild( pEntry ); in SelectAll()
456 while( pEntry ) in SelectAll()
458 Select( pEntry, bSelect ); in SelectAll()
459 pEntry = NextSibling( pEntry ); in SelectAll()
497 sal_Bool SvIconView::NotifyMoving( SvLBoxEntry* pTarget, SvLBoxEntry* pEntry, in NotifyMoving() argument
500 return pImp->NotifyMoving(pTarget,pEntry,rpNewParent,rNewChildPos); in NotifyMoving()
503 sal_Bool SvIconView::NotifyCopying( SvLBoxEntry* pTarget, SvLBoxEntry* pEntry, in NotifyCopying() argument
506 return pImp->NotifyCopying(pTarget,pEntry,rpNewParent,rNewChildPos); in NotifyCopying()
515 void SvIconView::EditingRequest( SvLBoxEntry* pEntry, SvLBoxItem* pItem, in EditingRequest() argument
521 if ( EditingEntry( pEntry, aSel ) ) in EditingRequest()
524 EditItemText( pEntry, (SvLBoxString*)pItem, aSel ); in EditingRequest()
530 void SvIconView::EditItemText( SvLBoxEntry* pEntry, SvLBoxItem* pItem, in EditItemText() argument
533 DBG_ASSERT(pEntry&&pItem,"EditItemText:Params?"); in EditItemText()
534 pCurEdEntry = pEntry; in EditItemText()
536 Rectangle aRect( pImp->CalcTextRect( pEntry, (SvLBoxString*)pItem,0,sal_True )); in EditItemText()
566 void SvIconView::EditEntry( SvLBoxEntry* pEntry ) in EditEntry() argument
568 if( !pEntry ) in EditEntry()
569 pEntry = pImp->GetCurEntry(); in EditEntry()
570 if( pEntry ) in EditEntry()
572 SvLBoxString* pItem = (SvLBoxString*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING)); in EditEntry()
576 if( EditingEntry( pEntry, aSel ) ) in EditEntry()
579 EditItemText( pEntry, pItem, aSel ); in EditEntry()
642 void SvIconView::InitViewData( SvViewData* pData, SvListEntry* pEntry ) in InitViewData() argument
644 SvLBox::InitViewData( pData, pEntry ); in InitViewData()
651 SvLBoxEntry* pEntry = GetCurEntry(); in GetDragRegion() local
652 if( pEntry ) in GetDragRegion()
653 aRect = pImp->GetBoundingRect( pEntry ); in GetDragRegion()
704 SvLBoxEntry* pEntry = GetEntry( rPos, sal_True ); in StartDrag() local
705 pImp->mpViewData = pEntry; in StartDrag()
767 void SvIconView::MakeVisible( SvLBoxEntry* pEntry ) in MakeVisible() argument
769 pImp->MakeVisible( pEntry ); in MakeVisible()
776 void SvIconView::AdjustAtGrid( SvLBoxEntry* pEntry ) in AdjustAtGrid() argument
778 pImp->AdjustAtGrid( pEntry ); in AdjustAtGrid()
781 void SvIconView::LockEntryPos( SvLBoxEntry* pEntry, sal_Bool bLock ) in LockEntryPos() argument
783 SvIcnVwDataEntry* pViewData = (SvIcnVwDataEntry*)GetViewData( pEntry ); in LockEntryPos()
790 sal_Bool SvIconView::IsEntryPosLocked( const SvLBoxEntry* pEntry ) const in IsEntryPosLocked()
792 const SvIcnVwDataEntry* pViewData = (const SvIcnVwDataEntry*)GetViewData( (SvListEntry*)pEntry ); in IsEntryPosLocked()
796 void SvIconView::SetTextMode( SvIconViewTextMode eMode, SvLBoxEntry* pEntry ) in SetTextMode() argument
798 pImp->SetTextMode( eMode, pEntry ); in SetTextMode()
801 SvIconViewTextMode SvIconView::GetTextMode( const SvLBoxEntry* pEntry ) const in GetTextMode()
803 return pImp->GetTextMode( pEntry ); in GetTextMode()
820 void SvIconView::ShowFocusRect( const SvLBoxEntry* pEntry ) in ShowFocusRect() argument
822 pImp->ShowFocusRect( pEntry ); in ShowFocusRect()