@Test public final void testColorNameSize() throws IOException { final TextProperties prop = TextProperties.builder().fontColor(SimpleColor.ALICEBLUE) .fontName(LOFonts.LIBERATION_SERIF).fontSizePercentage(10.8).build(); TestHelper.assertXMLEquals( "<style:text-properties fo:color=\"#f0f8ff\" style:font-name=\"Liberation Serif\"" + " fo:font-size=\"10.8%\" " + "style:font-size-asian=\"10.8%\" style:font-size-complex=\"10.8%\"/>", prop); }
public static TextPropertiesBuilder builder() { return new TextPropertiesBuilder(); }
TextProperties implements TagParameters { public static TextPropertiesBuilder builder() { return new TextPropertiesBuilder(); } }
TextProperties implements TagParameters { public static TextPropertiesBuilder builder() { return new TextPropertiesBuilder(); } TextProperties(final Color fontColor, final String fontName, final String fontWeight,
                   final String fontStyle, final double fontSizePercentage,
                   final Length fontSizeLength, final Color fontUnderlineColor,
                   final Underline fontUnderlineStyle); }
TextProperties implements TagParameters { public static TextPropertiesBuilder builder() { return new TextPropertiesBuilder(); } TextProperties(final Color fontColor, final String fontName, final String fontWeight,
                   final String fontStyle, final double fontSizePercentage,
                   final Length fontSizeLength, final Color fontUnderlineColor,
                   final Underline fontUnderlineStyle); static TextPropertiesBuilder builder(); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); boolean isNotEmpty(); FontFace getFontFace(); TextPropertiesBuilder toBuilder(); }
TextProperties implements TagParameters { public static TextPropertiesBuilder builder() { return new TextPropertiesBuilder(); } TextProperties(final Color fontColor, final String fontName, final String fontWeight,
                   final String fontStyle, final double fontSizePercentage,
                   final Length fontSizeLength, final Color fontUnderlineColor,
                   final Underline fontUnderlineStyle); static TextPropertiesBuilder builder(); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); boolean isNotEmpty(); FontFace getFontFace(); TextPropertiesBuilder toBuilder();  }