Lines Matching refs:xtextProps

75 	private XPropertySet xtextProps = null;  field in CheckCharacterStyle
110 xtextProps = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xShapeText); in setUp()
135 xtextProps.setPropertyValue("CharColor", 0xFF0000); in testFontColor()
143 xtextProps = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xShapeText); in testFontColor()
145 assertEquals("character color should be red", 0xFF0000,xtextProps.getPropertyValue("CharColor")); in testFontColor()
151 xtextProps.setPropertyValue("CharUnderline", com.sun.star.awt.FontUnderline.SINGLE); in testFontUnderline()
158 xtextProps = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xShapeText); in testFontUnderline()
160 …assertEquals("character should be underlined", com.sun.star.awt.FontUnderline.SINGLE, xtextProps.g… in testFontUnderline()
166 xtextProps.setPropertyValue("CharHeight", 12); in testFontSize()
173 xtextProps = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xShapeText); in testFontSize()
175 …assertEquals("font size should be 12.0", "12.0", xtextProps.getPropertyValue("CharHeight").toStrin… in testFontSize()
180 xtextProps.setPropertyValue("CharWeight", com.sun.star.awt.FontWeight.BOLD); in testFontBoldStyle()
187 xtextProps = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xShapeText); in testFontBoldStyle()
188 …assertEquals("font style should be bold", com.sun.star.awt.FontWeight.BOLD, xtextProps.getProperty… in testFontBoldStyle()
194 xtextProps.setPropertyValue("CharPosture", com.sun.star.awt.FontSlant.ITALIC); in testFontItalicStyle()
201 xtextProps = (XPropertySet)UnoRuntime.queryInterface(XPropertySet.class, xShapeText); in testFontItalicStyle()
202 …assertEquals("font style should be bold", com.sun.star.awt.FontSlant.ITALIC, xtextProps.getPropert… in testFontItalicStyle()