Lines Matching refs:xPropSet
110 XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface( in testInsertShape() local
112 xPropSet.setPropertyValue("Name", "test"); in testInsertShape()
150 XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface( in testShapeFillGradient() local
152 xPropSet.setPropertyValue("FillStyle", FillStyle.GRADIENT); in testShapeFillGradient()
164 xPropSet.setPropertyValue("FillGradient", aGradient); in testShapeFillGradient()
167 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeFillGradient()
169 assertEquals("Not Gradient Fill Style",FillStyle.GRADIENT,xPropSet.getPropertyValue("FillStyle")); in testShapeFillGradient()
170 aGradient=(Gradient) xPropSet.getPropertyValue("FillGradient"); in testShapeFillGradient()
186 XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface( in testShapeFillColor() local
188 xPropSet.setPropertyValue("FillStyle", FillStyle.SOLID); in testShapeFillColor()
189 xPropSet.setPropertyValue("FillColor", 0xffff00); in testShapeFillColor()
192 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeFillColor()
194 assertEquals("Not Color Fill Style",FillStyle.SOLID,xPropSet.getPropertyValue("FillStyle")); in testShapeFillColor()
195 assertEquals("Not Yellow Color Fill",0xffff00,xPropSet.getPropertyValue("FillColor")); in testShapeFillColor()
209 XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface( in testShapeFillHatch() local
211 xPropSet.setPropertyValue("FillStyle", FillStyle.HATCH); in testShapeFillHatch()
217 xPropSet.setPropertyValue("FillHatch", aHatch); in testShapeFillHatch()
221 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeFillHatch()
223 assertEquals("Not Gradient Fill Style",FillStyle.HATCH,xPropSet.getPropertyValue("FillStyle")); in testShapeFillHatch()
224 aHatch=(Hatch) xPropSet.getPropertyValue("FillHatch"); in testShapeFillHatch()
242 XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface( in testShapeLineStyle() local
244 xPropSet.setPropertyValue("LineStyle", LineStyle.DASH); in testShapeLineStyle()
251 xPropSet.setPropertyValue("LineDash", aLineDash); in testShapeLineStyle()
255 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeLineStyle()
257 assertEquals("Not Dash Line Style",LineStyle.DASH,xPropSet.getPropertyValue("LineStyle")); in testShapeLineStyle()
258 aLineDash=(LineDash) xPropSet.getPropertyValue("LineDash"); in testShapeLineStyle()
274 XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface( in testShapeLineColor() local
276 xPropSet.setPropertyValue("LineStyle", LineStyle.DASH); in testShapeLineColor()
277 xPropSet.setPropertyValue("LineColor", 0x00ff00); in testShapeLineColor()
279 xPropSet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xShape); in testShapeLineColor()
281 assertEquals("Not Dash Line Style",LineStyle.DASH,xPropSet.getPropertyValue("LineStyle")); in testShapeLineColor()
282 assertEquals("wrong line color", 0x00ff00,xPropSet.getPropertyValue("LineColor")); in testShapeLineColor()
313 XPropertySet xPropSet = (XPropertySet) UnoRuntime.queryInterface( in testShapeRotation() local
315 xPropSet.setPropertyValue("RotateAngle", 2500); in testShapeRotation()
317 xPropSet = (XPropertySet) UnoRuntime.queryInterface( in testShapeRotation()
319 assertEquals("RotateAngle is not 2500", 2500L, xPropSet.getPropertyValue("RotateAngle")); in testShapeRotation()