/trunk/main/svtools/source/uno/ |
H A D | statusbarcontroller.cxx | 295 if ( !xDispatch.is() ) in disposing() 302 if ( xDispatch == pIter->second ) in disposing() 387 Reference< XDispatch > xDispatch; in addStatusListener() local 443 if ( xDispatch.is() ) in addStatusListener() 503 if ( xDispatch.is() ) in bindListener() 517 xDispatch.clear(); in bindListener() 527 pIter->second = xDispatch; in bindListener() 580 if ( xDispatch.is() ) in unbindListener() 618 Reference< XDispatch > xDispatch; in updateStatus() local 699 xDispatch = pIter->second; in execute() [all …]
|
H A D | framestatuslistener.cxx | 123 if ( xDispatch.is() && xStatusListener.is() ) in dispose() 186 Reference< XDispatch > xDispatch; in addStatusListener() local 224 aIter->second = xDispatch; in addStatusListener() 244 if ( xDispatch.is() ) in addStatusListener() 272 if ( xDispatch.is() && xStatusListener.is() ) in removeStatusListener() 308 if ( xDispatch.is() ) in bindListener() 329 pIter->second = xDispatch; in bindListener() 346 if ( rListener.xDispatch.is() ) in bindListener() 379 if ( xDispatch.is() ) in unbindListener() 399 Reference< XDispatch > xDispatch; in updateStatus() local [all …]
|
H A D | toolboxcontroller.cxx | 335 Reference< XDispatch > xDispatch; in execute() local 353 xDispatch = pIter->second; in execute() 357 if ( xDispatch.is() ) in execute() 403 Reference< XDispatch > xDispatch; in addStatusListener() local 439 aIter->second = xDispatch; in addStatusListener() 459 if ( xDispatch.is() ) in addStatusListener() 519 if ( xDispatch.is() ) in bindListener() 533 xDispatch.clear(); in bindListener() 543 pIter->second = xDispatch; in bindListener() 608 if ( xDispatch.is() ) in unbindListener() [all …]
|
H A D | contextmenuhelper.cxx | 158 uno::Reference< frame::XDispatch > xDispatch; in isCommandEnabled() local 171 xDispatch = m_xDispatchProvider->queryDispatch( aTargetURL, aSelf, 0 ); in isCommandEnabled() 184 if ( xDispatch.is() ) in isCommandEnabled() 189 xDispatch->addStatusListener( xSelf, aTargetURL ); in isCommandEnabled() 190 xDispatch->removeStatusListener( xSelf, aTargetURL ); in isCommandEnabled() 214 uno::Reference< frame::XDispatch > xDispatch; member 366 uno::Reference< frame::XDispatch > xDispatch; in dispatchCommand() local 378 xDispatch = xDispatchProvider->queryDispatch( aTargetURL, m_aSelf, 0 ); in dispatchCommand() 390 if ( xDispatch.is() ) in dispatchCommand() 393 pExecuteInfo->xDispatch = xDispatch; in dispatchCommand() [all …]
|
H A D | generictoolboxcontroller.cxx | 61 ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > xDispatch; 101 Reference< XDispatch > xDispatch; in execute() local 123 xDispatch = pIter->second; in execute() 127 if ( xDispatch.is() && xURLTransformer.is() ) in execute() 137 pExecuteInfo->xDispatch = xDispatch; in execute() 195 pExecuteInfo->xDispatch->dispatch( pExecuteInfo->aTargetURL, pExecuteInfo->aArgs ); in IMPL_STATIC_LINK_NOINSTANCE()
|
H A D | popupmenucontrollerbase.cxx | 77 …PopupMenuControllerBaseDispatchInfo( const Reference< XDispatch >& xDispatch, const URL& rURL, con… in PopupMenuControllerBaseDispatchInfo() 78 : mxDispatch( xDispatch ), maURL( rURL ), maArgs( rArgs ) {} in PopupMenuControllerBaseDispatchInfo() 183 …Reference< XDispatch > xDispatch( xDispatchProvider->queryDispatch( aURL, OUString(), 0 ), UNO_QUE… in dispatchCommand() local 185 …trollerBase, ExecuteHdl_Impl), new PopupMenuControllerBaseDispatchInfo( xDispatch, aURL, rArgs ) ); in dispatchCommand() 222 Reference< XDispatch > xDispatch( m_xDispatch ); in updateCommand() local 229 if ( xDispatch.is() ) in updateCommand() 231 xDispatch->addStatusListener( xStatusListener, aTargetURL ); in updateCommand() 232 xDispatch->removeStatusListener( xStatusListener, aTargetURL ); in updateCommand()
|
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ |
H A D | StatusListener.java | 340 com.sun.star.frame.XDispatch xDispatch = null ; in impl_frameAction() local 347 xDispatch = m_xDispatch; in impl_frameAction() 355 xDispatch.removeStatusListener(this,aURL); in impl_frameAction() 356 xDispatch = null; in impl_frameAction() 368 xDispatch = xProvider.queryDispatch(aURL,"",0); in impl_frameAction() 370 if (xDispatch==null) in impl_frameAction() 373 xDispatch.addStatusListener(this,aURL); in impl_frameAction() 376 m_xDispatch = xDispatch; in impl_frameAction() 451 xDispatch = m_xDispatch; in shutdown() 459 xDispatch.removeStatusListener(this,aURL); in shutdown() [all …]
|
/trunk/main/framework/source/uielement/ |
H A D | langselectionmenucontroller.cxx | 166 Reference< XDispatch > xDispatch = _xDispatch; in impl_select() local 170 xDispatch = m_xMenuDispatch_Font; in impl_select() 174 xDispatch = m_xMenuDispatch_Lang; in impl_select() 178 xDispatch = m_xMenuDispatch_CharDlgForParagraph; in impl_select() 181 if ( !xDispatch.is() ) in impl_select() 185 xDispatch = xDispatchProvider->queryDispatch( aTargetURL, OUString(), 0 ); in impl_select() 188 if ( xDispatch.is() ) in impl_select() 193 xDispatch->dispatch( aTargetURL, aArgs ); in impl_select() 322 Reference< XDispatch > xDispatch( m_xLanguageDispatch ); in updatePopupMenu() local 328 if ( xDispatch.is() ) in updatePopupMenu() [all …]
|
H A D | complextoolbarcontroller.cxx | 128 Reference< XDispatch > xDispatch; in execute() local 146 xDispatch = getDispatchFromCommand( m_aCommandURL ); in execute() 153 if ( xDispatch.is() && aTargetURL.Complete.getLength() > 0 ) in execute() 157 pExecuteInfo->xDispatch = xDispatch; in execute() 250 pExecuteInfo->xDispatch->dispatch( pExecuteInfo->aTargetURL, pExecuteInfo->aArgs ); in IMPL_STATIC_LINK_NOINSTANCE() 290 const uno::Reference< frame::XDispatch >& xDispatch, in addNotifyInfo() 293 … uno::Reference< frame::XControlNotificationListener > xControlNotify( xDispatch, uno::UNO_QUERY ); in addNotifyInfo() 332 uno::Reference< frame::XDispatch > xDispatch; in getDispatchFromCommand() local 338 xDispatch = pIter->second; in getDispatchFromCommand() 341 return xDispatch; in getDispatchFromCommand()
|
H A D | generictoolbarcontroller.cxx | 121 ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > xDispatch; 160 Reference< XDispatch > xDispatch; in execute() local 182 xDispatch = pIter->second; in execute() 186 if ( xDispatch.is() && xURLTransformer.is() ) in execute() 203 pExecuteInfo->xDispatch = xDispatch; in execute() 318 pExecuteInfo->xDispatch->dispatch( pExecuteInfo->aTargetURL, pExecuteInfo->aArgs ); in IMPL_STATIC_LINK_NOINSTANCE() 376 Reference< XDispatchProvider > xDispatch; in createPopupWindow() local 379 ….set( new MenuBarManager( m_xServiceManager, m_xFrame, xURLTransformer, xDispatch, m_aModuleIdenti… in createPopupWindow()
|
H A D | controlmenucontroller.cxx | 341 Reference< XDispatch > xDispatch = pIter->second; in impl_select() local 344 if ( xDispatch.is() ) in impl_select() 345 xDispatch->dispatch( aURL, aArgs ); in impl_select() 420 …Reference< XDispatch > xDispatch = xDispatchProvider->queryDispatch( aTargetURL, ::rtl::OUString()… in updatePopupMenu() local 421 if ( xDispatch.is() ) in updatePopupMenu() 423 … xDispatch->addStatusListener( SAL_STATIC_CAST( XStatusListener*, this ), aTargetURL ); in updatePopupMenu() 424 … xDispatch->removeStatusListener( SAL_STATIC_CAST( XStatusListener*, this ), aTargetURL ); in updatePopupMenu() 425 … m_aURLToDispatchMap.insert( UrlToDispatchMap::value_type( aTargetURL.Complete, xDispatch )); in updatePopupMenu()
|
H A D | macrosmenucontroller.cxx | 141 …Reference< XDispatch > xDispatch = xDispatchProvider->queryDispatch( aTargetURL, ::rtl::OUString()… in impl_select() local 142 if( xDispatch.is() ) in impl_select() 145 pExecuteInfo->xDispatch = xDispatch; in impl_select() 166 pExecuteInfo->xDispatch->dispatch( pExecuteInfo->aTargetURL, pExecuteInfo->aArgs ); in IMPL_STATIC_LINK_NOINSTANCE()
|
H A D | recentfilesmenucontroller.cxx | 218 Reference< XDispatch > xDispatch; in executeEntry() local 262 …xDispatch = xDispatchProvider->queryDispatch( aTargetURL, ::rtl::OUString( RTL_CONSTASCII_USTRINGP… in executeEntry() 265 if ( xDispatch.is() ) in executeEntry() 271 pLoadRecentFile->xDispatch = xDispatch; in executeEntry() 398 pLoadRecentFile->xDispatch->dispatch( pLoadRecentFile->aTargetURL, pLoadRecentFile->aArgSeq ); in IMPL_STATIC_LINK_NOINSTANCE()
|
H A D | toolbarsmenucontroller.cxx | 736 Reference< XDispatch > xDispatch = xDispatchProvider->queryDispatch( in itemSelected() local 740 pExecuteInfo->xDispatch = xDispatch; in itemSelected() 803 …Reference< XDispatch > xDispatch = xDispatchProvider->queryDispatch( aTargetURL, ::rtl::OUString()… in itemActivated() local 804 if ( xDispatch.is() ) in itemActivated() 806 xDispatch->addStatusListener( SAL_STATIC_CAST( XStatusListener*, this ), aTargetURL ); in itemActivated() 807 xDispatch->removeStatusListener( SAL_STATIC_CAST( XStatusListener*, this ), aTargetURL ); in itemActivated() 899 if ( pExecuteInfo->xDispatch.is() ) in IMPL_STATIC_LINK_NOINSTANCE() 901 pExecuteInfo->xDispatch->dispatch( pExecuteInfo->aTargetURL, pExecuteInfo->aArgs ); in IMPL_STATIC_LINK_NOINSTANCE()
|
H A D | newmenucontroller.cxx | 418 Reference< XDispatch > xDispatch; in itemSelected() local 454 xDispatch = xDispatchProvider->queryDispatch( aTargetURL, aTargetFrame, 0 ); in itemSelected() 458 if ( xDispatch.is() ) in itemSelected() 464 pNewDocument->xDispatch = xDispatch; in itemSelected() 577 pNewDocument->xDispatch->dispatch( pNewDocument->aTargetURL, pNewDocument->aArgSeq ); in IMPL_STATIC_LINK_NOINSTANCE()
|
/trunk/main/sd/source/ui/tools/ |
H A D | SlotStateListener.cxx | 102 uno::Reference<frame::XDispatch> xDispatch (GetDispatch(aURL)); in ObserveSlot() local 103 if (xDispatch.is()) in ObserveSlot() 106 xDispatch->addStatusListener(this,aURL); in ObserveSlot() 150 uno::Reference<frame::XDispatch> xDispatch; in GetDispatch() local 154 xDispatch = xDispatchProvider->queryDispatch(rURL, OUString(), 0); in GetDispatch() 156 return xDispatch; in GetDispatch() 183 uno::Reference<frame::XDispatch> xDispatch (GetDispatch(*iURL)); in ReleaseListeners() local 184 if (xDispatch.is()) in ReleaseListeners() 186 xDispatch->removeStatusListener(this,*iURL); in ReleaseListeners()
|
/trunk/main/framework/source/services/ |
H A D | sessionlistener.cxx | 161 …css::uno::Reference< XDispatch > xDispatch(m_xSMGR->createInstance(SERVICENAME_AUTORECOVERY), UNO_… in StoreSession() local 169 xDispatch->addStatusListener(this, aURL); in StoreSession() 173 xDispatch->dispatch(aURL, args); in StoreSession() 193 …css::uno::Reference< XDispatch > xDispatch(m_xSMGR->createInstance(SERVICENAME_AUTORECOVERY), UNO_… in QuitSessionQuietly() local 201 xDispatch->dispatch(aURL, args); in QuitSessionQuietly() 270 …css::uno::Reference< XDispatch > xDispatch(m_xSMGR->createInstance(SERVICENAME_AUTORECOVERY), UNO_… in doRestore() local 277 xDispatch->addStatusListener(this, aURL); in doRestore() 278 xDispatch->dispatch(aURL, args); in doRestore()
|
H A D | dispatchhelper.cxx | 139 …css::uno::Reference< css::frame::XDispatch > xDispatch = xDispatchProvider->queryDi… in executeDispatch() local 140 …css::uno::Reference< css::frame::XNotifyingDispatch > xNotifyDispatch (xDispatch, css::uno::UNO_QU… in executeDispatch() 170 if (xDispatch.is()) in executeDispatch() 173 xDispatch->dispatch( aURL, aArguments ); in executeDispatch()
|
/trunk/main/svtools/source/misc/ |
H A D | acceleratorexecute.cxx | 100 …AsyncAccelExec* createOnShotInstance(const css::uno::Reference< css::frame::XDispatch >& xDispatch, 111 SVT_DLLPRIVATE AsyncAccelExec(const css::uno::Reference< css::frame::XDispatch >& xDispatch, 249 …css::uno::Reference< css::frame::XDispatch > xDispatch = xProvider->queryDispatch(aURL, ::rtl::OUS… in execute() local 250 sal_Bool bRet = xDispatch.is(); in execute() 270 AsyncAccelExec* pExec = AsyncAccelExec::createOnShotInstance(xDispatch, aURL); in execute() 547 AsyncAccelExec::AsyncAccelExec(const css::uno::Reference< css::frame::XDispatch >& xDispatch, in AsyncAccelExec() argument 550 , m_xDispatch (xDispatch ) in AsyncAccelExec() 556 …AsyncAccelExec::createOnShotInstance(const css::uno::Reference< css::frame::XDispatch >& xDispatch, in createOnShotInstance() argument 559 AsyncAccelExec* pExec = new AsyncAccelExec(xDispatch, aURL); in createOnShotInstance()
|
/trunk/main/odk/examples/cpp/complextoolbarcontrols/ |
H A D | ListenerHelper.cxx | 89 rEvent.Source = aListeners[i].xDispatch; in Notify() 109 return aListeners[i].xDispatch; in GetDispatch() 116 const Reference < XDispatch > xDispatch, in AddDispatch() 122 aItem.xDispatch = xDispatch; in AddDispatch()
|
/trunk/main/sfx2/source/control/ |
H A D | unoctitm.cxx | 193 if ( xDispatch.is() ) in ReleaseDispatch() 195 xDispatch->removeStatusListener( (::com::sun::star::frame::XStatusListener*) this, aCommand ); in ReleaseDispatch() 196 xDispatch = ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > (); in ReleaseDispatch() 210 xDispatch = ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > (); in GetNewDispatch() 220 xDispatch = TryGetDispatch( pParent ); in GetNewDispatch() 222 if ( !xDispatch.is() ) in GetNewDispatch() 228 xDispatch = xProv->queryDispatch( aCommand, ::rtl::OUString(), 0 ); in GetNewDispatch() 231 if ( xDispatch.is() ) in GetNewDispatch() 232 xDispatch->addStatusListener( (::com::sun::star::frame::XStatusListener*) this, aCommand ); in GetNewDispatch() 264 if ( xDispatch.is() ) in Execute() [all …]
|
/trunk/main/dbaccess/source/core/dataaccess/ |
H A D | intercept.cxx | 173 Reference< XDispatch > xDispatch = m_xSlaveDispatchProvider->queryDispatch( in dispatch() local 175 if ( xDispatch.is() ) in dispatch() 176 xDispatch->dispatch( _URL, aNewArgs ); in dispatch() 201 Reference< XDispatch > xDispatch = m_xSlaveDispatchProvider->queryDispatch( in IMPL_LINK() local 203 if ( xDispatch.is() ) in IMPL_LINK() 210 xDispatch->dispatch( pHelper->aURL,pHelper->aArguments); in IMPL_LINK()
|
/trunk/main/sfx2/source/inet/ |
H A D | inettbc.cxx | 127 … Reference< XDispatch > xDispatch = xDispatchProvider->queryDispatch( aTargetURL, aTarget, 0 ); in OpenURL() local 128 if ( xDispatch.is() ) in OpenURL() 146 pExecuteInfo->xDispatch = xDispatch; in OpenURL() 163 pExecuteInfo->xDispatch->dispatch( pExecuteInfo->aTargetURL, pExecuteInfo->aArgs ); in IMPL_STATIC_LINK_NOINSTANCE()
|
/trunk/main/desktop/source/app/ |
H A D | dispatchwatcher.cxx | 72 aURL( rURL ), xDispatch( rDispatch ) {} in DispatchHolder() 76 Reference< XDispatch > xDispatch; member 418 Reference< XDispatch > xDispatch = aDispatches[n].xDispatch; in executeDispatchRequests() local 419 Reference < XNotifyingDispatch > xDisp( xDispatch, UNO_QUERY ); in executeDispatchRequests() 427 xDispatch->dispatch( aDispatches[n].aURL, aArgs ); in executeDispatchRequests()
|
/trunk/main/framework/source/application/ |
H A D | framework.cxx | 262 Reference< XDispatch > xDispatch = xDispatchProvider->queryDispatch( aURL, FRAMETYPE_BLANK, 0 ); in Main() local 263 xDispatch->dispatch( aURL, Sequence< PropertyValue >() ); in Main() 272 xDispatch = xDispatchProvider->queryDispatch( aURL, FRAMETYPE_BLANK, 0 ); in Main() 273 xDispatch->dispatch( aURL, Sequence< PropertyValue >() ); in Main()
|