Lines Matching refs:xModel

159 void dispatchExecute(css::uno::Reference< css::frame::XModel>& xModel, sal_uInt16 nSlot, SfxCallMod…  in dispatchExecute()  argument
161 ScTabViewShell* pViewShell = getBestViewShell( xModel ); in dispatchExecute()
241 uno::Reference< frame::XModel > xModel; in getCurrentDocument() local
247 return xModel; in getCurrentDocument()
269 if ( sal_False == ( aModel >>= xModel ) || in getCurrentDocument()
270 !xModel.is() ) in getCurrentDocument()
278 xModel.set( xDesktop->getCurrentComponent(), uno::UNO_QUERY ); in getCurrentDocument()
279 if ( !xModel.is() ) in getCurrentDocument()
284 return xModel; in getCurrentDocument()
289 ::rtl::OUStringToOString( xModel->getURL(), in getCurrentDocument()
302 return xModel; in getCurrentDocument()
306 getDocShell( css::uno::Reference< css::frame::XModel>& xModel ) in getDocShell() argument
308 uno::Reference< uno::XInterface > xIf( xModel, uno::UNO_QUERY_THROW ); in getDocShell()
318 getBestViewShell( css::uno::Reference< css::frame::XModel>& xModel ) in getBestViewShell() argument
320 ScDocShell* pDocShell = getDocShell( xModel ); in getBestViewShell()
329 uno::Reference< frame::XModel > xModel = getCurrentDocument(); in getCurrentBestViewShell() local
330 return getBestViewShell( xModel ); in getCurrentBestViewShell()
387 …ate, const uno::Any& PrToFileName, css::uno::Reference< frame::XModel >& xModel, sal_Bool bUseSele… in PrintOutHelper() argument
417 ScTabViewShell* pViewShell = getBestViewShell( xModel ); in PrintOutHelper()
475 …Helper( const css::uno::Any& /*EnableChanges*/, css::uno::Reference< css::frame::XModel >& xModel ) in PrintPreviewHelper() argument
477 dispatchExecute( xModel, SID_VIEWSHELL1 ); in PrintPreviewHelper()