@Test public final void testItalicBold() throws IOException { final TextProperties prop = TextProperties.builder().fontStyleItalic().fontWeightBold().build(); TestHelper.assertXMLEquals( "<style:text-properties fo:font-weight=\"bold\" style:font-weight-asian=\"bold\" " + "style:font-weight-complex=\"bold\" fo:font-style=\"italic\" " + "style:font-style-asian=\"italic\" style:font-style-complex=\"italic\"/>", 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();  }