Lines Matching refs:_pControl
199 …void OControlAccess::setHelpURL( Window* _pControl, const ::rtl::OUString& sHelpURL, sal_Bool _bFi… in setHelpURL() argument
210 static_cast< SvtFileView* >( _pControl )->SetHelpId( sID ); in setHelpURL()
212 _pControl->SetHelpId( sID ); in setHelpURL()
216 ::rtl::OUString OControlAccess::getHelpURL( Window* _pControl, sal_Bool _bFileView ) in getHelpURL() argument
218 rtl::OString aHelpId = _pControl->GetHelpId(); in getHelpURL()
221 aHelpId = static_cast< SvtFileView* >( _pControl )->GetHelpId( ); in getHelpURL()
550 …void OControlAccess::implSetControlProperty( sal_Int16 _nControlId, Control* _pControl, sal_Int16 … in implSetControlProperty() argument
552 if ( !_pControl ) in implSetControlProperty()
553 _pControl = m_pFilePickerController->getControl( _nControlId ); in implSetControlProperty()
554 …DBG_ASSERT( _pControl, "OControlAccess::implSetControlProperty: invalid argument, this will crash!… in implSetControlProperty()
555 if ( !_pControl ) in implSetControlProperty()
558 DBG_ASSERT( _pControl == m_pFilePickerController->getControl( _nControlId ), in implSetControlProperty()
568 _pControl->SetText( sText ); in implSetControlProperty()
596 _pControl->Show( bVisible ); in implSetControlProperty()
610 setHelpURL( _pControl, sHelpURL, m_pFileView == _pControl ); in implSetControlProperty()
621 DBG_ASSERT( WINDOW_LISTBOX == _pControl->GetType(), in implSetControlProperty()
628 static_cast< ListBox* >( _pControl )->Clear(); in implSetControlProperty()
638 static_cast< ListBox* >( _pControl )->InsertEntry( *pItem ); in implSetControlProperty()
651 DBG_ASSERT( WINDOW_LISTBOX == _pControl->GetType(), in implSetControlProperty()
657 static_cast< ListBox* >( _pControl )->SelectEntry( sSelected ); in implSetControlProperty()
668 DBG_ASSERT( WINDOW_LISTBOX == _pControl->GetType(), in implSetControlProperty()
674 static_cast< ListBox* >( _pControl )->SelectEntryPos( (sal_uInt16) nPos ); in implSetControlProperty()
685 DBG_ASSERT( WINDOW_CHECKBOX == _pControl->GetType(), in implSetControlProperty()
691 static_cast< CheckBox* >( _pControl )->Check( bChecked ); in implSetControlProperty()
706 Any OControlAccess::implGetControlProperty( Control* _pControl, sal_Int16 _nProperty ) const in implGetControlProperty() argument
708 …DBG_ASSERT( _pControl, "OControlAccess::implGetControlProperty: invalid argument, this will crash!… in implGetControlProperty()
714 aReturn <<= ::rtl::OUString( _pControl->GetText() ); in implGetControlProperty()
718 aReturn <<= (sal_Bool)_pControl->IsEnabled(); in implGetControlProperty()
722 aReturn <<= (sal_Bool)_pControl->IsVisible(); in implGetControlProperty()
726 aReturn <<= getHelpURL( _pControl, m_pFileView == _pControl ); in implGetControlProperty()
731 DBG_ASSERT( WINDOW_LISTBOX == _pControl->GetType(), in implGetControlProperty()
734 Sequence< ::rtl::OUString > aItems( static_cast< ListBox* >( _pControl )->GetEntryCount() ); in implGetControlProperty()
736 for ( sal_uInt16 i=0; i<static_cast< ListBox* >( _pControl )->GetEntryCount(); ++i ) in implGetControlProperty()
737 *pItems++ = static_cast< ListBox* >( _pControl )->GetEntry( i ); in implGetControlProperty()
745 DBG_ASSERT( WINDOW_LISTBOX == _pControl->GetType(), in implGetControlProperty()
748 sal_uInt16 nSelected = static_cast< ListBox* >( _pControl )->GetSelectEntryPos(); in implGetControlProperty()
751 sSelected = static_cast< ListBox* >( _pControl )->GetSelectEntry(); in implGetControlProperty()
758 DBG_ASSERT( WINDOW_LISTBOX == _pControl->GetType(), in implGetControlProperty()
761 sal_uInt16 nSelected = static_cast< ListBox* >( _pControl )->GetSelectEntryPos(); in implGetControlProperty()
763 aReturn <<= (sal_Int32)static_cast< ListBox* >( _pControl )->GetSelectEntryPos(); in implGetControlProperty()
770 DBG_ASSERT( WINDOW_CHECKBOX == _pControl->GetType(), in implGetControlProperty()
773 aReturn <<= (sal_Bool)static_cast< CheckBox* >( _pControl )->IsChecked( ); in implGetControlProperty()