Lines Matching refs:xModel
136 SfxObjectShell* ScVbaApplication::GetDocShell( const uno::Reference< frame::XModel >& xModel ) thro… in GetDocShell() argument
138 return static_cast< SfxObjectShell* >( excel::getDocShell( xModel ) ); in GetDocShell()
204 uno::Reference< frame::XModel > xModel( getCurrentExcelDoc( mxContext ), uno::UNO_SET_THROW ); in getActiveWorkbook() local
205 uno::Reference< excel::XWorkbook > xWorkbook( getVBADocument( xModel ), uno::UNO_QUERY ); in getActiveWorkbook()
208 return new ScVbaWorkbook( this, mxContext, xModel ); in getActiveWorkbook()
214 uno::Reference< frame::XModel > xModel( getThisExcelDoc( mxContext ), uno::UNO_SET_THROW ); in getThisWorkbook() local
215 uno::Reference< excel::XWorkbook > xWorkbook( getVBADocument( xModel ), uno::UNO_QUERY ); in getThisWorkbook()
218 return new ScVbaWorkbook( this, mxContext, xModel ); in getThisWorkbook()
231 uno::Reference< frame::XModel > xModel( getCurrentDocument() ); in getSelection() local
232 …uno::Reference< lang::XServiceInfo > xServiceInfo( xModel->getCurrentSelection(), uno::UNO_QUERY_T… in getSelection()
236 … uno::Reference< drawing::XShapes > xShapes( xModel->getCurrentSelection(), uno::UNO_QUERY_THROW ); in getSelection()
247 …eference< msforms::XTextBoxShape >(new ScVbaTextBoxShape( mxContext, xShape, xShapes, xModel ) ) ); in getSelection()
250 …nce< msforms::XShape >(new ScVbaShape( this, mxContext, xShape, xShapes, xModel, ScVbaShape::getTy… in getSelection()
338 uno::Reference< frame::XModel > xModel = getCurrentDocument(); in getActiveWindow() local
339 …uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::UNO_SET_THR… in getActiveWindow()
341 …uno::Reference< excel::XWindow > xWin( new ScVbaWindow( xParent, mxContext, xModel, xController ) … in getActiveWindow()
371 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in setStatusBar() local
372 …uno::Reference< task::XStatusIndicatorSupplier > xStatusIndicatorSupplier( xModel->getCurrentContr… in setStatusBar()
460 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in Names() local
461 uno::Reference< beans::XPropertySet > xPropertySet( xModel, uno::UNO_QUERY_THROW ); in Names()
463 …::Reference< excel::XNames > xNames ( new ScVbaNames( this , mxContext , xNamedRanges , xModel ) ); in Names()
529 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in GoTo() local
531 xModel->getCurrentController(), uno::UNO_QUERY_THROW ); in GoTo()
539 … mxContext, sRangeName, excel::getDocShell( xModel ), formula::FormulaGrammar::CONV_XL_R1C1 ); in GoTo()
632 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in setCursor() local
638 setCursorHelper( xModel, rPointer, sal_False ); in setCursor()
646 setCursorHelper( xModel, rPointer, sal_True ); in setCursor()
652 setCursorHelper( xModel, rPointer, sal_False ); in setCursor()
710 uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_QUERY_THROW ); in Calculate() local