Lines Matching refs:xShape
107 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testInsertShape() local
109 xShapes.add(xShape); in testInsertShape()
111 XPropertySet.class, xShape); in testInsertShape()
114 xShape=saveAndLoadShape(1,0); in testInsertShape()
116 XPropertySet.class, xShape); in testInsertShape()
118 assertEquals("Not EllopseShape","com.sun.star.drawing.EllipseShape",xShape.getShapeType()); in testInsertShape()
130 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testInsertTextToShape() local
132 xShapes.add(xShape); in testInsertTextToShape()
133 xShape=saveAndLoadShape(1,0); in testInsertTextToShape()
134 ShapeUtil.addPortion(xShape, "test", false); in testInsertTextToShape()
135 assertEquals("Not put text correctly","test",ShapeUtil.getPortion(xShape)); in testInsertTextToShape()
147 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testShapeFillGradient() local
149 xShapes.add(xShape); in testShapeFillGradient()
151 XPropertySet.class, xShape); in testShapeFillGradient()
166 xShape=saveAndLoadShape(1,0); in testShapeFillGradient()
167 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeFillGradient()
183 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testShapeFillColor() local
185 xShapes.add(xShape); in testShapeFillColor()
187 XPropertySet.class, xShape); in testShapeFillColor()
191 xShape=saveAndLoadShape(1,0); in testShapeFillColor()
192 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeFillColor()
206 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testShapeFillHatch() local
208 xShapes.add(xShape); in testShapeFillHatch()
210 XPropertySet.class, xShape); in testShapeFillHatch()
220 xShape=saveAndLoadShape(1,0); in testShapeFillHatch()
221 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeFillHatch()
238 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testShapeLineStyle() local
240 xShapes.add(xShape); in testShapeLineStyle()
243 XPropertySet.class, xShape); in testShapeLineStyle()
254 xShape=saveAndLoadShape(1,0); in testShapeLineStyle()
255 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeLineStyle()
271 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testShapeLineColor() local
273 xShapes.add(xShape); in testShapeLineColor()
275 XPropertySet.class, xShape); in testShapeLineColor()
278 xShape=saveAndLoadShape(1,0); in testShapeLineColor()
279 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeLineColor()
294 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testShapePositionSize() local
296 xShapes.add(xShape); in testShapePositionSize()
297 xShape=saveAndLoadShape(1,0); in testShapePositionSize()
298 assertEquals("wrong shape position",1000,xShape.getPosition().X); in testShapePositionSize()
299 assertEquals("wrong shape Height", 5000 ,xShape.getSize().Height); in testShapePositionSize()
310 XShape xShape = ShapeUtil.createShape(impressDocument, po, new Size( in testShapeRotation() local
312 xShapes.add(xShape); in testShapeRotation()
314 XPropertySet.class, xShape); in testShapeRotation()
316 xShape=saveAndLoadShape(1,0); in testShapeRotation()
318 XPropertySet.class, xShape); in testShapeRotation()