Lines Matching refs:xShape

97 ScShapeObj::ScShapeObj( uno::Reference<drawing::XShape>& xShape ) :  in ScShapeObj()  argument
108 mxShapeAgg = uno::Reference<uno::XAggregation>( xShape, uno::UNO_QUERY ); in ScShapeObj()
114 xShape = NULL; // during setDelegator, mxShapeAgg must be the only ref in ScShapeObj()
118 xShape.set(uno::Reference<drawing::XShape>( mxShapeAgg, uno::UNO_QUERY )); in ScShapeObj()
266 sal_Bool lcl_GetCaptionPoint( uno::Reference< drawing::XShape >& xShape, awt::Point& rCaptionPoint ) in lcl_GetCaptionPoint() argument
269 rtl::OUString sType(xShape->getShapeType()); in lcl_GetCaptionPoint()
273 uno::Reference < beans::XPropertySet > xShapeProp (xShape, uno::UNO_QUERY); in lcl_GetCaptionPoint()
283 ScRange lcl_GetAnchorCell( uno::Reference< drawing::XShape >& xShape, ScDocument* pDoc, SCTAB nTab, in lcl_GetAnchorCell() argument
287 rUnoPoint = xShape->getPosition(); in lcl_GetAnchorCell()
288 rtl::OUString sType(xShape->getShapeType()); in lcl_GetAnchorCell()
289 sal_Bool bCaptionShape(lcl_GetCaptionPoint(xShape, rCaptionPoint)); in lcl_GetAnchorCell()
292 rUnoSize = xShape->getSize(); in lcl_GetAnchorCell()
318 awt::Point lcl_GetRelativePos( uno::Reference< drawing::XShape >& xShape, ScDocument* pDoc, SCTAB n… in lcl_GetRelativePos() argument
322 rRange = lcl_GetAnchorCell(xShape, pDoc, nTab, aUnoPoint, rUnoSize, rCaptionPoint); in lcl_GetRelativePos()
391 … uno::Reference<drawing::XShape> xShape( mxShapeAgg, uno::UNO_QUERY ); in setPropertyValue() local
392 if (xShape.is()) in setPropertyValue()
409 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in setPropertyValue()
435 xShape->setPosition(aUnoPoint); in setPropertyValue()
494 … uno::Reference<drawing::XShape> xShape( mxShapeAgg, uno::UNO_QUERY ); in setPropertyValue() local
495 if (xShape.is()) in setPropertyValue()
499 awt::Point aPoint(xShape->getPosition()); in setPropertyValue()
500 awt::Size aSize(xShape->getSize()); in setPropertyValue()
507 if (lcl_GetCaptionPoint(xShape, aCaptionPoint)) in setPropertyValue()
521 xShape->setPosition(aPoint); in setPropertyValue()
529 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in setPropertyValue()
554 aUnoPoint.Y = xShape->getPosition().Y; in setPropertyValue()
555 xShape->setPosition(aUnoPoint); in setPropertyValue()
592 … uno::Reference<drawing::XShape> xShape( mxShapeAgg, uno::UNO_QUERY ); in setPropertyValue() local
593 if (xShape.is()) in setPropertyValue()
597 awt::Point aPoint = xShape->getPosition(); in setPropertyValue()
599 if (lcl_GetCaptionPoint(xShape, aCaptionPoint)) in setPropertyValue()
605 xShape->setPosition(aPoint); in setPropertyValue()
613 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in setPropertyValue()
623 aUnoPoint.X = xShape->getPosition().X; in setPropertyValue()
624 xShape->setPosition(aUnoPoint); in setPropertyValue()
677 … uno::Reference<drawing::XShape> xShape( mxShapeAgg, uno::UNO_QUERY ); in getPropertyValue() local
678 if (xShape.is()) in getPropertyValue()
683 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in getPropertyValue()
731 uno::Reference<drawing::XShape> xShape( mxShapeAgg, uno::UNO_QUERY ); in getPropertyValue() local
732 if (xShape.is()) in getPropertyValue()
739 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in getPropertyValue()
747 awt::Point aUnoPoint(xShape->getPosition()); in getPropertyValue()
748 awt::Size aUnoSize(xShape->getSize()); in getPropertyValue()
754 if (lcl_GetCaptionPoint(xShape, aCaptionPoint)) in getPropertyValue()
790 uno::Reference<drawing::XShape> xShape( mxShapeAgg, uno::UNO_QUERY ); in getPropertyValue() local
791 if (xShape.is()) in getPropertyValue()
799 … awt::Point aUnoPoint(lcl_GetRelativePos( xShape, pDoc, nTab, aRange, aUnoSize, aCaptionPoint )); in getPropertyValue()
805 awt::Point aUnoPoint(xShape->getPosition()); in getPropertyValue()
807 if (lcl_GetCaptionPoint(xShape, aCaptionPoint)) in getPropertyValue()