Lines Matching refs:sal_uInt16

375 		m_nRowHeight = (sal_uInt16)aListBox.GetSizePixel().Height()+2;  in DBG_NAME()
496 for ( sal_uInt16 i = 0; i < m_aOrderedLines.size(); ++i ) in Resize()
558 sal_uInt16 OBrowserListBox::CalcVisibleLines() in CalcVisibleLines()
561 sal_uInt16 nResult = 0; in CalcVisibleLines()
563 nResult = (sal_uInt16) aSize.Height()/m_nRowHeight; in CalcVisibleLines()
571 sal_uInt16 nLines = CalcVisibleLines(); in UpdateVScroll()
589 void OBrowserListBox::PositionLine( sal_uInt16 _nIndex ) in PositionLine()
613 for ( ::std::set< sal_uInt16 >::const_iterator aLoop = m_aOutOfDateLines.begin(); in UpdatePosNSize()
631 sal_uInt16 nEnd = (sal_uInt16)(nThumbPos + nLines); in UpdatePlayGround()
633 nEnd = (sal_uInt16)m_aOrderedLines.size()-1; in UpdatePlayGround()
637 for ( sal_uInt16 i = (sal_uInt16)nThumbPos; i <= nEnd; ++i ) in UpdatePlayGround()
681 sal_uInt16 OBrowserListBox::GetPropertyPos( const ::rtl::OUString& _rEntryName ) const in GetPropertyPos()
683 sal_uInt16 nRet = LISTBOX_ENTRY_NOTFOUND; in GetPropertyPos()
691 nRet = (sal_uInt16)( linePos - m_aOrderedLines.begin() ); in GetPropertyPos()
736 sal_uInt16 OBrowserListBox::InsertEntry(const OLineDescriptor& _rPropertyData, sal_uInt16 _nPos) in InsertEntry()
746 sal_uInt16 nInsertPos = _nPos; in InsertEntry()
751 nInsertPos = (sal_uInt16)m_aOrderedLines.size(); in InsertEntry()
768 sal_uInt16 nUpdatePos = nInsertPos; in InsertEntry()
800 void OBrowserListBox::ShowEntry(sal_uInt16 _nPos) in ShowEntry()
832 sal_uInt16 nEnd = (sal_uInt16)(nThumbPos + nLines); in MoveThumbTo()
844 PositionLine((sal_uInt16)nThumbPos); in MoveThumbTo()
869 sal_uInt16 nEnd = (sal_uInt16)(nThumbPos + CalcVisibleLines()); in IMPL_LINK()
880 PositionLine((sal_uInt16)nThumbPos); in IMPL_LINK()
967sal_uInt16 OBrowserListBox::impl_getControlPos( const Reference< XPropertyControl >& _rxControl ) … in impl_getControlPos()
974 return sal_uInt16( search - m_aOrderedLines.begin() ); in impl_getControlPos()
976 return (sal_uInt16)-1; in impl_getControlPos()
1022 sal_uInt16 nLine = impl_getControlPos( _rxCurrentControl ); in activateNextControl()
1083 sal_uInt16 nPos = GetPropertyPos( _rName ); in RemoveEntry()
1094 m_aOutOfDateLines.erase( (sal_uInt16)m_aOrderedLines.size() ); in RemoveEntry()
1106 void OBrowserListBox::ChangeEntry( const OLineDescriptor& _rPropertyData, sal_uInt16 nPos ) in ChangeEntry()
1150 sal_uInt16 nTextWidth = (sal_uInt16)m_aLinesPlayground.GetTextWidth(_rPropertyData.DisplayName); in ChangeEntry()
1252 sal_uInt16 nFocusControlPos = 0; in PreNotify()
1253 sal_uInt16 nActiveControlPos = impl_getControlPos( m_xActiveControl ); in PreNotify()
1255 nFocusControlPos = (sal_uInt16)nNewThumbPos; in PreNotify()
1257 nFocusControlPos = (sal_uInt16)nNewThumbPos + CalcVisibleLines() - 1; in PreNotify()