Lines Matching refs:pEntry

82 void SvTabListBox::InitEntry( SvLBoxEntry* pEntry, const XubString& rStr,  in InitEntry()  argument
85 SvTreeListBox::InitEntry( pEntry, rStr, rColl, rExp, eButtonKind ); in InitEntry()
99 SvLBoxString* pStr = new SvLBoxString( pEntry, 0, aToken ); in InitEntry()
100 pEntry->AddItem( pStr ); in InitEntry()
268 String SvTabListBox::GetEntryText( SvLBoxEntry* pEntry ) const in GetEntryText()
270 return GetEntryText( pEntry, 0xffff ); in GetEntryText()
273 String SvTabListBox::GetEntryText( SvLBoxEntry* pEntry, sal_uInt16 nCol ) const in GetEntryText() argument
275 DBG_ASSERT(pEntry,"GetEntryText:Invalid Entry"); in GetEntryText()
277 if( pEntry ) in GetEntryText()
279 sal_uInt16 nCount = pEntry->ItemCount(); in GetEntryText()
283 SvLBoxItem* pStr = pEntry->GetItem( nCur ); in GetEntryText()
307 SvLBoxEntry* pEntry = GetEntryOnPos( nPos ); in GetEntryText() local
308 return GetEntryText( pEntry, nCol ); in GetEntryText()
313 SvLBoxEntry* pEntry = SvTreeListBox::GetEntry( nPos ); in SetEntryText() local
314 SetEntryText( rStr, pEntry, nCol ); in SetEntryText()
317 void SvTabListBox::SetEntryText( const XubString& rStr, SvLBoxEntry* pEntry, sal_uInt16 nCol ) in SetEntryText() argument
319 DBG_ASSERT(pEntry,"SetEntryText:Invalid Entry"); in SetEntryText()
320 if( !pEntry ) in SetEntryText()
323 String sOldText = GetEntryText( pEntry, nCol ); in SetEntryText()
333 sal_uInt16 nCount = pEntry->ItemCount(); in SetEntryText()
337 SvLBoxItem* pStr = pEntry->GetItem( nCur ); in SetEntryText()
346 ((SvLBoxString*)pStr)->SetText( pEntry, aTemp ); in SetEntryText()
355 ((SvLBoxString*)pStr)->SetText( pEntry, aTemp ); in SetEntryText()
367 GetModel()->InvalidateEntry( pEntry ); in SetEntryText()
369 TabListBoxEventData* pData = new TabListBoxEventData( pEntry, nTextColumn, sOldText ); in SetEntryText()
376 SvLBoxEntry* pEntry = GetEntryOnPos( nPos ); in GetCellText() local
377 DBG_ASSERT( pEntry, "SvTabListBox::GetCellText(): Invalid Entry" ); in GetCellText()
379 if ( pEntry && pEntry->ItemCount() > ( nCol + 1 ) ) in GetCellText()
381 SvLBoxItem* pStr = pEntry->GetItem( nCol + 1 ); in GetCellText()
391 SvLBoxEntry* pEntry = First(); in GetEntryPos() local
392 while( pEntry ) in GetEntryPos()
394 XubString aStr( GetEntryText( pEntry, nCol )); in GetEntryPos()
397 pEntry = Next( pEntry ); in GetEntryPos()
403 sal_uLong SvTabListBox::GetEntryPos( const SvLBoxEntry* pEntry ) const in GetEntryPos()
409 if ( pTmpEntry == pEntry ) in GetEntryPos()
448 SvLBoxEntry* pEntry = SvTreeListBox::GetEntry( nPos ); in GetTabEntryText() local
449 DBG_ASSERT( pEntry, "GetTabEntryText(): Invalid entry " ); in GetTabEntryText()
451 if ( pEntry ) in GetTabEntryText()
453 sal_uInt16 nCount = pEntry->ItemCount(); in GetTabEntryText()
457 SvLBoxItem* pStr = pEntry->GetItem( nCur ); in GetTabEntryText()
486 SvLBoxEntry* pEntry = NULL; in GetEntryOnPos() local
493 pEntry = pParent; in GetEntryOnPos()
499 pEntry = GetChildOnPos( pParent, _nEntryPos, nPos ); in GetEntryOnPos()
500 if ( pEntry ) in GetEntryOnPos()
505 return pEntry; in GetEntryOnPos()
519 SvLBoxEntry* pEntry = GetChildOnPos( pParent, _nEntryPos, _rPos ); in GetChildOnPos() local
520 if ( pEntry ) in GetChildOnPos()
521 return pEntry; in GetChildOnPos()
632 sal_Bool SvHeaderTabListBox::IsItemChecked( SvLBoxEntry* pEntry, sal_uInt16 nCol ) const in IsItemChecked() argument
635 SvLBoxButton* pItem = (SvLBoxButton*)( pEntry->GetItem( nCol + 1 ) ); in IsItemChecked()
651 SvLBoxEntry* pEntry = SvTabListBox::InsertEntryToColumn( rStr, nPos, nCol, pUserData ); in InsertEntryToColumn() local
653 return pEntry; in InsertEntryToColumn()
661 SvLBoxEntry* pEntry = SvTabListBox::InsertEntryToColumn( rStr, pParent, nPos, nCol, pUserData ); in InsertEntryToColumn() local
663 return pEntry; in InsertEntryToColumn()
672 SvLBoxEntry* pEntry = SvTabListBox::InsertEntryToColumn( in InsertEntryToColumn() local
675 return pEntry; in InsertEntryToColumn()
690 sal_uLong SvHeaderTabListBox::Insert( SvLBoxEntry* pEntry, sal_uLong nRootPos ) in Insert() argument
692 sal_uLong nPos = SvTabListBox::Insert( pEntry, nRootPos ); in Insert()
761 SvLBoxEntry* pEntry = GetEntry( _nRow ); in IsCellCheckBox() local
762 if ( pEntry ) in IsCellCheckBox()
764 sal_uInt16 nItemCount = pEntry->ItemCount(); in IsCellCheckBox()
767 SvLBoxButton* pItem = (SvLBoxButton*)( pEntry->GetItem( _nColumn + 1 ) ); in IsCellCheckBox()
797 SvLBoxEntry* pEntry = GetCurEntry(); in GetCurrRow() local
798 if ( pEntry ) in GetCurrRow()
803 if ( pEntry == GetEntry(i) ) in GetCurrRow()
891 SvLBoxEntry* pEntry = GetEntry( _nRow ); in IsRowSelected() local
892 return ( pEntry && IsSelected( pEntry ) ); in IsRowSelected()
946 SvLBoxEntry* pEntry = GetEntry( _nRow ); in GetFieldRectPixelAbs() local
947 if ( pEntry ) in GetFieldRectPixelAbs()
949 aRect = _bIsHeader ? calcHeaderRect( sal_True, sal_False ) : GetBoundingRect( pEntry ); in GetFieldRectPixelAbs()