Home
last modified time | relevance | path

Searched refs:xCloseable (Results 1 – 25 of 59) sorted by relevance

123

/trunk/main/chart2/source/tools/
H A DLifeTime.cxx236 uno::Reference< util::XCloseable > xCloseable = in g_close_startTryClose() local
238 if(xCloseable.is()) in g_close_startTryClose()
246 lang::EventObject aEvent( xCloseable ); in g_close_startTryClose()
363 uno::Reference< util::XCloseable > xCloseable=NULL; in impl_doClose() local
366 xCloseable = uno::Reference< util::XCloseable >(m_pCloseable);; in impl_doClose()
367 if(xCloseable.is()) in impl_doClose()
375 lang::EventObject aEvent( xCloseable ); in impl_doClose()
391 if(xCloseable.is()) in impl_doClose()
394 uno::Reference< lang::XComponent >( xCloseable, uno::UNO_QUERY ); in impl_doClose()
/trunk/main/dbaccess/source/ui/app/
H A Dcloseveto.cxx118 Reference< XCloseable > xCloseable; member
130 i_data.xCloseable.set( i_closeable, UNO_QUERY ); in lcl_init()
131 … ENSURE_OR_RETURN_VOID( i_data.xCloseable.is(), "CloseVeto: the component is not closeable!" ); in lcl_init()
134 i_data.xCloseable->addCloseListener( i_data.pListener.get() ); in lcl_init()
140 if ( !i_data.xCloseable.is() ) in lcl_deinit()
143 i_data.xCloseable->removeCloseListener( i_data.pListener.get() ); in lcl_deinit()
148 i_data.xCloseable->close( sal_True ); in lcl_deinit()
/trunk/main/framework/source/jobs/
H A Djob.cxx587 …css::uno::Reference< css::util::XCloseBroadcaster > xCloseable(m_xFrame … in impl_startListening() local
589 if (xCloseable.is()) in impl_startListening()
591 xCloseable->addCloseListener(xThis); in impl_startListening()
606 …css::uno::Reference< css::util::XCloseBroadcaster > xCloseable(m_xModel … in impl_startListening() local
608 if (xCloseable.is()) in impl_startListening()
610 xCloseable->addCloseListener(xThis); in impl_startListening()
654 …css::uno::Reference< css::util::XCloseBroadcaster > xCloseable(m_xFrame … in impl_stopListening() local
656 if (xCloseable.is()) in impl_stopListening()
658 xCloseable->removeCloseListener(xThis); in impl_stopListening()
674 if (xCloseable.is()) in impl_stopListening()
[all …]
/trunk/main/embeddedobj/source/msole/
H A Downview.cxx167 uno::Reference< util::XCloseable > xCloseable( xModel, uno::UNO_QUERY ); in CreateModelFromURL() local
168 if ( xCloseable.is() ) in CreateModelFromURL()
170 xCloseable->addCloseListener( uno::Reference< util::XCloseListener >( in CreateModelFromURL()
585 uno::Reference< util::XCloseable > xCloseable( xModel, uno::UNO_QUERY ); in Close() local
586 if ( xCloseable.is() ) in Close()
588 xCloseable->removeCloseListener( uno::Reference< util::XCloseListener >( in Close()
591 xCloseable->close( sal_True ); in Close()
626 uno::Reference< util::XCloseable > xCloseable( xModel, uno::UNO_QUERY ); in notifyEvent() local
627 if ( xCloseable.is() ) in notifyEvent()
628 xCloseable->removeCloseListener( uno::Reference< util::XCloseListener >( in notifyEvent()
/trunk/main/sfx2/source/view/
H A Dsfxbasecontroller.cxx620 if ( xCloseable.is() ) in attachFrame()
621 xCloseable->removeCloseListener( m_pData->m_xCloseListener ); in attachFrame()
630 if ( xCloseable.is() ) in attachFrame()
631 xCloseable->addCloseListener( m_pData->m_xCloseListener ); in attachFrame()
658 if ( xCloseable.is() ) in attachModel()
659 xCloseable->addCloseListener( m_pData->m_xCloseListener ); in attachModel()
1073 …REFERENCE < ::com::sun::star::util::XCloseable > xCloseable( xModel, com::sun::star::uno::UNO_QUER… in dispose() local
1077 if ( xCloseable.is() ) in dispose()
1078 xCloseable->removeCloseListener( m_pData->m_xCloseListener ); in dispose()
1128 if ( xCloseable.is() ) in ReleaseShell_Impl()
[all …]
/trunk/main/embeddedobj/source/commonembedding/
H A Dpersistence.cxx373 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in InitNewDocument_Impl() local
374 if ( xCloseable.is() ) in InitNewDocument_Impl()
378 xCloseable->close( sal_True ); in InitNewDocument_Impl()
445 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in LoadLink_Impl() local
446 if ( xCloseable.is() ) in LoadLink_Impl()
450 xCloseable->close( sal_True ); in LoadLink_Impl()
572 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in LoadDocumentFromStorage_Impl() local
573 if ( xCloseable.is() ) in LoadDocumentFromStorage_Impl()
577 xCloseable->close( sal_True ); in LoadDocumentFromStorage_Impl()
841 if ( xCloseable.is() ) in CreateDocFromMediaDescr_Impl()
[all …]
/trunk/main/dbaccess/source/core/dataaccess/
H A Ddocumentdefinition.cxx639 Reference< com::sun::star::util::XCloseable> xCloseable(m_xEmbeddedObject,UNO_QUERY); in closeObject() local
640 if ( xCloseable.is() ) in closeObject()
641 xCloseable->close(sal_True); in closeObject()
664 … Reference<util::XCloseable> xCloseable(m_pImpl->m_pDataSource->getModel_noCreate(),UNO_QUERY); in disposing() local
665 if ( xCloseable.is() ) in disposing()
666 xCloseable->removeCloseListener(this); in disposing()
1410 Reference< com::sun::star::util::XCloseable> xCloseable(m_xEmbeddedObject,UNO_QUERY); in onCommandInsert() local
1411 if ( xCloseable.is() ) in onCommandInsert()
1412 xCloseable->close(sal_True); in onCommandInsert()
1753 if ( xCloseable.is() ) in fillLoadArgs()
[all …]
/trunk/main/embedserv/source/embed/
H A Ddocholder.cxx724 uno::Reference< util::XCloseable > xCloseable( in CloseDocument() local
727 if ( xCloseable.is() ) in CloseDocument()
731 xCloseable->close( sal_True ); in CloseDocument()
753 uno::Reference<util::XCloseable> xCloseable( in CloseFrame() local
755 if(xCloseable.is()) in CloseFrame()
757 xCloseable->close(sal_True); in CloseFrame()
809 uno::Reference<util::XCloseable> xCloseable( m_xFrame, uno::UNO_QUERY ); in ExecuteSuspendCloseFrame() local
810 if ( xCloseable.is() ) in ExecuteSuspendCloseFrame()
811 xCloseable->close(sal_True); in ExecuteSuspendCloseFrame()
/trunk/main/odk/examples/DevelopersGuide/Drawing/
H A DGraphicExportDemo.java121 com.sun.star.util.XCloseable xCloseable = (com.sun.star.util.XCloseable) in main() local
125 if (xCloseable != null ) in main()
126 xCloseable.close(false); in main()
/trunk/main/odk/examples/java/DocumentHandling/
H A DDocumentSaver.java99 com.sun.star.util.XCloseable xCloseable = (com.sun.star.util.XCloseable) in main() local
103 if (xCloseable != null ) { in main()
104 xCloseable.close(false); in main()
H A DDocumentConverter.java130 com.sun.star.util.XCloseable xCloseable = in traverse() local
134 if ( xCloseable != null ) { in traverse()
135 xCloseable.close(false); in traverse()
/trunk/main/odk/examples/java/Text/
H A DWriterSelector.java133 com.sun.star.util.XCloseable xCloseable = (com.sun.star.util.XCloseable) in main() local
137 if (xCloseable != null ) { in main()
138 xCloseable.close(false); in main()
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/Clipboard/
H A DClipboard.java147 com.sun.star.util.XCloseable xCloseable = (com.sun.star.util.XCloseable) in main() local
151 if (xCloseable != null ) { in main()
152 xCloseable.close(false); in main()
/trunk/main/slideshow/source/engine/shapes/
H A Dviewappletshape.cxx235 uno::Reference<util::XCloseable> xCloseable( in endApplet() local
239 if( xCloseable.is() ) in endApplet()
241 xCloseable->close( sal_True ); in endApplet()
/trunk/main/dbaccess/source/ui/querydesign/
H A Dquerycontainerwindow.cxx104 Reference< ::com::sun::star::util::XCloseable > xCloseable(m_xBeamer,UNO_QUERY); in ~OQueryContainerWindow() local
106 if(xCloseable.is()) in ~OQueryContainerWindow()
107 xCloseable->close(sal_False); // false - holds the owner ship of this frame in ~OQueryContainerWindow()
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/
H A DContextMenuInterceptor.java107 com.sun.star.util.XCloseable xCloseable = (com.sun.star.util.XCloseable) in main() local
111 if (xCloseable != null ) { in main()
112 xCloseable.close(false); in main()
/trunk/main/vbahelper/source/vbahelper/
H A Dvbadocumentbase.cxx166 uno::Reference< util::XCloseable > xCloseable( getModel(), uno::UNO_QUERY ); in Close() local
167 if( xCloseable.is() ) in Close()
174 xCloseable->close(sal_True); in Close()
/trunk/main/embeddedobj/source/general/
H A Ddocholder.cxx242 uno::Reference<util::XCloseable> xCloseable( in CloseFrame() local
244 if( xCloseable.is() ) in CloseFrame()
246 xCloseable->close( sal_True ); in CloseFrame()
313 uno::Reference< util::XCloseable > xCloseable( xBroadcaster, uno::UNO_QUERY ); in CloseDocument() local
314 if ( xCloseable.is() ) in CloseDocument()
318 xCloseable->close( bDeliverOwnership ); in CloseDocument()
/trunk/main/sc/source/ui/vba/testvba/
H A Dtestvba.cxx227 Reference< util::XCloseable > xCloseable ( xDoc, uno::UNO_QUERY ); in proccessDocument() local
229 if ( xCloseable.is() ) in proccessDocument()
237 xCloseable->close(sal_False); in proccessDocument()
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DisableCommands/
H A DDisableCommandsTest.java155 com.sun.star.util.XCloseable xCloseable = (com.sun.star.util.XCloseable) in main() local
159 if (xCloseable != null ) { in main()
160 xCloseable.close(false); in main()
/trunk/main/comphelper/source/misc/
H A Dinstancelocker.cxx289 uno::Reference< util::XCloseable > xCloseable( m_xInstance, uno::UNO_QUERY ); in Dispose() local
290 if ( xCloseable.is() ) in Dispose()
291 xCloseable->close( sal_True ); in Dispose()
/trunk/main/sfx2/source/doc/
H A Dobjserv.cxx205 sal_Bool Init_Impl( const uno::Reference< util::XCloseable >& xCloseable );
208 …_Bool SfxInstanceCloseGuard_Impl::Init_Impl( const uno::Reference< util::XCloseable >& xCloseable ) in Init_Impl() argument
213 if ( xCloseable.is() && !m_xCloseable.is() ) in Init_Impl()
219 xCloseable->addCloseListener( m_xPreventer ); in Init_Impl()
220 m_xCloseable = xCloseable; in Init_Impl()
/trunk/main/wizards/com/sun/star/wizards/document/
H A DOfficeDocument.java333 XCloseable xCloseable = UnoRuntime.queryInterface(XCloseable.class, xModel); in close() local
335 if (xCloseable != null) in close()
339 xCloseable.close(true); in close()
/trunk/main/connectivity/source/drivers/evoab2/
H A DNStatement.cxx183 Reference<XCloseable> xCloseable; in clearMyResultSet() local
184 if ( ::comphelper::query_interface( m_xResultSet.get(), xCloseable ) ) in clearMyResultSet()
185 xCloseable->close(); in clearMyResultSet()
/trunk/test/testuno/source/pvt/uno/
H A DConversion.java183 XCloseable xCloseable = (XCloseable) UnoRuntime.queryInterface(XCloseable.class, doc); in testConversion() local
184 xCloseable.close(true); in testConversion()

Completed in 99 milliseconds

123