Lines Matching refs:xShape

103         uno::Reference< drawing::XShape > xShape( aSource, uno::UNO_QUERY_THROW );  in createCollectionObject()  local
104 …hape >( new ScVbaShape( getParent(), mxContext, xShape, m_xShapes, m_xModel, ScVbaShape::getType( in createCollectionObject()
149 uno::Reference< drawing::XShape > xShape; in getShapesByArrayIndices() local
154 xShape.set( m_xNameAccess->getByName( sName ), uno::UNO_QUERY ); in getShapesByArrayIndices()
161 xShape.set( m_xIndexAccess->getByIndex( nIndex - 1 ), uno::UNO_QUERY ); in getShapesByArrayIndices()
165 if ( xShape.is() ) in getShapesByArrayIndices()
166 mShapes.push_back( xShape ); in getShapesByArrayIndices()
227 … uno::Reference< drawing::XShape > xShape( xMSF->createInstance( service ), uno::UNO_QUERY_THROW ); in createShape() local
228 return xShape; in createShape()
240 … uno::Reference< drawing::XShape > xShape( createShape( sCreateShapeName ), uno::UNO_QUERY_THROW ); in AddRectangle() local
241 m_xShapes->add( xShape ); in AddRectangle()
244 setDefaultShapeProperties( xShape ); in AddRectangle()
245 setShape_NameProperty( xShape, sName ); in AddRectangle()
251 xShape->setPosition( position ); in AddRectangle()
256 xShape->setSize( size ); in AddRectangle()
258 …Shape = new ScVbaShape( getParent(), mxContext, xShape, m_xShapes, m_xModel, ScVbaShape::getType( in AddRectangle()
272 … uno::Reference< drawing::XShape > xShape( createShape( sCreateShapeName ), uno::UNO_QUERY_THROW ); in AddEllipse() local
273 m_xShapes->add( xShape ); in AddEllipse()
289 setDefaultShapeProperties(xShape); in AddEllipse()
290 setShape_NameProperty(xShape, name); in AddEllipse()
295 xShape->setPosition(position); in AddEllipse()
300 xShape->setSize(size); in AddEllipse()
302 …Shape = new ScVbaShape( getParent(), mxContext, xShape, m_xShapes, m_xModel, ScVbaShape::getType( in AddEllipse()
319 …uno::Reference< drawing::XShape > xShape( createShape( rtl::OUString::createFromAscii("com.sun.sta… in AddLine() local
320 m_xShapes->add( xShape ); in AddLine()
325 setDefaultShapeProperties(xShape); in AddLine()
326 setShape_NameProperty(xShape, name); in AddLine()
331 xShape->setPosition(position); in AddLine()
336 xShape->setSize(size); in AddLine()
338 …Shape = new ScVbaShape( getParent(), mxContext, xShape, m_xShapes, m_xModel, ScVbaShape::getType( in AddLine()
377 … uno::Reference< drawing::XShape > xShape( createShape( sCreateShapeName ), uno::UNO_QUERY_THROW ); in AddTextboxInWriter() local
378 m_xShapes->add( xShape ); in AddTextboxInWriter()
380 setDefaultShapeProperties(xShape); in AddTextboxInWriter()
383 setShape_NameProperty( xShape, sName ); in AddTextboxInWriter()
388 xShape->setSize(size); in AddTextboxInWriter()
390 uno::Reference< beans::XPropertySet > xShapeProps( xShape, uno::UNO_QUERY_THROW ); in AddTextboxInWriter()
410 …Shape = new ScVbaShape( getParent(), mxContext, xShape, m_xShapes, m_xModel, ScVbaShape::getType( in AddTextboxInWriter()
422 uno::Reference< drawing::XShape > xShape( createShape( sService ), uno::UNO_QUERY_THROW ); in AddShape() local
423 m_xShapes->add( xShape ); in AddShape()
425 setDefaultShapeProperties(xShape); in AddShape()
426 setShape_NameProperty( xShape, sName ); in AddShape()
432 xShape->setPosition(position); in AddShape()
437 xShape->setSize(size); in AddShape()
439 …Shape = new ScVbaShape( getParent(), mxContext, xShape, m_xShapes, m_xModel, ScVbaShape::getType( in AddShape()
443 ScVbaShapes::setDefaultShapeProperties( uno::Reference< drawing::XShape > xShape ) throw (uno::Runt… in setDefaultShapeProperties() argument
445 uno::Reference< beans::XPropertySet > xPropertySet( xShape, uno::UNO_QUERY_THROW ); in setDefaultShapeProperties()
454 ScVbaShapes::setShape_NameProperty( uno::Reference< css::drawing::XShape > xShape, rtl::OUString sN… in setShape_NameProperty() argument
456 uno::Reference< beans::XPropertySet > xPropertySet( xShape, uno::UNO_QUERY_THROW ); in setShape_NameProperty()