Lines Matching refs:pViewData
831 const SvIcnVwDataEntry* pViewData ) in CheckSizes() argument
835 if( !pViewData ) in CheckSizes()
836 pViewData = ICNVIEWDATA(pEntry); in CheckSizes()
841 aSize = GetItemSize( pView, pEntry, pStringItem, pViewData ); in CheckSizes()
852 aSize = GetItemSize( pView, pEntry, pBmpItem, pViewData ); in CheckSizes()
881 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in EntryInserted() local
882 CheckSizes( pEntry, pViewData ); in EntryInserted()
885 FindBoundingRect( pEntry, pViewData ); in EntryInserted()
886 PaintEntry( pEntry, pViewData ); in EntryInserted()
889 InvalidateBoundingRect( pViewData->aRect ); in EntryInserted()
899 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in RemovingEntry() local
900 if( IsBoundingRectValid( pViewData->aRect ) ) in RemovingEntry()
905 pView->Invalidate( pViewData->aRect ); in RemovingEntry()
943 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in MovingEntry() local
944 if( IsBoundingRectValid( pViewData->aRect ) ) in MovingEntry()
945 pView->Invalidate( pViewData->aRect ); in MovingEntry()
958 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in EntryMoved() local
973 FindBoundingRect( pEntry, pViewData ); in EntryMoved()
975 PaintEntry( pEntry, pViewData ); in EntryMoved()
990 InvalidateBoundingRect( pViewData->aRect ); in EntryMoved()
1135 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pCur); in ResetVirtSize() local
1136 if( pViewData->IsEntryPosLocked() ) in ResetVirtSize()
1139 if( !IsBoundingRectValid( pViewData->aRect ) ) in ResetVirtSize()
1140 FindBoundingRect( pCur, pViewData ); in ResetVirtSize()
1142 AdjustVirtSize( pViewData->aRect ); in ResetVirtSize()
1146 InvalidateBoundingRect( pViewData->aRect ); in ResetVirtSize()
1259 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in Paint() local
1260 const Rectangle& rBoundRect = GetBoundingRect( pEntry, pViewData ); in Paint()
1263 PaintEntry( pEntry, rBoundRect.TopLeft(), pViewData ); in Paint()
2005 void SvImpIconView::PaintEntry( SvLBoxEntry* pEntry, SvIcnVwDataEntry* pViewData ) in PaintEntry() argument
2008 PaintEntry( pEntry, aPos, pViewData ); in PaintEntry()
2071 SvIcnVwDataEntry* pViewData, OutputDevice* pOut ) in PaintEntry() argument
2083 if( !pViewData ) in PaintEntry()
2084 pViewData = ICNVIEWDATA(pEntry); in PaintEntry()
2088 sal_Bool bSelected = pViewData->IsSelected(); in PaintEntry()
2089 sal_Bool bCursored = pViewData->IsCursored(); in PaintEntry()
2101 Rectangle aTextRect( CalcTextRect(pEntry,pStringItem,&rPos,sal_False,pViewData)); in PaintEntry()
2102 Rectangle aBmpRect( CalcBmpRect(pEntry, &rPos, pViewData ) ); in PaintEntry()
2137 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in SetEntryPosition() local
2138 Rectangle aBoundRect( GetBoundingRect( pEntry, pViewData )); in SetEntryPosition()
2143 Point aGridOffs = pViewData->aGridRect.TopLeft() - in SetEntryPosition()
2144 pViewData->aRect.TopLeft(); in SetEntryPosition()
2148 pViewData->aRect = aBoundRect; in SetEntryPosition()
2149 pViewData->aGridRect.SetPos( rPos + aGridOffs ); in SetEntryPosition()
2161 PaintEntry( pEntry, pViewData ); in SetEntryPosition()
2174 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in ModelHasEntryInvalidated() local
2175 pView->Invalidate( pViewData->aRect ); in ModelHasEntryInvalidated()
2178 Center( (SvLBoxEntry*)pEntry, pViewData ); in ModelHasEntryInvalidated()
2180 pViewData->aRect.SetSize( CalcBoundingSize( in ModelHasEntryInvalidated()
2181 (SvLBoxEntry*)pEntry, pViewData ) ); in ModelHasEntryInvalidated()
2184 pView->Invalidate( pViewData->aRect ); in ModelHasEntryInvalidated()
2233 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in GetEntry() local
2234 if( pViewData->aRect.IsInside( rDocPos ) ) in GetEntry()
2254 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in GetNextEntry() local
2255 if( pViewData->aRect.IsInside( rDocPos ) ) in GetNextEntry()
2276 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in GetPrevEntry() local
2277 if( pViewData->aRect.IsInside( rDocPos ) ) in GetPrevEntry()
2290 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in GetEntryPosition() local
2291 DBG_ASSERT(pViewData,"Entry not in model"); in GetEntryPosition()
2292 return pViewData->aRect.TopLeft(); in GetEntryPosition()
2295 const Rectangle& SvImpIconView::GetBoundingRect( SvLBoxEntry* pEntry, SvIcnVwDataEntry* pViewData ) in GetBoundingRect() argument
2297 if( !pViewData ) in GetBoundingRect()
2298 pViewData = ICNVIEWDATA(pEntry); in GetBoundingRect()
2299 DBG_ASSERT(pViewData,"Entry not in model"); in GetBoundingRect()
2300 if( !IsBoundingRectValid( pViewData->aRect )) in GetBoundingRect()
2301 FindBoundingRect( pEntry, pViewData ); in GetBoundingRect()
2302 return pViewData->aRect; in GetBoundingRect()
2312 SvIcnVwDataEntry* pViewData ) in CalcBmpRect() argument
2314 if( !pViewData ) in CalcBmpRect()
2315 pViewData = ICNVIEWDATA(pEntry); in CalcBmpRect()
2317 Rectangle aBound = GetBoundingRect( pEntry, pViewData ); in CalcBmpRect()
2350 SvIcnVwDataEntry* pViewData ) in CalcTextRect() argument
2357 if( !pViewData ) in CalcTextRect()
2358 pViewData = ICNVIEWDATA(pEntry); in CalcTextRect()
2360 Size aTextSize( GetItemSize( pView, pEntry, pItem, pViewData )); in CalcTextRect()
2364 Rectangle aBound = GetBoundingRect( pEntry, pViewData ); in CalcTextRect()
2390 Rectangle aMaxGridTextRect = CalcMaxTextRect(pEntry, pViewData); in CalcTextRect()
2418 const SvIcnVwDataEntry* pViewData ) const in CalcBoundingWidth()
2422 …Width = GetItemSize( pView, pEntry, pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING),pViewData).Width(); in CalcBoundingWidth()
2448 const SvIcnVwDataEntry* pViewData ) const in CalcBoundingHeight()
2452 …gHeight = GetItemSize(pView,pEntry,pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING),pViewData).Height(); in CalcBoundingHeight()
2483 SvIcnVwDataEntry* pViewData ) const in CalcBoundingSize()
2485 if( !pViewData ) in CalcBoundingSize()
2486 pViewData = ICNVIEWDATA(pEntry); in CalcBoundingSize()
2487 return Size( CalcBoundingWidth(pEntry,pViewData), in CalcBoundingSize()
2488 CalcBoundingHeight(pEntry,pViewData) ); in CalcBoundingSize()
2513 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in RecalcAllBoundingRectsSmart() local
2514 if( IsBoundingRectValid( pViewData->aRect )) in RecalcAllBoundingRectsSmart()
2516 Size aBoundSize( pViewData->aRect.GetSize() ); in RecalcAllBoundingRectsSmart()
2523 FindBoundingRect( pEntry, pViewData ); in RecalcAllBoundingRectsSmart()
2542 SvIcnVwDataEntry* pViewData ) in FindBoundingRect() argument
2544 if( !pViewData ) in FindBoundingRect()
2545 pViewData = ICNVIEWDATA(pEntry); in FindBoundingRect()
2547 Size aSize( CalcBoundingSize( pEntry, pViewData ) ); in FindBoundingRect()
2550 DBG_ASSERT(!pViewData->IsEntryPosLocked(),"Locked entry pos in FindBoundingRect"); in FindBoundingRect()
2552 if( pViewData->IsEntryPosLocked() && IsBoundingRectValid(pViewData->aRect) ) in FindBoundingRect()
2554 AdjustVirtSize( pViewData->aRect ); in FindBoundingRect()
2563 pViewData->aGridRect = aGridRect; in FindBoundingRect()
2564 Center( pEntry, pViewData ); in FindBoundingRect()
2565 AdjustVirtSize( pViewData->aRect ); in FindBoundingRect()
2566 pImpCursor->SetGridUsed( pViewData->aRect ); in FindBoundingRect()
2570 pViewData->aRect = Rectangle( aPos, aSize ); in FindBoundingRect()
2571 AdjustVirtSize( pViewData->aRect ); in FindBoundingRect()
2800 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in NotifyMoving() local
2801 Size aSize( pViewData->aRect.GetSize() ); in NotifyMoving()
2839 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in InvalidateBoundingRect() local
2840 InvalidateBoundingRect( pViewData->aRect ); in InvalidateBoundingRect()
3103 SvIcnVwDataEntry* pViewData = ICNVIEWDATA2(pEntry); in ImplCreate() local
3105 Rectangle rRect( pView->CalcBmpRect( pEntry,0,pViewData ) ); in ImplCreate()
3121 pViewData->nX = nX; in ImplCreate()
3122 pViewData->nY = nY; in ImplCreate()
3169 SvIcnVwDataEntry* pViewData = ICNVIEWDATA2(pEntry); in CreateGridMap() local
3170 const Rectangle& rRect = pViewData->aRect; in CreateGridMap()
3175 SetGridUsed( pView->GetBoundingRect( pEntry, pViewData ) ); in CreateGridMap()
3300 SvIcnVwDataEntry* pViewData = ICNVIEWDATA2(pEntry); in SearchCol() local
3301 sal_uInt16 nY = pViewData->nY; in SearchCol()
3376 SvIcnVwDataEntry* pViewData = ICNVIEWDATA2(pEntry); in SearchRow() local
3377 sal_uInt16 nX = pViewData->nX; in SearchRow()
3419 SvIcnVwDataEntry* pViewData = ICNVIEWDATA2(pIcnEntry); in GoLeftRight() local
3420 sal_uInt16 nY = pViewData->nY; in GoLeftRight()
3421 sal_uInt16 nX = pViewData->nX; in GoLeftRight()
3468 SvIcnVwDataEntry* pViewData = ICNVIEWDATA2(pIcnEntry); in GoUpDown() local
3469 sal_uInt16 nY = pViewData->nY; in GoUpDown()
3470 sal_uInt16 nX = pViewData->nX; in GoUpDown()
3670 const SvIcnVwDataEntry* pViewData ) const in CalcMaxTextRect()
3672 Rectangle aRect = pViewData->aGridRect; in CalcMaxTextRect()
3684 if( GetTextMode( pEntry, pViewData ) == ShowTextFull ) in CalcMaxTextRect()
3690 SvIcnVwDataEntry* pViewData ) const in Center()
3695 Rectangle aTextRect = CalcMaxTextRect(pEntry,pViewData); in Center()
3697 pViewData->aTextSize = aTextRect.GetSize(); in Center()
3699 pViewData->aRect = pViewData->aGridRect; in Center()
3700 Size aSize( CalcBoundingSize( pEntry, pViewData ) ); in Center()
3701 long nBorder = pViewData->aGridRect.GetWidth() - aSize.Width(); in Center()
3702 pViewData->aRect.Left() += nBorder / 2; in Center()
3703 pViewData->aRect.Right() -= nBorder / 2; in Center()
3704 pViewData->aRect.Bottom() = pViewData->aRect.Top() + aSize.Height(); in Center()
3725 SvLBoxEntry* pEntry, SvLBoxItem* pItem, const SvIcnVwDataEntry* pViewData) const in GetItemSize()
3729 if( !pViewData ) in GetItemSize()
3730 pViewData = ICNVIEWDATA(pEntry); in GetItemSize()
3731 return pViewData->aTextSize; in GetItemSize()
3774 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in SelectRect() local
3775 DBG_ASSERT(pViewData,"Entry not in model"); in SelectRect()
3776 if( !IsBoundingRectValid( pViewData->aRect )) in SelectRect()
3777 FindBoundingRect( pEntry, pViewData ); in SelectRect()
3778 const Rectangle& rBoundRect = pViewData->aRect; in SelectRect()
3779 sal_Bool bSelected = pViewData->IsSelected(); in SelectRect()
4028 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pCur); in AdjustAtGrid() local
4031 const Rectangle& rBoundRect = GetBoundingRect( pCur, pViewData ); in AdjustAtGrid()
4032 Rectangle aCenterRect( CalcBmpRect( pCur, 0, pViewData )); in AdjustAtGrid()
4033 if( bGo && !pViewData->IsEntryPosLocked() ) in AdjustAtGrid()
4092 SvIcnVwDataEntry* pViewData = ICNVIEWDATA(pEntry); in SetTextMode() local
4093 if( pViewData->eTextMode != eMode ) in SetTextMode()
4095 pViewData->eTextMode = eMode; in SetTextMode()
4097 AdjustVirtSize( pViewData->aRect ); in SetTextMode()
4103 const SvIcnVwDataEntry* pViewData ) const in GetTextMode()
4109 if( !pViewData ) in GetTextMode()
4110 pViewData = ICNVIEWDATA(((SvLBoxEntry*)pEntry)); in GetTextMode()
4111 return pViewData->GetTextMode(); in GetTextMode()
4116 const SvIcnVwDataEntry* pViewData ) const in GetEntryTextModeSmart()
4119 if( !pViewData ) in GetEntryTextModeSmart()
4120 pViewData = ICNVIEWDATA(((SvLBoxEntry*)pEntry)); in GetEntryTextModeSmart()
4121 SvIconViewTextMode eMode = pViewData->GetTextMode(); in GetEntryTextModeSmart()