@Test public void testDefaultXML() throws IOException { final TextStyle style = TextStyle.builder("ts").build(); TestHelper.assertXMLEquals("<style:style style:name=\"ts\" " + "style:family=\"text\"><style:text-properties/></style:style>", style); }
public static TextStyleBuilder builder(final String styleName) { return new TextStyleBuilder(styleName); }
TextStyle implements FontFaceContainerStyle { public static TextStyleBuilder builder(final String styleName) { return new TextStyleBuilder(styleName); } }
TextStyle implements FontFaceContainerStyle { public static TextStyleBuilder builder(final String styleName) { return new TextStyleBuilder(styleName); } TextStyle(final String name, final boolean hidden, final TextProperties textProperties); }
TextStyle implements FontFaceContainerStyle { public static TextStyleBuilder builder(final String styleName) { return new TextStyleBuilder(styleName); } TextStyle(final String name, final boolean hidden, final TextProperties textProperties); static TextStyleBuilder builder(final String styleName); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); @Override FontFace getFontFace(); @Override ObjectStyleFamily getFamily(); @Override String getName(); boolean isNotEmpty(); @Override String getKey(); @Override boolean isHidden(); @Override void addToElements(final OdsElements odsElements); }
TextStyle implements FontFaceContainerStyle { public static TextStyleBuilder builder(final String styleName) { return new TextStyleBuilder(styleName); } TextStyle(final String name, final boolean hidden, final TextProperties textProperties); static TextStyleBuilder builder(final String styleName); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); @Override FontFace getFontFace(); @Override ObjectStyleFamily getFamily(); @Override String getName(); boolean isNotEmpty(); @Override String getKey(); @Override boolean isHidden(); @Override void addToElements(final OdsElements odsElements); static final TextStyle DEFAULT_TEXT_STYLE; }