@Test public void parContent() throws Exception { final Text t = Text.content("a"); TestHelper.assertXMLEquals("<text:p>a</text:p>", t); }
public static Text content(final String text) { return Text.builder().parContent(text).build(); }
Text implements ParagraphElement { public static Text content(final String text) { return Text.builder().parContent(text).build(); } }
Text implements ParagraphElement { public static Text content(final String text) { return Text.builder().parContent(text).build(); } Text(final List<Paragraph> paragraphs); }
Text implements ParagraphElement { public static Text content(final String text) { return Text.builder().parContent(text).build(); } Text(final List<Paragraph> paragraphs); static TextBuilder builder(); static Text content(final String text); static Text styledContent(final String text, final TextStyle ts); @Override void addEmbeddedStylesFromCell(final StylesContainer stylesContainer); @Override void addEmbeddedStylesFromFooterHeader(final StylesContainer stylesContainer); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); boolean isEmpty(); @Override boolean equals(final Object o); @Override final int hashCode(); }
Text implements ParagraphElement { public static Text content(final String text) { return Text.builder().parContent(text).build(); } Text(final List<Paragraph> paragraphs); static TextBuilder builder(); static Text content(final String text); static Text styledContent(final String text, final TextStyle ts); @Override void addEmbeddedStylesFromCell(final StylesContainer stylesContainer); @Override void addEmbeddedStylesFromFooterHeader(final StylesContainer stylesContainer); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable); boolean isEmpty(); @Override boolean equals(final Object o); @Override final int hashCode(); static final String TEXT_DATE; static final String TEXT_FILE_NAME; static final String TEXT_PAGE_COUNT; static final String TEXT_PAGE_NUMBER; static final String TEXT_SHEET_NAME; static final String TEXT_TIME; }