Lines Matching refs:pEntry

158 short SvImpLBox::UpdateContextBmpWidthVector( SvLBoxEntry* pEntry, short nWidth )  in UpdateContextBmpWidthVector()  argument
162 sal_uInt16 nDepth = pView->pModel->GetDepth( pEntry ); in UpdateContextBmpWidthVector()
186 void SvImpLBox::UpdateContextBmpWidthVectorFromMovedEntry( SvLBoxEntry* pEntry ) in UpdateContextBmpWidthVectorFromMovedEntry() argument
188 DBG_ASSERT( pEntry, "Moved Entry is invalid!" ); in UpdateContextBmpWidthVectorFromMovedEntry()
190 …SvLBoxContextBmp* pBmpItem = static_cast< SvLBoxContextBmp* >( pEntry->GetFirstItem( SV_ITEM_ID_LB… in UpdateContextBmpWidthVectorFromMovedEntry()
194 UpdateContextBmpWidthVector( pEntry, nMax ); in UpdateContextBmpWidthVectorFromMovedEntry()
196 if( pEntry->HasChilds() ) // recursive call, whether expanded or not in UpdateContextBmpWidthVectorFromMovedEntry()
198 SvLBoxEntry* pChild = pView->FirstChild( pEntry ); in UpdateContextBmpWidthVectorFromMovedEntry()
208 void SvImpLBox::UpdateContextBmpWidthMax( SvLBoxEntry* pEntry ) in UpdateContextBmpWidthMax() argument
210 sal_uInt16 nDepth = pView->pModel->GetDepth( pEntry ); in UpdateContextBmpWidthMax()
222 void SvImpLBox::CalcCellFocusRect( SvLBoxEntry* pEntry, Rectangle& rRect ) in CalcCellFocusRect() argument
224 if ( pEntry && bIsCellFocusEnabled ) in CalcCellFocusRect()
572 void SvImpLBox::InvalidateEntry( SvLBoxEntry* pEntry ) in InvalidateEntry() argument
577 SetMostRight( pEntry ); in InvalidateEntry()
584 if( pEntry==pCursor && pView->HasFocus() ) in InvalidateEntry()
589 InvalidateEntry( GetEntryLine( pEntry ) ); in InvalidateEntry()
616 void SvImpLBox::SetCursor( SvLBoxEntry* pEntry, sal_Bool bForceNoSelect ) in SetCursor() argument
619 if( pEntry ) in SetCursor()
620 pViewDataNewCur= pView->GetViewDataEntry(pEntry); in SetCursor()
621 if( pEntry && in SetCursor()
622 pEntry == pCursor && in SetCursor()
630 while( pEntry && pViewDataNewCur && !pViewDataNewCur->IsSelectable() ) in SetCursor()
632 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetCursor()
633 pViewDataNewCur = pEntry ? pView->GetViewDataEntry(pEntry) : 0; in SetCursor()
637 if( pCursor && pEntry != pCursor ) in SetCursor()
644 pCursor = pEntry; in SetCursor()
789 SvLBoxEntry* pEntry = (SvLBoxEntry*)(pView->NextVisible( pStartEntry, nTemp )); in GetClickedEntry() local
790 return pEntry; in GetClickedEntry()
797 sal_Bool SvImpLBox::EntryReallyHit(SvLBoxEntry* pEntry,const Point& rPosPixel,long nLine) in EntryReallyHit() argument
802 if( pEntry->ItemCount() >= 3 ) in EntryReallyHit()
805 Rectangle aRect( pView->GetFocusRect( pEntry, nLine )); in EntryReallyHit()
809 SvLBoxContextBmp* pBmp = (SvLBoxContextBmp*)(pEntry->GetFirstItem(SV_ITEM_ID_LBOXCONTEXTBMP)); in EntryReallyHit()
810 aRect.Left() -= pBmp->GetSize(pView,pEntry).Width(); in EntryReallyHit()
833 SvLBoxEntry* pEntry = (SvLBoxEntry*)(pView->NextVisible( pStartEntry, nTemp )); in GetEntry() local
835 pEntry = 0; in GetEntry()
836 return pEntry; in GetEntry()
845 SvLBoxEntry* pEntry = 0; in MakePointVisible() local
850 pEntry = (SvLBoxEntry*)(pView->PrevVisible( pCursor )); in MakePointVisible()
852 pEntry = (SvLBoxEntry*)(pView->NextVisible( pCursor )); in MakePointVisible()
854 if( pEntry && pEntry != pCursor ) in MakePointVisible()
864 pEntry = GetClickedEntry( rPoint ); in MakePointVisible()
865 if( !pEntry ) in MakePointVisible()
869 pEntry = (SvLBoxEntry*)(pView->NextVisible( pStartEntry, nSteps )); in MakePointVisible()
871 if( pEntry ) in MakePointVisible()
873 if( pEntry != pCursor && in MakePointVisible()
879 return pEntry; in MakePointVisible()
939 SvLBoxEntry* pEntry = pStartEntry; in Paint() local
940 while( nStartLine && pEntry ) in Paint()
942 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in Paint()
955 for( sal_uInt16 n=0; n< nCount && pEntry; n++ ) in Paint()
958 pView->PaintEntry1( pEntry, nY, 0xffff, sal_True ); in Paint()
960 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in Paint()
982 void SvImpLBox::MakeVisible( SvLBoxEntry* pEntry, sal_Bool bMoveToTop ) in MakeVisible() argument
984 if( !pEntry ) in MakeVisible()
987 sal_Bool bInView = IsEntryInView( pEntry ); in MakeVisible()
989 if( bInView && (!bMoveToTop || pStartEntry == pEntry) ) in MakeVisible()
996 if( !pView->IsEntryVisible(pEntry) ) // Parent(s) zugeklappt ? in MakeVisible()
998 SvLBoxEntry* pParent = pView->GetParent( pEntry ); in MakeVisible()
1012 if( IsEntryInView( pEntry ) && !bMoveToTop ) in MakeVisible()
1017 pStartEntry = pEntry; in MakeVisible()
1043 SvLBoxEntry* pEntry = pStartEntry; in RepaintSelectionItems() local
1044 for( sal_uLong n=0; n< nCount && pEntry; n++ ) in RepaintSelectionItems()
1046 pView->PaintEntry1( pEntry, nY, 0xffff ); //wg. ItemsetBrowser SV_LBOXTAB_SHOW_SELECTION ); in RepaintSelectionItems()
1048 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in RepaintSelectionItems()
1082 SvLBoxEntry* pEntry = pStartEntry; in DrawNet() local
1085 while( pTree->GetDepth( pEntry ) > 0 ) in DrawNet()
1086 pEntry = pView->GetParent( pEntry ); in DrawNet()
1088 pView->GetVisiblePos( pEntry )); in DrawNet()
1107 for( sal_uLong n=0; n< nMax && pEntry; n++ ) in DrawNet()
1109 if( pView->IsExpanded(pEntry) ) in DrawNet()
1111 aPos1.X() = pView->GetTabPos(pEntry, pFirstDynamicTab); in DrawNet()
1120 pChild = pView->FirstChild( pEntry ); in DrawNet()
1124 pView->GetVisiblePos(pEntry)); in DrawNet()
1130 if( n>= nOffs && ((m_nStyle & WB_HASLINESATROOT) || !pTree->IsAtRootDepth(pEntry))) in DrawNet()
1133 if( !pView->IsExpanded(pEntry) ) in DrawNet()
1136 aPos1.X() = pView->GetTabPos(pEntry, pFirstDynamicTab); in DrawNet()
1150 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in DrawNet()
1154 pEntry = pView->First(); in DrawNet()
1155 aPos1.X() = pView->GetTabPos( pEntry, pFirstDynamicTab); in DrawNet()
1161 aPos1.Y() = GetEntryLine( pEntry ); in DrawNet()
1163 pChild = pTree->LastSibling( pEntry ); in DrawNet()
1511 sal_Bool SvImpLBox::IsEntryInView( SvLBoxEntry* pEntry ) const in IsEntryInView()
1514 if( !pView->IsEntryVisible(pEntry) ) in IsEntryInView()
1516 long nY = GetEntryLine( pEntry ); in IsEntryInView()
1526 long SvImpLBox::GetEntryLine( SvLBoxEntry* pEntry ) const in GetEntryLine()
1532 long nEntryVisPos = pView->GetVisiblePos( pEntry ); in GetEntryLine()
1563 void SvImpLBox::EntryExpanded( SvLBoxEntry* pEntry ) in EntryExpanded() argument
1569 long nY = GetEntryLine( pEntry ); in EntryExpanded()
1573 FindMostRight( pEntry, 0 ); in EntryExpanded()
1584 void SvImpLBox::EntryCollapsed( SvLBoxEntry* pEntry ) in EntryCollapsed() argument
1586 if( !pView->IsEntryVisible( pEntry ) ) in EntryCollapsed()
1591 if( !pMostRightEntry || pTree->IsChild( pEntry,pMostRightEntry ) ) in EntryCollapsed()
1617 if( pTree->IsChild( pEntry, pCursor ) ) in EntryCollapsed()
1618 SetCursor( pEntry ); in EntryCollapsed()
1626 void SvImpLBox::CollapsingEntry( SvLBoxEntry* pEntry ) in CollapsingEntry() argument
1628 if( !pView->IsEntryVisible( pEntry ) || !pStartEntry ) in CollapsingEntry()
1634 long nY = GetEntryLine( pEntry ); in CollapsingEntry()
1642 if( pTree->IsChild(pEntry, pStartEntry) ) in CollapsingEntry()
1644 pStartEntry = pEntry; in CollapsingEntry()
1674 void SvImpLBox::EntrySelected( SvLBoxEntry* pEntry, sal_Bool bSelect ) in EntrySelected() argument
1690 pEntry != pCursor ) in EntrySelected()
1692 SetCursor( pEntry ); in EntrySelected()
1696 if( GetUpdateMode() && pView->IsEntryVisible(pEntry) ) in EntrySelected()
1698 long nY = GetEntryLine( pEntry ); in EntrySelected()
1702 pView->PaintEntry1( pEntry, nY, 0xffff ); // wg. ItemsetBrowser SV_LBOXTAB_SHOW_SELECTION ); in EntrySelected()
1709 void SvImpLBox::RemovingEntry( SvLBoxEntry* pEntry ) in RemovingEntry() argument
1711 CallEventListeners( VCLEVENT_LISTBOX_ITEMREMOVED , pEntry ); in RemovingEntry()
1715 if( !pView->IsEntryVisible( pEntry ) ) in RemovingEntry()
1722 if( pEntry == pMostRightEntry || ( in RemovingEntry()
1723 pEntry->HasChilds() && pView->IsExpanded(pEntry) && in RemovingEntry()
1724 pTree->IsChild(pEntry, pMostRightEntry))) in RemovingEntry()
1731 SvLBoxEntry* pParent = (SvLBoxEntry*)(pView->GetModel()->GetParent(pEntry)); in RemovingEntry()
1740 if( pCursor && pTree->IsChild( pEntry, pCursor) ) in RemovingEntry()
1741 pCursor = pEntry; in RemovingEntry()
1742 if( pStartEntry && pTree->IsChild(pEntry,pStartEntry) ) in RemovingEntry()
1743 pStartEntry = pEntry; in RemovingEntry()
1746 if( pCursor && pCursor == pEntry ) in RemovingEntry()
1758 if( pStartEntry && pStartEntry == pEntry ) in RemovingEntry()
1769 …if( pStartEntry && (pStartEntry != pOldStartEntry || pEntry == (SvLBoxEntry*)pView->GetModel()->La… in RemovingEntry()
1775 InvalidateEntriesFrom( GetEntryLine( pEntry ) ); in RemovingEntry()
1828 void SvImpLBox::MovingEntry( SvLBoxEntry* pEntry ) in MovingEntry() argument
1835 if( pEntry == pCursor ) in MovingEntry()
1837 if( IsEntryInView( pEntry ) ) in MovingEntry()
1839 if( pEntry == pStartEntry ) in MovingEntry()
1842 if( !pEntry->HasChilds() ) in MovingEntry()
1850 pNew = pTree->NextSibling( pEntry ); in MovingEntry()
1852 pNew = pTree->PrevSibling( pEntry ); in MovingEntry()
1858 void SvImpLBox::EntryMoved( SvLBoxEntry* pEntry ) in EntryMoved() argument
1861 UpdateContextBmpWidthVectorFromMovedEntry( pEntry ); in EntryMoved()
1870 sal_uInt16 nNewPos = (sal_uInt16)pTree->GetAbsPos( pEntry ); in EntryMoved()
1873 pStartEntry = pEntry; in EntryMoved()
1876 if( pEntry == pCursor ) in EntryMoved()
1882 SvLBoxEntry* pParent = pEntry; in EntryMoved()
1890 if( IsEntryInView( pEntry ) ) in EntryMoved()
1896 void SvImpLBox::EntryInserted( SvLBoxEntry* pEntry ) in EntryInserted() argument
1900 SvLBoxEntry* pParent = (SvLBoxEntry*)pTree->GetParent(pEntry); in EntryInserted()
1905 if( !pView->IsEntryVisible( pEntry ) ) in EntryInserted()
1914 long nY = GetEntryLine( pEntry ); in EntryInserted()
1958 SetMostRight( pEntry ); in EntryInserted()
1977 sal_Bool SvImpLBox::ButtonDownCheckCtrl(const MouseEvent& rMEvt, SvLBoxEntry* pEntry, in ButtonDownCheckCtrl() argument
1980 SvLBoxItem* pItem = pView->GetItem(pEntry,rMEvt.GetPosPixel().X(),&pActiveTab); in ButtonDownCheckCtrl()
1984 pActiveEntry = pEntry; in ButtonDownCheckCtrl()
1999 sal_Bool SvImpLBox::MouseMoveCheckCtrl( const MouseEvent& rMEvt, SvLBoxEntry* pEntry) in MouseMoveCheckCtrl() argument
2005 if( pEntry == pActiveEntry && in MouseMoveCheckCtrl()
2036 SvLBoxEntry* pEntry = GetClickedEntry( rMEvt.GetPosPixel() ); in ButtonUpCheckCtrl() local
2040 if( pEntry == pActiveEntry && in ButtonUpCheckCtrl()
2059 sal_Bool SvImpLBox::IsNodeButton( const Point& rPosPixel, SvLBoxEntry* pEntry ) const in IsNodeButton()
2061 if( !pEntry->HasChilds() && !pEntry->HasChildsOnDemand() ) in IsNodeButton()
2073 long nX = pView->GetTabPos( pEntry, pFirstDynamicTab); in IsNodeButton()
2084 sal_Bool SvImpLBox::ButtonDownCheckExpand( const MouseEvent& rMEvt, SvLBoxEntry* pEntry, long /* nY… in ButtonDownCheckExpand() argument
2088 if ( pView->IsEditingActive() && pEntry == pView->pEdEntry ) in ButtonDownCheckExpand()
2091 else if ( IsNodeButton( rMEvt.GetPosPixel(), pEntry ) ) in ButtonDownCheckExpand()
2093 if ( pView->IsExpanded( pEntry ) ) in ButtonDownCheckExpand()
2096 pView->Collapse( pEntry ); in ButtonDownCheckExpand()
2101 pView->Expand( pEntry ); in ButtonDownCheckExpand()
2125 SvLBoxEntry* pEntry = GetEntry( aPos ); in MouseButtonDown() local
2126 if ( pEntry != pCursor ) in MouseButtonDown()
2132 if( !pEntry || !pView->GetViewData( pEntry )) in MouseButtonDown()
2135 long nY = GetEntryLine( pEntry ); in MouseButtonDown()
2137 if( ButtonDownCheckExpand( rMEvt, pEntry, nY ) ) in MouseButtonDown()
2140 if( !EntryReallyHit(pEntry,aPos,nY)) in MouseButtonDown()
2143 SvLBoxItem* pXItem = pView->GetItem( pEntry, aPos.X() ); in MouseButtonDown()
2146 SvLBoxTab* pXTab = pView->GetTab( pEntry, pXItem ); in MouseButtonDown()
2148 && pEntry == pView->FirstSelected() && NULL == pView->NextSelected( pEntry ) ) in MouseButtonDown()
2151 if ( !pView->IsSelected( pEntry ) ) in MouseButtonDown()
2159 pView->pHdlEntry = pEntry; in MouseButtonDown()
2163 pEntry = GetClickedEntry( aPos ); in MouseButtonDown()
2164 if( !pEntry ) in MouseButtonDown()
2166 if( pEntry != pView->pHdlEntry ) in MouseButtonDown()
2171 SetCursor( pEntry ); in MouseButtonDown()
2175 if( pEntry->HasChilds() || pEntry->HasChildsOnDemand() ) in MouseButtonDown()
2177 if( pView->IsExpanded(pEntry) ) in MouseButtonDown()
2178 pView->Collapse( pEntry ); in MouseButtonDown()
2180 pView->Expand( pEntry ); in MouseButtonDown()
2181 if( pEntry == pCursor ) // nur wenn Entryitem angeklickt wurde in MouseButtonDown()
2191 if( ButtonDownCheckCtrl(rMEvt, pEntry, nY) == sal_True) in MouseButtonDown()
2197 SvLBoxItem* pItem = pView->GetItem( pEntry, aPos.X() ); in MouseButtonDown()
2199 pView->EditingRequest( pEntry, pItem, aPos ); in MouseButtonDown()
2235 SvLBoxEntry* pEntry = GetClickedEntry( rMEvt.GetPosPixel() ); in MouseMove() local
2236 if ( !MouseMoveCheckCtrl( rMEvt, pEntry ) && ( aSelEng.GetSelectionMode() != NO_SELECTION ) ) in MouseMove()
2712 SvLBoxEntry* pEntry = pView->FirstSelected(); in GetFocus() local
2713 while( pEntry ) in GetFocus()
2715 InvalidateEntry( pEntry ); in GetFocus()
2716 pEntry = pView->NextSelected( pEntry ); in GetFocus()
2745 SvLBoxEntry* pEntry = pView->FirstSelected(); in LoseFocus() local
2746 while( pEntry ) in LoseFocus()
2750 InvalidateEntry( pEntry ); in LoseFocus()
2751 pEntry = pView->NextSelected( pEntry ); in LoseFocus()
2761 inline void SvImpLBox::SelectEntry( SvLBoxEntry* pEntry, sal_Bool bSelect ) in SelectEntry() argument
2763 pView->Select( pEntry, bSelect ); in SelectEntry()
2827 SvLBoxEntry* pEntry = pImp->MakePointVisible( rPoint ); in IsSelectionAtPoint() local
2828 if( pEntry ) in IsSelectionAtPoint()
2829 return pView->IsSelected(pEntry); in IsSelectionAtPoint()
2835 SvLBoxEntry* pEntry = pImp->MakePointVisible( rPoint ); in DeselectAtPoint() local
2836 if( !pEntry ) in DeselectAtPoint()
2838 pImp->SelectEntry( pEntry, sal_False ); in DeselectAtPoint()
2863 SvLBoxEntry* pEntry; in SetAnchorSelection() local
2873 pEntry = pOldCursor; in SetAnchorSelection()
2874 while( pEntry && pEntry != pNewCursor ) in SetAnchorSelection()
2876 pView->Select( pEntry, sal_True ); in SetAnchorSelection()
2877 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetAnchorSelection()
2879 if( pEntry ) in SetAnchorSelection()
2880 pView->Select( pEntry, sal_True ); in SetAnchorSelection()
2886 pEntry = pAnchor; in SetAnchorSelection()
2887 while( pEntry && pEntry != pOldCursor ) in SetAnchorSelection()
2889 pView->Select( pEntry, sal_False ); in SetAnchorSelection()
2890 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetAnchorSelection()
2892 if( pEntry ) in SetAnchorSelection()
2893 pView->Select( pEntry, sal_False ); in SetAnchorSelection()
2895 pEntry = pNewCursor; in SetAnchorSelection()
2896 while( pEntry && pEntry != pAnchor ) in SetAnchorSelection()
2898 pView->Select( pEntry, sal_True ); in SetAnchorSelection()
2899 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetAnchorSelection()
2901 if( pEntry ) in SetAnchorSelection()
2902 pView->Select( pEntry, sal_True ); in SetAnchorSelection()
2908 pEntry = pNewCursor; in SetAnchorSelection()
2909 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetAnchorSelection()
2910 while( pEntry && pEntry != pOldCursor ) in SetAnchorSelection()
2912 pView->Select( pEntry, sal_False ); in SetAnchorSelection()
2913 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetAnchorSelection()
2915 if( pEntry ) in SetAnchorSelection()
2916 pView->Select( pEntry, sal_False ); in SetAnchorSelection()
2924 pEntry = pNewCursor; in SetAnchorSelection()
2925 while( pEntry && pEntry != pOldCursor ) in SetAnchorSelection()
2927 pView->Select( pEntry, sal_True ); in SetAnchorSelection()
2928 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetAnchorSelection()
2930 if( pEntry ) in SetAnchorSelection()
2931 pView->Select( pEntry, sal_True ); in SetAnchorSelection()
2937 pEntry = pOldCursor; in SetAnchorSelection()
2938 while( pEntry && pEntry != pAnchor ) in SetAnchorSelection()
2940 pView->Select( pEntry, sal_False ); in SetAnchorSelection()
2941 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetAnchorSelection()
2943 if( pEntry ) in SetAnchorSelection()
2944 pView->Select( pEntry, sal_False ); in SetAnchorSelection()
2945 pEntry = pAnchor; in SetAnchorSelection()
2946 while( pEntry && pEntry != pNewCursor ) in SetAnchorSelection()
2948 pView->Select( pEntry, sal_True ); in SetAnchorSelection()
2949 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetAnchorSelection()
2951 if( pEntry ) in SetAnchorSelection()
2952 pView->Select( pEntry, sal_True ); in SetAnchorSelection()
2958 pEntry = pOldCursor; in SetAnchorSelection()
2959 while( pEntry && pEntry != pNewCursor ) in SetAnchorSelection()
2961 pView->Select( pEntry, sal_False ); in SetAnchorSelection()
2962 pEntry = (SvLBoxEntry*)(pView->NextVisible( pEntry )); in SetAnchorSelection()
2972 SvLBoxEntry* pEntry; in SelAllDestrAnch() local
3011 pEntry = pTree->First(); in SelAllDestrAnch()
3012 while( pEntry ) in SelAllDestrAnch()
3014 if( pView->Select( pEntry, bSelect ) ) in SelAllDestrAnch()
3016 if( bUpdate && pView->IsEntryVisible(pEntry) ) in SelAllDestrAnch()
3018 long nY = GetEntryLine( pEntry ); in SelAllDestrAnch()
3020 pView->PaintEntry1( pEntry, nY, 0xffff ); // wg. ItemsetBrowser SV_LBOXTAB_SHOW_SELECTION ); in SelAllDestrAnch()
3023 pEntry = pTree->Next( pEntry ); in SelAllDestrAnch()
3225 SvLBoxEntry* pEntry = aSelRestore.top(); in Command() local
3229 if(pEntry == pView->GetEntry(nEntry)) in Command()
3235 SetCurEntry( pEntry ); in Command()
3282 void SvImpLBox::SetCurEntry( SvLBoxEntry* pEntry ) in SetCurEntry() argument
3288 if ( pEntry ) in SetCurEntry()
3289 MakeVisible( pEntry ); in SetCurEntry()
3290 SetCursor( pEntry ); in SetCurEntry()
3291 if ( pEntry && ( aSelEng.GetSelectionMode() != NO_SELECTION ) ) in SetCurEntry()
3292 pView->Select( pEntry, sal_True ); in SetCurEntry()
3311 SvLBoxEntry* pEntry = GetCurEntry(); in IMPL_LINK() local
3312 if( pEntry ) in IMPL_LINK()
3315 pView->ImplEditEntry( pEntry ); in IMPL_LINK()
3330 SvLBoxEntry* pEntry = GetEntry( aPos ); in RequestHelp() local
3331 if( pEntry ) in RequestHelp()
3335 SvLBoxString* pItem = (SvLBoxString*)(pView->GetItem( pEntry, aPos.X(), &pTab )); in RequestHelp()
3339 aPos = GetEntryPosition( pEntry ); in RequestHelp()
3340 aPos.X() = pView->GetTabPos( pEntry, pTab ); //pTab->GetPos(); in RequestHelp()
3341 Size aSize( pItem->GetSize( pView, pEntry ) ); in RequestHelp()
3345 if( pNextTab && pView->GetTabPos(pEntry,pNextTab) < aPos.X()+aSize.Width() ) in RequestHelp()
3420 sal_Bool SvImpLBox::SetMostRight( SvLBoxEntry* pEntry ) in SetMostRight() argument
3430 sal_uInt16 nLastItem = pEntry->ItemCount() - 1; in SetMostRight()
3437 SvLBoxItem* pItem = pEntry->GetItem( nLastTab ); in SetMostRight()
3439 long nTabPos = pView->GetTabPos( pEntry, pTab ); in SetMostRight()
3448 long nItemSize = pItem->GetSize(pView,pEntry).Width(); in SetMostRight()
3455 pMostRightEntry = pEntry; in SetMostRight()
3469 SvLBoxEntry* pEntry = (SvLBoxEntry*)pView->FirstVisible(); in FindMostRight() local
3470 while( pEntry ) in FindMostRight()
3472 if( pEntry != pEntryToIgnore ) in FindMostRight()
3473 SetMostRight( pEntry ); in FindMostRight()
3474 pEntry = (SvLBoxEntry*)pView->NextVisible( pEntry ); in FindMostRight()
3542 void SvImpLBox::ShowFocusRect( const SvLBoxEntry* pEntry ) in ShowFocusRect() argument
3544 if( pEntry ) in ShowFocusRect()
3546 long nY = GetEntryLine( (SvLBoxEntry*)pEntry ); in ShowFocusRect()
3547 Rectangle aRect = pView->GetFocusRect( (SvLBoxEntry*)pEntry, nY ); in ShowFocusRect()
3625 bool SvImpLBox::IsSelectable( const SvLBoxEntry* pEntry ) in IsSelectable() argument
3627 if( pEntry ) in IsSelectable()
3629 SvViewDataEntry* pViewDataNewCur = pView->GetViewDataEntry(const_cast<SvLBoxEntry*>(pEntry)); in IsSelectable()