Lines Matching refs:xModel
233 getDocShell( css::uno::Reference< css::frame::XModel>& xModel )
235 uno::Reference< uno::XInterface > xIf( xModel, uno::UNO_QUERY_THROW );
245 getBestViewShell( css::uno::Reference< css::frame::XModel>& xModel )
247 ScDocShell* pDocShell = getDocShell( xModel );
256 uno::Reference< frame::XModel > xModel = getCurrentDocument();
257 return getBestViewShell( xModel );
313 dispatchRequests( const uno::Reference< frame::XModel>& xModel, const rtl::OUString& aUrl, const un… in dispatchRequests() argument
318 uno::Reference<frame::XController> xController = xModel->getCurrentController(); in dispatchRequests()
368 dispatchRequests( const uno::Reference< frame::XModel>& xModel, const rtl::OUString& aUrl ) in dispatchRequests() argument
371 dispatchRequests( xModel, aUrl, dispatchProps ); in dispatchRequests()
377 uno::Reference< frame::XModel > xModel; in getCurrentDoc() local
383 return xModel; in getCurrentDoc()
405 if ( sal_False == ( aModel >>= xModel ) || in getCurrentDoc()
406 !xModel.is() ) in getCurrentDoc()
414 ::rtl::OUStringToOString( xModel->getURL(), in getCurrentDoc()
427 return xModel; in getCurrentDoc()
433 uno::Reference< frame::XModel > xModel; in getCurrentDocCtx() local
436 xModel.set( xNameAccess->getByName( ctxName ), uno::UNO_QUERY_THROW ); in getCurrentDocCtx()
437 return xModel; in getCurrentDocCtx()
456 uno::Reference< frame::XModel > xModel; in getCurrentExcelDoc() local
459 xModel = getCurrentDoc( sThisExcelDoc ); in getCurrentExcelDoc()
463 xModel = getThisExcelDoc( xContext ); in getCurrentExcelDoc()
465 return xModel; in getCurrentExcelDoc()
472 uno::Reference< frame::XModel > xModel; in getCurrentWordDoc() local
475 xModel = getCurrentDoc( sThisWordDoc ); in getCurrentWordDoc()
479 xModel = getThisWordDoc( xContext ); in getCurrentWordDoc()
481 return xModel; in getCurrentWordDoc()
887 sal_Int32 getPointerStyle( const uno::Reference< frame::XModel >& xModel ) in getPointerStyle() argument
893 …const uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::U… in getPointerStyle()
911 void setCursorHelper( const uno::Reference< frame::XModel >& xModel, const Pointer& rPointer, sal_B… in setCursorHelper() argument
915 uno::Reference< frame::XModel2 > xModel2( xModel, uno::UNO_QUERY ); in setCursorHelper()
927 if ( xModel.is() ) in setCursorHelper()
929 …const uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::UNO_S… in setCursorHelper()
1331 uno::Reference< XHelperInterface > getVBADocument( const uno::Reference< frame::XModel >& xModel ) in getVBADocument() argument
1336 uno::Reference< beans::XPropertySet > xDocProps( xModel, uno::UNO_QUERY_THROW ); in getVBADocument()
1339 xIf = getUnoDocModule( aCodeName, getSfxObjShell( xModel ) ); in getVBADocument()
1363 SfxObjectShell* getSfxObjShell( const uno::Reference< frame::XModel >& xModel ) throw (uno::Runtime… in getSfxObjShell() argument
1366 if ( xModel.is() ) in getSfxObjShell()
1368 uno::Reference< lang::XUnoTunnel > xObjShellTunnel( xModel, uno::UNO_QUERY_THROW ); in getSfxObjShell()