Lines Matching refs:Reference
49 inline bool lclGetProperty( Type& orValue, const uno::Reference< beans::XPropertySet >& rxPropSet, … in lclGetProperty()
82 const uno::Reference< XHelperInterface >& rxParent,
83 const uno::Reference< uno::XComponentContext >& rxContext,
84 const uno::Reference< frame::XModel >& rxModel,
85 const uno::Reference< sheet::XSpreadsheet >& rxSheet,
89 inline const uno::Reference< XHelperInterface >& getParent() const { return mxParent; } in getParent()
91 inline const uno::Reference< uno::XComponentContext >& getContext() const { return mxContext; } in getContext()
99 …uno::Reference< drawing::XShape > createShape( const awt::Point& rPos, const awt::Size& rSize ) th…
101 …sal_Int32 insertShape( const uno::Reference< drawing::XShape >& rxShape ) throw (uno::RuntimeExcep…
103 …::rtl::Reference< ScVbaSheetObjectBase > createVbaObject( const uno::Reference< drawing::XShape >&…
119 virtual bool implPickShape( const uno::Reference< drawing::XShape >& rxShape ) const = 0;
121 …virtual ScVbaSheetObjectBase* implCreateVbaObject( const uno::Reference< drawing::XShape >& rxShap…
126 …virtual OUString implGetShapeName( const uno::Reference< drawing::XShape >& rxShape ) const throw …
128 …virtual void implOnShapeCreated( const uno::Reference< drawing::XShape >& rxShape ) throw (uno::Ru…
130 …virtual void implOnShapeInserted( const uno::Reference< drawing::XShape >& rxShape ) throw (uno::R…
133 uno::Reference< XHelperInterface > mxParent;
134 uno::Reference< uno::XComponentContext > mxContext;
135 uno::Reference< frame::XModel > mxModel;
136 uno::Reference< lang::XMultiServiceFactory > mxFactory;
137 uno::Reference< drawing::XShapes > mxShapes;
140 typedef ::std::vector< uno::Reference< drawing::XShape > > ShapeVector;
148 const uno::Reference< XHelperInterface >& rxParent, in ScVbaObjectContainer()
149 const uno::Reference< uno::XComponentContext >& rxContext, in ScVbaObjectContainer()
150 const uno::Reference< frame::XModel >& rxModel, in ScVbaObjectContainer()
151 const uno::Reference< sheet::XSpreadsheet >& rxSheet, in ScVbaObjectContainer()
159 uno::Reference< drawing::XDrawPageSupplier > xDrawPageSupp( rxSheet, uno::UNO_QUERY_THROW ); in ScVbaObjectContainer()
168 … uno::Reference< drawing::XShape > xShape( mxShapes->getByIndex( nIndex ), uno::UNO_QUERY_THROW ); in collectShapes()
174 uno::Reference< drawing::XShape > ScVbaObjectContainer::createShape( const awt::Point& rPos, const … in createShape()
176 …uno::Reference< drawing::XShape > xShape( mxFactory->createInstance( implGetShapeServiceName() ), … in createShape()
183 sal_Int32 ScVbaObjectContainer::insertShape( const uno::Reference< drawing::XShape >& rxShape ) thr… in insertShape()
191 ::rtl::Reference< ScVbaSheetObjectBase > ScVbaObjectContainer::createVbaObject( in createVbaObject()
192 const uno::Reference< drawing::XShape >& rxShape ) throw (uno::RuntimeException) in createVbaObject()
199 uno::Reference< drawing::XShape > xShape( rSource, uno::UNO_QUERY_THROW ); in createCollectionObject()
200 uno::Reference< excel::XSheetObject > xSheetObject( implCreateVbaObject( xShape ) ); in createCollectionObject()
241 OUString ScVbaObjectContainer::implGetShapeName( const uno::Reference< drawing::XShape >& rxShape )… in implGetShapeName()
243 uno::Reference< beans::XPropertySet > xPropSet( rxShape, uno::UNO_QUERY_THROW ); in implGetShapeName()
247 void ScVbaObjectContainer::implOnShapeCreated( const uno::Reference< drawing::XShape >& /*rxShape*/… in implOnShapeCreated()
251 void ScVbaObjectContainer::implOnShapeInserted( const uno::Reference< drawing::XShape >& /*rxShape*… in implOnShapeInserted()
300 uno::Reference< container::XEnumeration > SAL_CALL ScVbaSheetObjectsBase::createEnumeration() throw… in createEnumeration()
347 …uno::Reference< drawing::XShape > xShape( mxContainer->createShape( aPos, aSize ), uno::UNO_SET_TH… in Add()
351 ::rtl::Reference< ScVbaSheetObjectBase > xVbaObject = mxContainer->createVbaObject( xShape ); in Add()
353 return uno::Any( uno::Reference< excel::XSheetObject >( xVbaObject.get() ) ); in Add()
364 const uno::Reference< XHelperInterface >& rxParent,
365 const uno::Reference< uno::XComponentContext >& rxContext,
366 const uno::Reference< frame::XModel >& rxModel,
367 const uno::Reference< sheet::XSpreadsheet >& rxSheet,
373 uno::Reference< container::XIndexContainer > createForm() throw (uno::RuntimeException);
375 virtual bool implPickShape( const uno::Reference< drawing::XShape >& rxShape ) const;
377 …virtual bool implCheckProperties( const uno::Reference< beans::XPropertySet >& rxModelProps ) cons…
378 …virtual OUString implGetShapeName( const uno::Reference< drawing::XShape >& rxShape ) const throw …
379 …virtual void implOnShapeCreated( const uno::Reference< drawing::XShape >& rxShape ) throw (uno::Ru…
382 uno::Reference< container::XIndexContainer > mxFormIC;
390 const uno::Reference< XHelperInterface >& rxParent, in ScVbaControlContainer()
391 const uno::Reference< uno::XComponentContext >& rxContext, in ScVbaControlContainer()
392 const uno::Reference< frame::XModel >& rxModel, in ScVbaControlContainer()
393 const uno::Reference< sheet::XSpreadsheet >& rxSheet, in ScVbaControlContainer()
403 uno::Reference< container::XIndexContainer > ScVbaControlContainer::createForm() throw (uno::Runtim… in createForm()
407 uno::Reference< form::XFormsSupplier > xFormsSupp( mxShapes, uno::UNO_QUERY_THROW ); in createForm()
408 …uno::Reference< container::XNameContainer > xFormsNC( xFormsSupp->getForms(), uno::UNO_SET_THROW ); in createForm()
416 …uno::Reference< form::XForm > xForm( mxFactory->createInstance( CREATE_OUSTRING( "com.sun.star.for… in createForm()
424 bool ScVbaControlContainer::implPickShape( const uno::Reference< drawing::XShape >& rxShape ) const in implPickShape()
428 uno::Reference< drawing::XControlShape > xControlShape( rxShape, uno::UNO_QUERY_THROW ); in implPickShape()
429 …uno::Reference< beans::XPropertySet > xModelProps( xControlShape->getControl(), uno::UNO_QUERY_THR… in implPickShape()
445 bool ScVbaControlContainer::implCheckProperties( const uno::Reference< beans::XPropertySet >& /*rxM… in implCheckProperties()
450 OUString ScVbaControlContainer::implGetShapeName( const uno::Reference< drawing::XShape >& rxShape … in implGetShapeName()
452 uno::Reference< drawing::XControlShape > xControlShape( rxShape, uno::UNO_QUERY_THROW ); in implGetShapeName()
453 …return uno::Reference< container::XNamed >( xControlShape->getControl(), uno::UNO_QUERY_THROW )->g… in implGetShapeName()
456 void ScVbaControlContainer::implOnShapeCreated( const uno::Reference< drawing::XShape >& rxShape ) … in implOnShapeCreated()
459 uno::Reference< drawing::XControlShape > xControlShape( rxShape, uno::UNO_QUERY_THROW ); in implOnShapeCreated()
462 …uno::Reference< form::XFormComponent > xFormComponent( mxFactory->createInstance( maModelServiceNa… in implOnShapeCreated()
463 uno::Reference< awt::XControlModel > xControlModel( xFormComponent, uno::UNO_QUERY_THROW ); in implOnShapeCreated()
479 const uno::Reference< XHelperInterface >& rxParent,
480 const uno::Reference< uno::XComponentContext >& rxContext,
481 const uno::Reference< frame::XModel >& rxModel,
482 const uno::Reference< sheet::XSpreadsheet >& rxSheet ) throw (uno::RuntimeException);
485 …virtual ScVbaSheetObjectBase* implCreateVbaObject( const uno::Reference< drawing::XShape >& rxShap…
486 …virtual bool implCheckProperties( const uno::Reference< beans::XPropertySet >& rxModelProps ) cons…
492 const uno::Reference< XHelperInterface >& rxParent, in ScVbaButtonContainer()
493 const uno::Reference< uno::XComponentContext >& rxContext, in ScVbaButtonContainer()
494 const uno::Reference< frame::XModel >& rxModel, in ScVbaButtonContainer()
495 const uno::Reference< sheet::XSpreadsheet >& rxSheet ) throw (uno::RuntimeException) : in ScVbaButtonContainer()
504 ScVbaSheetObjectBase* ScVbaButtonContainer::implCreateVbaObject( const uno::Reference< drawing::XSh… in implCreateVbaObject()
506 uno::Reference< drawing::XControlShape > xControlShape( rxShape, uno::UNO_QUERY_THROW ); in implCreateVbaObject()
510 bool ScVbaButtonContainer::implCheckProperties( const uno::Reference< beans::XPropertySet >& rxMode… in implCheckProperties()
520 const uno::Reference< XHelperInterface >& rxParent, in ScVbaButtons()
521 const uno::Reference< uno::XComponentContext >& rxContext, in ScVbaButtons()
522 const uno::Reference< frame::XModel >& rxModel, in ScVbaButtons()
523 const uno::Reference< sheet::XSpreadsheet >& rxSheet ) throw (uno::RuntimeException) : in ScVbaButtons()