Lines Matching refs:pListBox
1815 ListBox* pListBox = (ListBox*)GetWindow(); in ProcessWindowEvent() local
1817 if( pListBox ) in ProcessWindowEvent()
1819 sal_Bool bDropDown = ( pListBox->GetStyle() & WB_DROPDOWN ) ? sal_True : sal_False; in ProcessWindowEvent()
1825 aEvent.ActionCommand = pListBox->GetSelectEntry(); in ProcessWindowEvent()
1864 ListBox* pListBox = (ListBox*)GetWindow(); in setProperty() local
1865 if ( pListBox ) in setProperty()
1874 pListBox->SetSeparatorPos( nSeparatorPos ); in setProperty()
1881 pListBox->SetReadOnly( b); in setProperty()
1888 pListBox->EnableMultiSelection( b ); in setProperty()
1892 ::toolkit::adjustBooleanWindowStyle( Value, pListBox, WB_SIMPLEMODE, sal_False ); in setProperty()
1898 pListBox->SetDropDownLineCount( n ); in setProperty()
1906 pListBox->Clear(); in setProperty()
1916 for ( sal_uInt16 n = pListBox->GetEntryCount(); n; ) in setProperty()
1917 pListBox->SelectEntryPos( --n, sal_False ); in setProperty()
1922 pListBox->SetNoSelection(); in setProperty()
1924 if ( !pListBox->GetSelectEntryCount() ) in setProperty()
1925 pListBox->SetTopEntry( 0 ); in setProperty()
1942 ListBox* pListBox = (ListBox*)GetWindow(); in getProperty() local
1943 if ( pListBox ) in getProperty()
1949 aProp <<= sal_Int16( pListBox->GetSeparatorPos() ); in getProperty()
1953 aProp <<= (sal_Bool) pListBox->IsReadOnly(); in getProperty()
1958 aProp <<= (sal_Bool) pListBox->IsMultiSelectionEnabled(); in getProperty()
1963 aProp <<= (sal_Bool)( ( pListBox->GetStyle() & WB_SIMPLEMODE ) == 0 ); in getProperty()
1968 aProp <<= (sal_Int16) pListBox->GetDropDownLineCount(); in getProperty()
1973 sal_uInt16 nItems = pListBox->GetEntryCount(); in getProperty()
1977 pStrings[n] = pListBox->GetEntry( n ); in getProperty()
1996 ListBox* pListBox = (ListBox*) GetWindow(); in getMinimumSize() local
1997 if ( pListBox ) in getMinimumSize()
1998 aSz = pListBox->CalcMinimumSize(); in getMinimumSize()
2007 ListBox* pListBox = (ListBox*) GetWindow(); in getPreferredSize() local
2008 if ( pListBox ) in getPreferredSize()
2010 aSz = pListBox->CalcMinimumSize(); in getPreferredSize()
2011 if ( pListBox->GetStyle() & WB_DROPDOWN ) in getPreferredSize()
2022 ListBox* pListBox = (ListBox*) GetWindow(); in calcAdjustedSize() local
2023 if ( pListBox ) in calcAdjustedSize()
2024 aSz = pListBox->CalcAdjustedSize( aSz ); in calcAdjustedSize()
2033 ListBox* pListBox = (ListBox*) GetWindow(); in getMinimumSize() local
2034 if ( pListBox ) in getMinimumSize()
2035 aSz = pListBox->CalcSize( nCols, nLines ); in getMinimumSize()
2044 ListBox* pListBox = (ListBox*) GetWindow(); in getColumnsAndLines() local
2045 if ( pListBox ) in getColumnsAndLines()
2048 pListBox->GetMaxVisColumnsAndLines( nC, nL ); in getColumnsAndLines()
2056 ListBox* pListBox = (ListBox*) GetWindow(); in ImplCallItemListeners() local
2057 if ( pListBox && maItemListeners.getLength() ) in ImplCallItemListeners()
2064 …aEvent.Selected = (pListBox->GetSelectEntryCount() == 1 ) ? pListBox->GetSelectEntryPos() : 0xFFFF; in ImplCallItemListeners()
2099 ListBox* pListBox = dynamic_cast< ListBox* >( GetWindow() ); in listItemInserted() local
2101 ENSURE_OR_RETURN_VOID( pListBox, "VCLXListBox::listItemInserted: no ListBox?!" ); in listItemInserted()
2102 …( i_rEvent.ItemPosition >= 0 ) && ( i_rEvent.ItemPosition <= sal_Int32( pListBox->GetEntryCount() … in listItemInserted()
2104 pListBox->InsertEntry( in listItemInserted()
2114 ListBox* pListBox = dynamic_cast< ListBox* >( GetWindow() ); in listItemRemoved() local
2116 ENSURE_OR_RETURN_VOID( pListBox, "VCLXListBox::listItemRemoved: no ListBox?!" ); in listItemRemoved()
2117 … ( i_rEvent.ItemPosition >= 0 ) && ( i_rEvent.ItemPosition < sal_Int32( pListBox->GetEntryCount() … in listItemRemoved()
2120 pListBox->RemoveEntry( i_rEvent.ItemPosition ); in listItemRemoved()
2127 ListBox* pListBox = dynamic_cast< ListBox* >( GetWindow() ); in listItemModified() local
2129 ENSURE_OR_RETURN_VOID( pListBox, "VCLXListBox::listItemModified: no ListBox?!" ); in listItemModified()
2130 … ( i_rEvent.ItemPosition >= 0 ) && ( i_rEvent.ItemPosition < sal_Int32( pListBox->GetEntryCount() … in listItemModified()
2135 …_rEvent.ItemText.IsPresent ? i_rEvent.ItemText.Value : ::rtl::OUString( pListBox->GetEntry( i_rEve… in listItemModified()
2136 ….IsPresent ? TkResMgr::getImageFromURL( i_rEvent.ItemImageURL.Value ) : pListBox->GetEntryImage( i… in listItemModified()
2138 pListBox->RemoveEntry( i_rEvent.ItemPosition ); in listItemModified()
2139 pListBox->InsertEntry( sNewText, aNewImage, i_rEvent.ItemPosition ); in listItemModified()
2146 ListBox* pListBox = dynamic_cast< ListBox* >( GetWindow() ); in allItemsRemoved() local
2147 ENSURE_OR_RETURN_VOID( pListBox, "VCLXListBox::listItemModified: no ListBox?!" ); in allItemsRemoved()
2149 pListBox->Clear(); in allItemsRemoved()
2158 ListBox* pListBox = dynamic_cast< ListBox* >( GetWindow() ); in itemListChanged() local
2159 ENSURE_OR_RETURN_VOID( pListBox, "VCLXListBox::listItemModified: no ListBox?!" ); in itemListChanged()
2161 pListBox->Clear(); in itemListChanged()
2184 pListBox->InsertEntry( aLocalizationKey, lcl_getImageFromURL( aItems[i].Second ) ); in itemListChanged()