/trunk/main/framework/test/ |
H A D | test.cxx | 219 impl_testDesktop( xDesktop ); in Main() 627 impl_buildTree ( xDesktop ); in impl_testDesktop() 628 impl_logTree ( xDesktop ); in impl_testDesktop() 932 impl_logTree( xDesktop ); in impl_buildTree() 943 impl_logTree( xDesktop ); in impl_buildTree() 953 impl_logTree( xDesktop ); in impl_buildTree() 958 impl_logTree( xDesktop ); in impl_buildTree() 964 impl_logTree( xDesktop ); in impl_buildTree() 969 impl_logTree( xDesktop ); in impl_buildTree() 974 impl_logTree( xDesktop ); in impl_buildTree() [all …]
|
/trunk/main/odk/examples/java/Text/ |
H A D | TextReplace.java | 40 com.sun.star.frame.XDesktop xDesktop = null; in main() local 41 xDesktop = getDesktop(); in main() 44 createTextdocument( xDesktop ); in main() 142 com.sun.star.frame.XDesktop xDesktop = null; in getDesktop() local 158 xDesktop = (com.sun.star.frame.XDesktop) UnoRuntime.queryInterface( in getDesktop() 170 return xDesktop; in getDesktop() 174 com.sun.star.frame.XDesktop xDesktop ) in createTextdocument() argument 179 com.sun.star.lang.XComponent xComponent = CreateNewDocument(xDesktop, in createTextdocument() 194 com.sun.star.frame.XDesktop xDesktop, in CreateNewDocument() argument 209 com.sun.star.frame.XComponentLoader.class, xDesktop); in CreateNewDocument()
|
H A D | StyleCreation.java | 41 com.sun.star.frame.XDesktop xDesktop = null; in main() local 42 xDesktop = getDesktop(); in main() 47 xTextDocument = createTextdocument(xDesktop); in main() 136 com.sun.star.frame.XDesktop xDesktop = null; in getDesktop() local 152 xDesktop = (com.sun.star.frame.XDesktop) UnoRuntime.queryInterface( in getDesktop() 164 return xDesktop; in getDesktop() 168 com.sun.star.frame.XDesktop xDesktop ) in createTextdocument() argument 173 com.sun.star.lang.XComponent xComponent = CreateNewDocument(xDesktop, in createTextdocument() 188 com.sun.star.frame.XDesktop xDesktop, in CreateNewDocument() argument 203 com.sun.star.frame.XComponentLoader.class, xDesktop); in CreateNewDocument()
|
H A D | BookmarkInsertion.java | 41 com.sun.star.frame.XDesktop xDesktop = null; in main() local 42 xDesktop = getDesktop(); in main() 46 xTextDocument = createTextdocument(xDesktop); in main() 195 com.sun.star.frame.XDesktop xDesktop = null; in getDesktop() local 211 xDesktop = (com.sun.star.frame.XDesktop) UnoRuntime.queryInterface( in getDesktop() 223 return xDesktop; in getDesktop() 227 com.sun.star.frame.XDesktop xDesktop ) in createTextdocument() argument 232 com.sun.star.lang.XComponent xComponent = CreateNewDocument(xDesktop, in createTextdocument() 247 com.sun.star.frame.XDesktop xDesktop, in CreateNewDocument() argument 262 com.sun.star.frame.XComponentLoader.class, xDesktop); in CreateNewDocument()
|
H A D | HardFormatting.java | 42 com.sun.star.frame.XDesktop xDesktop = null; in main() local 43 xDesktop = getDesktop(); in main() 48 xTextDocument = createTextdocument(xDesktop); in main() 197 com.sun.star.frame.XDesktop xDesktop = null; in getDesktop() local 213 xDesktop = (com.sun.star.frame.XDesktop) UnoRuntime.queryInterface( in getDesktop() 225 return xDesktop; in getDesktop() 229 com.sun.star.frame.XDesktop xDesktop ) in createTextdocument() argument 234 com.sun.star.lang.XComponent xComponent = CreateNewDocument(xDesktop, in createTextdocument() 249 com.sun.star.frame.XDesktop xDesktop, in CreateNewDocument() argument 264 com.sun.star.frame.XComponentLoader.class, xDesktop); in CreateNewDocument()
|
H A D | StyleInitialization.java | 41 com.sun.star.frame.XDesktop xDesktop = null; in main() local 42 xDesktop = getDesktop(); in main() 49 xTextDocument = createTextdocument( xDesktop ); in main() 231 com.sun.star.frame.XDesktop xDesktop = null; in getDesktop() local 247 xDesktop = (com.sun.star.frame.XDesktop) UnoRuntime.queryInterface( in getDesktop() 259 return xDesktop; in getDesktop() 263 com.sun.star.frame.XDesktop xDesktop ) in createTextdocument() argument 268 com.sun.star.lang.XComponent xComponent = CreateNewDocument(xDesktop, in createTextdocument() 283 com.sun.star.frame.XDesktop xDesktop, in CreateNewDocument() argument 298 com.sun.star.frame.XComponentLoader.class, xDesktop); in CreateNewDocument()
|
/trunk/main/sfx2/source/appl/ |
H A D | shutdownicon.cxx | 197 AsyncDesktopTerminationData( const Reference< XDesktop > &xDesktop ) in AsyncDesktopTerminationData() 198 : mxDesktop( xDesktop ) {} in AsyncDesktopTerminationData() 567 Reference< XDesktop > xDesktop = pInst->m_xDesktop; in addTerminateListener() local 568 if ( ! xDesktop.is()) in addTerminateListener() 571 xDesktop->addTerminateListener( pInst ); in addTerminateListener() 583 Reference< XDesktop > xDesktop = pInst->m_xDesktop; in terminateDesktop() local 584 if ( ! xDesktop.is()) in terminateDesktop() 589 xDesktop->removeTerminateListener( pInst ); in terminateDesktop() 592 Reference< XFramesSupplier > xSupplier( xDesktop, UNO_QUERY ); in terminateDesktop() 656 Reference < XDesktop > xDesktop( m_xServiceManager->createInstance( in init() local [all …]
|
H A D | sfxhelp.cxx | 679 Reference < XDesktop > xDesktop( ::comphelper::getProcessServiceFactory()->createInstance( in getCurrentModuleIdentifier_Impl() local 681 if ( xDesktop.is() ) in getCurrentModuleIdentifier_Impl() 682 xCurrentFrame = xDesktop->getCurrentFrame(); in getCurrentModuleIdentifier_Impl() 811 Reference < XFrame > xDesktop( ::comphelper::getProcessServiceFactory()->createInstance( in impl_createHelp() local 815 Reference< XFrame > xHelpTask = xDesktop->findFrame( in impl_createHelp() 975 Reference < XFrame > xDesktop( ::comphelper::getProcessServiceFactory()->createInstance( in Start_Impl() local 981 Reference< XFrame > xHelp = xDesktop->findFrame( in Start_Impl() 984 Reference< XFrame > xHelpContent = xDesktop->findFrame( in Start_Impl() 1047 Reference < XDesktop > xDesktop( ::comphelper::getProcessServiceFactory()->createInstance( in OpenHelpAgent() local 1049 if ( xDesktop.is() ) in OpenHelpAgent() [all …]
|
H A D | appinit.cxx | 127 Reference< XDesktop > xDesktop( aEvent.Source, UNO_QUERY ); in notifyTermination() local 128 if( xDesktop.is() == sal_True ) in notifyTermination() 129 xDesktop->removeTerminateListener( this ); in notifyTermination() 237 …Reference < XDesktop > xDesktop ( ::comphelper::getProcessServiceFactory()->createInstance( DEFINE… in Initialize_Impl() local 238 if (!xDesktop.is()) in Initialize_Impl() 239 …OUString( RTL_CONSTASCII_USTRINGPARAM( "Couldn't create mandatory desktop service!" )), xDesktop ); in Initialize_Impl() 240 xDesktop->addTerminateListener( new SfxTerminateListener_Impl() ); in Initialize_Impl()
|
/trunk/main/odk/examples/java/Spreadsheet/ |
H A D | EuroAdaption.java | 75 com.sun.star.frame.XDesktop xDesktop = null; in main() local 76 xDesktop = getDesktop(); in main() 80 xSheetdocument = ( XSpreadsheetDocument ) createSheetdocument( xDesktop ); in main() 306 XDesktop xDesktop = null; in getDesktop() local 322 xDesktop = (XDesktop) UnoRuntime.queryInterface( in getDesktop() 334 return xDesktop; in getDesktop() 338 public static XSpreadsheetDocument createSheetdocument( XDesktop xDesktop ) { in createSheetdocument() argument 343 xComponent = CreateNewDocument( xDesktop, "scalc" ); in createSheetdocument() 355 protected static XComponent CreateNewDocument( XDesktop xDesktop, in CreateNewDocument() argument 366 XComponentLoader.class, xDesktop ); in CreateNewDocument()
|
/trunk/test/testuno/source/fvt/mix/sc/sheet/ |
H A D | InsertExcelSheetTest.java | 266 XDesktop xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedNormal() local 268 XComponent xComponent = xDesktop.getCurrentComponent(); in insertSheetFromFileLinkedNormal() 316 xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedNormal() 317 xComponent = xDesktop.getCurrentComponent(); in insertSheetFromFileLinkedNormal() 486 XDesktop xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedValue() local 487 XComponent xComponent = xDesktop.getCurrentComponent(); in insertSheetFromFileLinkedValue() 533 xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedValue() 534 xComponent = xDesktop.getCurrentComponent(); in insertSheetFromFileLinkedValue() 693 XDesktop xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedNone() local 733 xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedNone() [all …]
|
H A D | InsertCalcSheetTest.java | 266 XDesktop xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedNormal() local 268 XComponent xComponent = xDesktop.getCurrentComponent(); in insertSheetFromFileLinkedNormal() 316 xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedNormal() 317 xComponent = xDesktop.getCurrentComponent(); in insertSheetFromFileLinkedNormal() 486 XDesktop xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedValue() local 487 XComponent xComponent = xDesktop.getCurrentComponent(); in insertSheetFromFileLinkedValue() 533 xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedValue() 534 xComponent = xDesktop.getCurrentComponent(); in insertSheetFromFileLinkedValue() 694 XDesktop xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedNone() local 734 xDesktop = unoApp.getDesktop(); in insertSheetFromFileLinkedNone() [all …]
|
/trunk/main/sfx2/qa/complex/sfx2/tools/ |
H A D | WriterHelper.java | 125 XDesktop xDesktop = getDesktop(); in openFromDialog() local 127 …XTextDocument returnDoc = UnoRuntime.queryInterface(XTextDocument.class, xDesktop.getCurrentCompon… in openFromDialog() 143 XDesktop xDesktop = getDesktop(); in kill() local 144 xDesktop.terminate(); in kill() 221 XDesktop xDesktop = getDesktop(); in DocByAutopilot() local 223 …XTextDocument returnDoc = UnoRuntime.queryInterface(XTextDocument.class, xDesktop.getCurrentCompon… in DocByAutopilot() 275 XDesktop xDesktop = UnoRuntime.queryInterface(XDesktop.class, desk); in getDesktop() local 277 return xDesktop; in getDesktop()
|
/trunk/main/framework/source/dispatch/ |
H A D | dispatchprovider.cxx | 237 …er::implts_queryDesktopDispatch( const css::uno::Reference< css::frame::XFrame > xDesktop , in implts_queryDesktopDispatch() argument 270 xDispatcher = implts_getOrCreateDispatchHelper( E_BLANKDISPATCHER, xDesktop ); in implts_queryDesktopDispatch() 281 xDispatcher = implts_getOrCreateDispatchHelper( E_DEFAULTDISPATCHER, xDesktop ); in implts_queryDesktopDispatch() 284 xDispatcher = implts_getOrCreateDispatchHelper( E_STARTMODULEDISPATCHER, xDesktop ); in implts_queryDesktopDispatch() 315 …css::uno::Reference< css::frame::XFrame > xFoundFrame = xDesktop->findFrame(sTargetFrameName, nRig… in implts_queryDesktopDispatch() 325 …xDispatcher = implts_getOrCreateDispatchHelper( E_CREATEDISPATCHER, xDesktop, sTargetFrameName, nS… in implts_queryDesktopDispatch() 725 … css::uno::Reference< css::frame::XFrame > xDesktop( xOwner, css::uno::UNO_QUERY ); in implts_getOrCreateDispatchHelper() local 726 if (xDesktop.is()) in implts_getOrCreateDispatchHelper() 736 … css::uno::Reference< css::frame::XFrame > xDesktop( xOwner, css::uno::UNO_QUERY ); in implts_getOrCreateDispatchHelper() local 737 if (xDesktop.is()) in implts_getOrCreateDispatchHelper()
|
H A D | closedispatcher.cxx | 305 …css::uno::Reference< css::frame::XFramesSupplier > xDesktop(xSMGR->createInstance(SERVICENAME_DESK… in IMPL_LINK() local 306 …FrameListAnalyzer aCheck1(xDesktop, xCloseFrame, FrameListAnalyzer::E_HELP | FrameListAnalyzer::E_… in IMPL_LINK() 343 FrameListAnalyzer aCheck2(xDesktop, xCloseFrame, FrameListAnalyzer::E_ALL); in IMPL_LINK() 478 …css::uno::Reference< css::frame::XFramesSupplier > xDesktop(xSMGR->createInstance(SERVICENAME_DESK… in implts_prepareFrameForClosing() local 479 FrameListAnalyzer aCheck(xDesktop, xFrame, FrameListAnalyzer::E_ALL); in implts_prepareFrameForClosing() 580 css::uno::Reference< css::frame::XDesktop > xDesktop( in implts_terminateApplication() local 583 return xDesktop->terminate(); in implts_terminateApplication()
|
/trunk/main/scripting/java/com/sun/star/script/framework/provider/ |
H A D | ScriptContext.java | 71 XDesktop xDesktop, XModel xModel, XScriptInvocationContext xInvocContext) in ScriptContext() argument 73 this.m_xDeskTop = xDesktop; in ScriptContext() 100 XDesktop xDesktop = null; in createContext() local 104 xDesktop = (XDesktop) in createContext() 108 sc = new ScriptContext(xCtxt, xDesktop, xModel, xInvocContext); in createContext() 112 sc = new EditorScriptContext(xCtxt, xDesktop ); in createContext()
|
/trunk/main/unotools/source/misc/ |
H A D | desktopterminationobserver.cxx | 113 Reference< XDesktop > xDesktop; in ensureObservation() local 114 …xDesktop = xDesktop.query( ::comphelper::getProcessServiceFactory()->createInstance( ::rtl::OUStri… in ensureObservation() 115 …OSL_ENSURE( xDesktop.is(), "OObserverImpl::ensureObservation: could not ensureObservation the desk… in ensureObservation() 116 if ( xDesktop.is() ) in ensureObservation() 117 xDesktop->addTerminateListener( new OObserverImpl ); in ensureObservation()
|
/trunk/main/sw/source/ui/uno/ |
H A D | dlelstnr.cxx | 71 xDesktop = Reference< frame::XDesktop >( in SwLinguServiceEventListener() 73 if (xDesktop.is()) in SwLinguServiceEventListener() 74 xDesktop->addTerminateListener( this ); in SwLinguServiceEventListener() 191 if (xDesktop.is() && rEventObj.Source == xDesktop) in notifyTermination() 197 xDesktop = NULL; in notifyTermination()
|
/trunk/main/desktop/source/app/ |
H A D | dispatchwatcher.cxx | 130 … Reference< XComponentLoader > xDesktop( ::comphelper::getProcessServiceFactory()->createInstance( in executeDispatchRequests() local 230 Reference < XDispatchProvider > xProvider ( xDesktop, UNO_QUERY ); in executeDispatchRequests() 260 Reference < XDispatchProvider > xProvider ( xDesktop, UNO_QUERY ); in executeDispatchRequests() 333 … Reference < XPrintable >( ::comphelper::SynchronousDispatch::dispatch( xDesktop, aName, aTarget, … in executeDispatchRequests() 442 Reference< XFramesSupplier > xTasksSupplier( xDesktop, UNO_QUERY ); in executeDispatchRequests() 495 Reference< XDesktop > xDesktop( xTasksSupplier, UNO_QUERY ); in dispatchFinished() local 496 if ( xDesktop.is() ) in dispatchFinished() 497 xDesktop->terminate(); in dispatchFinished()
|
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/TerminationTest/ |
H A D | TerminationTest.java | 43 XDesktop xDesktop = null; in main() local 54 xDesktop = (XDesktop)UnoRuntime.queryInterface(XDesktop.class, desktop); in main() 57 xDesktop.addTerminateListener(terminateListener); in main() 61 boolean terminated = xDesktop.terminate(); in main() 70 terminated = xDesktop.terminate(); in main()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/util/ |
H A D | DesktopTools.java | 104 XDesktop xDesktop = (XDesktop) UnoRuntime.queryInterface( in getAllComponents() local 106 return xDesktop.getComponents().createEnumeration(); in getAllComponents() 116 XDesktop xDesktop = (XDesktop) UnoRuntime.queryInterface( in getCurrentComponent() local 118 return xDesktop.getCurrentComponent(); in getCurrentComponent() 128 XDesktop xDesktop = (XDesktop) UnoRuntime.queryInterface( in getCurrentFrame() local 130 return xDesktop.getCurrentFrame(); in getCurrentFrame() 146 XDesktop xDesktop = (XDesktop) UnoRuntime.queryInterface( in getAllOpenDocuments() local
|
/trunk/main/embedserv/source/embed/ |
H A D | docholder.cxx | 102 uno::Reference< frame::XDesktop > xDesktop( in DocumentHolder() local 105 if ( xDesktop.is() ) in DocumentHolder() 413 if(xDesktop.is()) in InPlaceActivate() 414 xDesktop->getFrames()->append(m_xFrame); in InPlaceActivate() 675 uno::Reference< frame::XDesktop > xDesktop( in FreeOffice() local 677 if ( xDesktop.is() ) in FreeOffice() 679 xDesktop->removeTerminateListener( in FreeOffice() 843 uno::Reference<frame::XDesktop> xDesktop( in DocumentFrame() local 848 xDesktop,uno::UNO_QUERY); in DocumentFrame() 1571 uno::Reference< frame::XDesktop > xDesktop( in notifyTermination() local [all …]
|
/trunk/main/comphelper/source/misc/ |
H A D | instancelocker.cxx | 301 uno::Reference< frame::XDesktop > xDesktop( m_xInstance, uno::UNO_QUERY_THROW ); in Dispose() local 302 xDesktop->removeTerminateListener( static_cast< frame::XTerminateListener* >( this ) ); in Dispose() 437 uno::Reference< frame::XDesktop > xDesktop( aEvent.Source, uno::UNO_QUERY ); in notifyTermination() local 438 if ( xDesktop.is() ) in notifyTermination() 442 xDesktop->removeTerminateListener( static_cast< frame::XTerminateListener* >( this ) ); in notifyTermination() 482 uno::Reference< frame::XDesktop > xDesktop( m_xInstance, uno::UNO_QUERY_THROW ); in Init() local 483 xDesktop->addTerminateListener( static_cast< frame::XTerminateListener* >( this ) ); in Init()
|
/trunk/main/linguistic/source/ |
H A D | misc.cxx | 940 xDesktop = uno::Reference< frame::XDesktop >( in AppExitListener() 957 if (xDesktop.is()) in Activate() 958 xDesktop->addTerminateListener( this ); in Activate() 964 if (xDesktop.is()) in Deactivate() 965 xDesktop->removeTerminateListener( this ); in Deactivate() 975 if (xDesktop.is() && rEvtSource.Source == xDesktop) in disposing() 977 xDesktop = NULL; //! release reference to desktop in disposing() 996 if (xDesktop.is() && rEvtSource.Source == xDesktop) in notifyTermination()
|
/trunk/main/editeng/source/misc/ |
H A D | unolingu.cxx | 863 uno::Reference< XComponent > xDesktop; member in LinguMgrAppExitLstnr 885 xDesktop = uno::Reference< XComponent > ( xMgr->createInstance( in LinguMgrAppExitLstnr() 887 if (xDesktop.is()) in LinguMgrAppExitLstnr() 888 xDesktop->addEventListener( this ); in LinguMgrAppExitLstnr() 894 if (xDesktop.is()) in ~LinguMgrAppExitLstnr() 896 xDesktop->removeEventListener( this ); in ~LinguMgrAppExitLstnr() 897 xDesktop = NULL; //! release reference to desktop in ~LinguMgrAppExitLstnr() 899 DBG_ASSERT(!xDesktop.is(), "reference to desktop should be realeased"); in ~LinguMgrAppExitLstnr() 905 if (xDesktop.is() && rSource.Source == xDesktop) in disposing() 907 xDesktop->removeEventListener( this ); in disposing() [all …]
|