Lines Matching refs:pView
74 #define ICNVIEWDATA(xPtr) (SvIcnVwDataEntry*)(pView->GetViewDataEntry(xPtr))
75 #define ICNVIEWDATA2(xPtr) (SvIcnVwDataEntry*)(pView->pView->GetViewDataEntry(xPtr))
645 SvImpIconView* pView; member in ImpIcnCursor
711 pView = pCurView; in SvImpIconView()
775 MapMode aMapMode( pView->GetMapMode()); in Clear()
777 pView->SetMapMode( aMapMode ); in Clear()
778 if( pView->IsUpdateMode() ) in Clear()
779 pView->Invalidate(); in Clear()
796 pView->EndEditing( sal_True ); in IMPL_LINK()
804 pView->EndEditing( sal_True ); in IMPL_LINK()
841 aSize = GetItemSize( pView, pEntry, pStringItem, pViewData ); in CheckSizes()
852 aSize = GetItemSize( pView, pEntry, pBmpItem, pViewData ); in CheckSizes()
883 if( pView->IsUpdateMode() ) in EntryInserted()
905 pView->Invalidate( pViewData->aRect ); in RemovingEntry()
945 pView->Invalidate( pViewData->aRect ); in MovingEntry()
987 pView->Select( pEntry, sal_False ); in EntryMoved()
1020 pView->GetSelectionMode() == SINGLE_SELECTION && in EntrySelected()
1024 DBG_ASSERT(pView->GetSelectionCount()==1,"selection count?"); in EntrySelected()
1029 if( pView->IsUpdateMode() ) in EntrySelected()
1036 pView->Invalidate( GetBoundingRect( pEntry ) ); in EntrySelected()
1200 MapMode aMapMode( pView->GetMapMode()); in ImpArrange()
1202 pView->SetMapMode( aMapMode ); in ImpArrange()
1205 pView->Invalidate(); in ImpArrange()
1211 if( !pView->IsUpdateMode() ) in Paint()
1217 Color aOldColor = pView->GetLineColor(); in Paint()
1219 pView->SetLineColor( aNewColor ); in Paint()
1220 Point aOffs( pView->GetMapMode().GetOrigin()); in Paint()
1221 Size aXSize( pView->GetOutputSizePixel() ); in Paint()
1228 pView->DrawLine( aStart, aEnd ); in Paint()
1236 pView->DrawLine( aStart, aEnd ); in Paint()
1238 pView->SetLineColor( aOldColor ); in Paint()
1292 const MapMode& rMapMode = pView->GetMapMode(); in GetResizeRect()
1306 const StyleSettings& rStyleSettings = pView->GetSettings().GetStyleSettings(); in PaintResizeRect()
1308 Color aOldColor = pView->GetFillColor(); in PaintResizeRect()
1309 pView->SetFillColor( aNewColor ); in PaintResizeRect()
1310 pView->DrawRect( rRect ); in PaintResizeRect()
1311 pView->SetFillColor( aOldColor ); in PaintResizeRect()
1317 pView->Invalidate(); // vorlaeufig in RepaintSelectionItems()
1343 aMaeuschenPos -= pView->GetMapMode().GetOrigin(); in CalcDocPos()
1349 pView->GrabFocus(); in MouseButtonDown()
1357 if( pView->GetSelectionMode() != SINGLE_SELECTION ) in MouseButtonDown()
1361 pView->SelectAll( sal_False ); in MouseButtonDown()
1368 pView->CaptureMouse(); in MouseButtonDown()
1373 sal_Bool bSelected = pView->IsSelected( pEntry ); in MouseButtonDown()
1374 sal_Bool bEditingEnabled = pView->IsInplaceEditingEnabled(); in MouseButtonDown()
1379 pView->pHdlEntry = pEntry; in MouseButtonDown()
1380 pView->DoubleClickHdl(); in MouseButtonDown()
1391 pView->EditingRequest( pEntry, pItem, aDocPos); in MouseButtonDown()
1394 else if( pView->GetSelectionMode() == SINGLE_SELECTION ) in MouseButtonDown()
1398 pView->Select( pEntry, sal_True ); in MouseButtonDown()
1413 pView->Select( pEntry, sal_True ); in MouseButtonDown()
1435 pView->ReleaseMouse(); in MouseButtonUp()
1448 SvLBoxEntry* pEntry = pView->GetEntry( rMEvt.GetPosPixel(), sal_True ); in MouseButtonUp()
1461 pView->Select( pEntry, sal_True ); in MouseButtonUp()
1487 const Size& rSize = pView->GetOutputSizePixel(); in MouseMove()
1503 pView->Scroll( nScrollDX, nScrollDY ); in MouseMove()
1506 aDocPos = pView->PixelToLogic( aDocPos ); in MouseMove()
1526 int bDeselAll = (pView->GetSelectionMode() != SINGLE_SELECTION) && in KeyInput()
1540 pView->SelectAll( sal_False ); in KeyInput()
1545 pView->Select( pCursor, sal_True ); in KeyInput()
1568 pView->SelectAll( sal_False ); in KeyInput()
1573 pView->Select( pCursor, sal_True ); in KeyInput()
1586 pView->SelectAll( sal_False ); in KeyInput()
1591 pView->Select( pCursor, sal_True ); in KeyInput()
1604 pView->SelectAll( sal_False ); in KeyInput()
1609 pView->Select( pCursor, sal_True ); in KeyInput()
1628 pView->SelectAll( sal_False ); in KeyInput()
1647 if( pCursor && pView->IsInplaceEditingEnabled() ) in KeyInput()
1648 pView->EditEntry( pCursor ); in KeyInput()
1669 pView->SelectAll( sal_True ); in KeyInput()
1675 pView->SelectAll( sal_False ); in KeyInput()
1681 if( pCursor && pView->IsInplaceEditingEnabled() ) in KeyInput()
1682 pView->EditEntry( pCursor ); in KeyInput()
1731 Size aOSize( pView->Control::GetOutputSizePixel() ); in AdjustScrollBars()
1737 const MapMode& rMapMode = pView->GetMapMode(); in AdjustScrollBars()
1752 bool bVerSBar = (pView->GetStyle() & WB_VSCROLL) ? true : false; in AdjustScrollBars()
1753 bool bHorSBar = (pView->GetStyle() & WB_HSCROLL) ? true : false; in AdjustScrollBars()
1877 pView->Invalidate( aRect ); in Resize()
1878 aOutputSize = pView->GetOutputSizePixel(); in Resize()
1882 const Size& rSize = pView->Control::GetOutputSizePixel(); in Resize()
1899 const MapMode& rMapMode = pView->GetMapMode(); in CheckHorScrollBar()
1901 if(!(pView->GetStyle() & WB_HSCROLL) && !aOrigin.X() ) in CheckHorScrollBar()
1937 const MapMode& rMapMode = pView->GetMapMode(); in CheckVerScrollBar()
1939 if(!(pView->GetStyle() & WB_VSCROLL) && !aOrigin.Y() ) in CheckVerScrollBar()
1985 pView->SetEntryFocus( pCursor, sal_True ); in GetFocus()
1994 pView->SetEntryFocus( pCursor,sal_False ); in LoseFocus()
2002 pView->Invalidate(); in UpdateAll()
2019 pOut = pView; in PaintEmphasis()
2061 const Size& rSize = GetItemSize( pView, pEntry, pItem ); in PaintItem()
2073 if( !pView->IsUpdateMode() ) in PaintEntry()
2077 pOut = pView; in PaintEntry()
2081 pView->PreparePaint( pEntry ); in PaintEntry()
2139 pView->Invalidate( aBoundRect ); in SetEntryPosition()
2158 if( bCheckScrollBars && pView->IsUpdateMode() ) in SetEntryPosition()
2175 pView->Invalidate( pViewData->aRect ); in ModelHasEntryInvalidated()
2184 pView->Invalidate( pViewData->aRect ); in ModelHasEntryInvalidated()
2193 pView->Invalidate( rRect ); in InvalidateEntry()
2360 Size aTextSize( GetItemSize( pView, pEntry, pItem, pViewData )); in CalcTextRect()
2363 Size aContextBmpSize(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)->GetSize(pView,pEntry)); in CalcTextRect()
2422 …long nStringWidth = GetItemSize( pView, pEntry, pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING),pViewD… in CalcBoundingWidth()
2424 long nBmpWidth = pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)->GetSize(pView,pEntry).Width(); in CalcBoundingWidth()
2452 …long nStringHeight = GetItemSize(pView,pEntry,pEntry->GetFirstItem(SV_ITEM_ID_LBOXSTRING),pViewDat… in CalcBoundingHeight()
2453 long nBmpHeight = pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)->GetSize(pView,pEntry).Height(); in CalcBoundingHeight()
2584 pView->SetEntryFocus( pCursor, sal_False ); in SetCursor()
2585 if( pView->GetSelectionMode() == SINGLE_SELECTION ) in SetCursor()
2586 pView->Select( pCursor, sal_False ); in SetCursor()
2592 pView->SetEntryFocus(pCursor, sal_True ); in SetCursor()
2593 if( pView->GetSelectionMode() == SINGLE_SELECTION ) in SetCursor()
2594 pView->Select( pCursor, sal_True ); in SetCursor()
2602 if( !pCursor || !bShow || !pView->HasFocus() ) in ShowCursor()
2604 pView->HideFocus(); in ShowCursor()
2608 pView->ShowFocus( aRect ); in ShowCursor()
2614 pView->Update(); in HideDDIcon()
2626 pView->DrawOutDev( aDDLastRectPos, aSize, Point(), aSize, *pDDDev ); in ImpHideDDIcon()
2633 pView->Update(); in ShowDDIcon()
2639 sal_Bool bSelected = pView->SvListView::Select( pRefEntry, sal_False ); in ShowDDIcon()
2651 pDDDev = new VirtualDevice( *pView ); in ShowDDIcon()
2652 pDDDev->SetFont( pView->GetFont() ); in ShowDDIcon()
2671 pDDDev->DrawOutDev( Point(), aSize, aPos, aSize, *pView ); in ShowDDIcon()
2677 pView->SvListView::Select( pRefEntry, sal_True ); in ShowDDIcon()
2723 pDDTempDev = new VirtualDevice( *pView ); in HideShowDDIcon()
2724 pDDTempDev->SetFont( pView->GetFont() ); in HideShowDDIcon()
2733 pDDTempDev->DrawOutDev( aEmptyPoint, aFullSize, aFullPos, aFullSize, *pView ); in HideShowDDIcon()
2761 pView->DrawOutDev( in HideShowDDIcon()
2768 sal_Bool bSelected = pView->SvListView::Select( pRefEntry, sal_False ); in HideShowDDIcon()
2770 pView->SvListView::Select( pRefEntry, sal_True ); in HideShowDDIcon()
2783 const MapMode& rMapMode = pView->GetMapMode(); in ShowTargetEmphasis()
2807 return pView->SvLBox::NotifyMoving(pTarget,pEntry,rpNewPar,rNewChildPos); in NotifyMoving()
2813 return pView->SvLBox::NotifyCopying(pTarget,pEntry,rpNewParent,rNewChildPos); in NotifyCopying()
2848 SvLBoxEntry* pEntry = pView->GetEntry( rPt, sal_True ); in PrepareCommandEvent()
2849 if( (nFlags & F_DOWN_CTRL) && pEntry && !pView->IsSelected(pEntry) ) in PrepareCommandEvent()
2850 pView->Select( pEntry, sal_True ); in PrepareCommandEvent()
2906 MapMode aMapMode( pView->GetMapMode() ); in MakeVisible()
2947 pView->Update(); in MakeVisible()
2953 pView->SetMapMode( aMapMode ); in MakeVisible()
2956 pView->Control::Scroll( -nDx, -nDy, aOutputArea, sal_True ); in MakeVisible()
2971 pView->Update(); in MakeVisible()
3005 if( pView->IsSelected( pEntry ) ) in GetSelectionCount()
3016 if( pView->IsSelected( pEntry ) ) in ToggleSelection()
3020 pView->Select( pEntry, bSel ); in ToggleSelection()
3029 if( pEntry != pThisEntryNot && pView->IsSelected( pEntry )) in DeselectAllBut()
3030 pView->Select( pEntry, sal_False ); in DeselectAllBut()
3040 pView = pOwner; in ImpIcnCursor()
3072 pView->GetBoundingRect((SvLBoxEntry*)(pList->GetObject(nCurPos))); in GetSortListPos()
3089 pView->CheckBoundingRects(); in ImplCreate()
3099 SvLBoxTreeList* pModel = pView->pModel; in ImplCreate()
3100 SvLBoxEntry* pEntry = pModel->FirstChild( pView->pCurParent ); in ImplCreate()
3105 Rectangle rRect( pView->CalcBmpRect( pEntry,0,pViewData ) ); in ImplCreate()
3133 const Size& rSize = pView->aVirtOutputSize; in CreateGridMap()
3135 if( nWidth < pView->nMaxVirtWidth ) in CreateGridMap()
3136 nWidth = pView->nMaxVirtWidth; in CreateGridMap()
3141 nGridDX = pView->nGridDX; in CreateGridMap()
3142 nGridDY = pView->nGridDY; in CreateGridMap()
3165 SvLBoxTreeList* pModel = pView->pModel; in CreateGridMap()
3166 SvLBoxEntry* pEntry = pModel->FirstChild( pView->pCurParent ); in CreateGridMap()
3172 if( pView->IsBoundingRectValid( rRect )) in CreateGridMap()
3175 SetGridUsed( pView->GetBoundingRect( pEntry, pViewData ) ); in CreateGridMap()
3252 const Rectangle& rRefRect = pView->GetBoundingRect(pCurEntry); in SearchCol()
3264 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchCol()
3278 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchCol()
3304 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchCol()
3328 const Rectangle& rRefRect = pView->GetBoundingRect(pCurEntry); in SearchRow()
3340 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchRow()
3354 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchRow()
3380 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in SearchRow()
3515 const Size& rSize = pView->aVirtOutputSize; in SetDeltas()
3516 if( pView->nFlags & F_GRIDMODE ) in SetDeltas()
3518 nGridDX = pView->nGridDX; in SetDeltas()
3519 nGridDY = pView->nGridDY; in SetDeltas()
3603 sal_uInt16 nAdjustRows = (sal_uInt16)(pView->aVirtOutputSize.Height() / pView->nGridDY); in CreateGridAjustData()
3613 SvLBoxEntry* pEntry = pView->pModel->FirstChild( pView->pCurParent ); in CreateGridAjustData()
3616 const Rectangle& rRect = pView->GetBoundingRect( pEntry ); in CreateGridAjustData()
3617 short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / pView->nGridDY ); in CreateGridAjustData()
3620 pEntry = pView->pModel->NextSibling( pEntry ); in CreateGridAjustData()
3629 Rectangle rRefRect( pView->CalcBmpRect( pRefEntry ) ); in CreateGridAjustData()
3631 short nRefRow = (short)( ((rRefRect.Top()+rRefRect.Bottom())/2) / pView->nGridDY ); in CreateGridAjustData()
3634 SvLBoxEntry* pEntry = pView->pModel->FirstChild( pView->pCurParent ); in CreateGridAjustData()
3637 Rectangle rRect( pView->CalcBmpRect(pEntry) ); in CreateGridAjustData()
3639 short nY = (short)( ((rRect.Top()+rRect.Bottom())/2) / pView->nGridDY ); in CreateGridAjustData()
3645 pEntry = pView->pModel->NextSibling( pEntry ); in CreateGridAjustData()
3673 …long nBmpHeight = ((SvLBoxEntry*)pEntry)->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)->GetSize(pView,(… in CalcMaxTextRect()
3696 aTextRect = GetTextRect( pView, aTextRect, rEntryText, DRAWTEXT_FLAGS ); in Center()
3713 const MapMode& rMapMode = pView->GetMapMode(); in Scroll()
3756 pView->Update(); in SelectRect()
3793 pView->Select( pEntry, sal_True ); in SelectRect()
3800 pView->Select( pEntry, sal_False ); in SelectRect()
3820 pView->Select( pEntry, sal_False ); in SelectRect()
3826 pView->Select( pEntry, sal_True ); in SelectRect()
3832 pView->Select( pEntry, sal_False ); in SelectRect()
3835 pView->Update(); in SelectRect()
3878 pView->HideTracking(); in DrawSelectionRect()
3880 pView->ShowTracking( rRect, SHOWTRACK_SMALL | SHOWTRACK_WINDOW ); in DrawSelectionRect()
3888 pView->HideTracking(); in HideSelectionRect()
3895 RasterOp eOldOp = pView->GetRasterOp(); in ImpDrawXORRect()
3896 pView->SetRasterOp( ROP_XOR ); in ImpDrawXORRect()
3897 Color aOldColor = pView->GetFillColor(); in ImpDrawXORRect()
3898 pView->SetFillColor(); in ImpDrawXORRect()
3899 pView->DrawRect( rRect ); in ImpDrawXORRect()
3900 pView->SetFillColor( aOldColor ); in ImpDrawXORRect()
3901 pView->SetRasterOp( eOldOp ); in ImpDrawXORRect()
3958 pView->ReleaseMouse(); in EndTracking()
3981 if( pView->IsInplaceEditingEnabled() && pEntry && in IMPL_LINK()
3982 pView->IsSelected( pEntry )) in IMPL_LINK()
3984 pView->EditEntry( pEntry ); in IMPL_LINK()
4087 pView->Arrange(); in SetTextMode()
4130 pView->HideFocus(); in ShowFocusRect()
4134 pView->ShowFocus( aRect ); in ShowFocusRect()