@Test public final void testWithStyle() throws IOException { final TextStyle ts = TextStyle.builder("style").visible().fontStyleNormal().fontWeightNormal().build(); this.parBuilder.style(ts).span("text"); this.assertParXMLEquals("<text:p text:style-name=\"style\">text</text:p>"); }
public static ParagraphBuilder builder() { return new ParagraphBuilder(); }
Paragraph implements TagParameters, ParagraphElement { public static ParagraphBuilder builder() { return new ParagraphBuilder(); } }
Paragraph implements TagParameters, ParagraphElement { public static ParagraphBuilder builder() { return new ParagraphBuilder(); } Paragraph(final List<ParagraphElement> paragraphElements, final TextStyle style); }
Paragraph implements TagParameters, ParagraphElement { public static ParagraphBuilder builder() { return new ParagraphBuilder(); } Paragraph(final List<ParagraphElement> paragraphElements, final TextStyle style); static ParagraphBuilder builder(); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); @Override void addEmbeddedStylesFromFooterHeader(final StylesContainer stylesContainer); @Override void addEmbeddedStylesFromCell(final StylesContainer stylesContainer); @Override boolean equals(final Object o); @Override final int hashCode(); }
Paragraph implements TagParameters, ParagraphElement { public static ParagraphBuilder builder() { return new ParagraphBuilder(); } Paragraph(final List<ParagraphElement> paragraphElements, final TextStyle style); static ParagraphBuilder builder(); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); @Override void addEmbeddedStylesFromFooterHeader(final StylesContainer stylesContainer); @Override void addEmbeddedStylesFromCell(final StylesContainer stylesContainer); @Override boolean equals(final Object o); @Override final int hashCode();  }