Lines Matching refs:xShape
99 com::sun::star::uno::Reference< com::sun::star::drawing::XShape > xShape; member
143 uno::Reference< beans::XPropertySet> xProps(pData->xShape, uno::UNO_QUERY); in LessThanSheet()
161 uno::Reference< beans::XPropertySet> xProps1(pData1->xShape, uno::UNO_QUERY); in operator ()()
162 uno::Reference< beans::XPropertySet> xProps2(pData2->xShape, uno::UNO_QUERY); in operator ()()
224 xShapes->add(pAccShapeData->xShape); in operator ()()
264 ::com::sun::star::drawing::XShape>& xShape)
310 ScAddress* GetAnchor(const uno::Reference<drawing::XShape>& xShape) const;
312 void CheckWhetherAnchorChanged(const uno::Reference<drawing::XShape>& xShape) const;
313 … void SetAnchor(const uno::Reference<drawing::XShape>& xShape, ScAccessibleShapeData* pData) const;
314 void AddShape(const uno::Reference<drawing::XShape>& xShape, sal_Bool bCommitChange) const;
315 void RemoveShape(const uno::Reference<drawing::XShape>& xShape) const;
317 …sal_Bool FindShape(const uno::Reference<drawing::XShape>& xShape, SortedShapes::iterator& rItr) co…
405 … uno::Reference<drawing::XShape> xShape (pObj->getUnoShape(), uno::UNO_QUERY); in Notify() local
406 if (xShape.is()) in Notify()
410 CheckWhetherAnchorChanged(xShape); in Notify()
416 … uno::Reference<drawing::XShape> xShape (pObj->getUnoShape(), uno::UNO_QUERY); in Notify() local
417 if (xShape.is()) in Notify()
418 AddShape(xShape, sal_True); in Notify()
423 … uno::Reference<drawing::XShape> xShape (pObj->getUnoShape(), uno::UNO_QUERY); in Notify() local
424 if (xShape.is()) in Notify()
425 RemoveShape(xShape); in Notify()
506 …ssibleCaption (const ::com::sun::star::uno::Reference < ::com::sun::star::drawing::XShape>& xShape) in GetAccessibleCaption() argument
513 if (pShape && pShape->xShape == xShape ) in GetAccessibleCaption()
535 uno::Reference< drawing::XShape > xShape (pObj->getUnoShape(), uno::UNO_QUERY); in GetCount() local
536 AddShape(xShape, sal_False); //inserts in the correct order in GetCount()
551 …::accessibility::AccessibleShapeInfo aShapeInfo(pData->xShape, mpAccessibleDocument, const_cast<Sc… in Get()
632 rShape = maZOrderedShapes[nIndex]->xShape; in IsSelected()
645 uno::Reference< drawing::XShape > xShape; in IsSelected() local
646 uno::Reference< drawing::XShape > xIndexShape = maZOrderedShapes[nIndex]->xShape; in IsSelected()
650 xIndexAccess->getByIndex(i) >>= xShape; in IsSelected()
651 if (xShape.is() && (xIndexShape.get() == xShape.get())) in IsSelected()
654 xReturnShape = xShape; in IsSelected()
691 uno::Reference<drawing::XShape> xShape; in Select() local
692 if (!IsSelected(nIndex, xShape) && maZOrderedShapes[nIndex]->bSelectable) in Select()
700 xShapes->add(maZOrderedShapes[nIndex]->xShape); in Select()
770 uno::Reference<drawing::XShape> xShape; in FillShapes() local
771 xIndexAccess->getByIndex(i) >>= xShape; in FillShapes()
772 if (xShape.is()) in FillShapes()
773 rShapes.push_back(xShape); in FillShapes()
842 uno::Reference<drawing::XShape> xShape; in Deselect() local
843 if (IsSelected(nChildIndex, xShape)) // returns false if it is the sheet in Deselect()
845 if (xShape.is()) in Deselect()
850 xShapes->remove(xShape); in Deselect()
934 uno::Reference< drawing::XShape > xShape; in FindSelectedShapesChanges() local
935 xIndexAcc->getByIndex(i) >>= xShape; in FindSelectedShapesChanges()
936 if (xShape.is()) in FindSelectedShapesChanges()
939 pShapeData->xShape = xShape; in FindSelectedShapesChanges()
949 pFocusedObj = GetSdrObjectFromXShape(aShapesList[0]->xShape); in FindSelectedShapesChanges()
1040 (*aFocusedItr)->xShape.is() && in FindSelectedShapesChanges()
1042 (*aFocusedItr)->xShape != xMarkedXShape ) in FindSelectedShapesChanges()
1158 ScAddress* ScChildrenShapes::GetAnchor(const uno::Reference<drawing::XShape>& xShape) const in GetAnchor()
1163 SvxShape* pShapeImp = SvxShape::getImplementation(xShape); in GetAnchor()
1164 uno::Reference<beans::XPropertySet> xShapeProp(xShape, uno::UNO_QUERY); in GetAnchor()
1176 awt::Point aPoint(xShape->getPosition()); in GetAnchor()
1177 awt::Size aSize(xShape->getSize()); in GetAnchor()
1178 rtl::OUString sType(xShape->getShapeType()); in GetAnchor()
1226 void ScChildrenShapes::CheckWhetherAnchorChanged(const uno::Reference<drawing::XShape>& xShape) con… in CheckWhetherAnchorChanged()
1229 if (FindShape(xShape, aItr)) in CheckWhetherAnchorChanged()
1230 SetAnchor(xShape, *aItr); in CheckWhetherAnchorChanged()
1233 void ScChildrenShapes::SetAnchor(const uno::Reference<drawing::XShape>& xShape, ScAccessibleShapeDa… in SetAnchor() argument
1237 ScAddress* pAddress = GetAnchor(xShape); in SetAnchor()
1250 void ScChildrenShapes::AddShape(const uno::Reference<drawing::XShape>& xShape, sal_Bool bCommitChan… in AddShape() argument
1253 if (!FindShape(xShape, aFindItr)) in AddShape()
1256 pShape->xShape = xShape; in AddShape()
1258 SetAnchor(xShape, pShape); in AddShape()
1260 uno::Reference< beans::XPropertySet > xShapeProp(xShape, uno::UNO_QUERY); in AddShape()
1289 if (xShape.is() && (xShape.get() == xSelectedShape.get())) in AddShape()
1313 void ScChildrenShapes::RemoveShape(const uno::Reference<drawing::XShape>& xShape) const in RemoveShape()
1316 if (FindShape(xShape, aItr)) in RemoveShape()
1344 sal_Bool ScChildrenShapes::FindShape(const uno::Reference<drawing::XShape>& xShape, ScChildrenShape… in FindShape() argument
1348 aShape.xShape = xShape; in FindShape()
1351 …if ((rItr != maZOrderedShapes.end()) && (*rItr != NULL) && ((*rItr)->xShape.get() == xShape.get())) in FindShape()
1360 if (*aDebugItr && ((*aDebugItr)->xShape.get() == xShape.get())) in FindShape()
1949 uno::Reference<drawing::XShape> xShape; in isAccessibleChildSelected() local
1950 …bResult = mpChildrenShapes->IsSelected(nChildIndex, xShape); // throws no lang::IndexOutOfBoundsEx… in isAccessibleChildSelected()
2455 uno::Reference< ::com::sun::star::drawing::XShape > xShape; in get_AccFlowTo() local
2456 rAny >>= xShape; in get_AccFlowTo()
2457 if ( xShape.is() ) in get_AccFlowTo()
2459 uno::Reference < XAccessible > xAcc = mpChildrenShapes->GetAccessibleCaption(xShape); in get_AccFlowTo()