public class Span extends Object implements ParagraphElement
| Constructor and Description |
|---|
Span(String text)
Create a span with some text
|
Span(String text,
TextStyle ts)
Create a span with some text
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEmbeddedStylesFromCell(StylesContainer stylesContainer)
Add the styles contained in this paragraph element to the styles container.
|
void |
addEmbeddedStylesFromFooterHeader(StylesContainer stylesContainer)
Add the styles contained in this paragraph element to the styles container.
|
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
boolean |
equals(Object o) |
int |
hashCode() |
public Span(String text)
text - the textpublic void appendXMLContent(XMLUtil util, Appendable appendable) throws IOException
XMLConvertibleappendXMLContent in interface XMLConvertibleutil - the xml utilappendable - where to add strIOException - If an I/O error occurspublic void addEmbeddedStylesFromFooterHeader(StylesContainer stylesContainer)
ParagraphElementaddEmbeddedStylesFromFooterHeader in interface ParagraphElementstylesContainer - the styles containerpublic void addEmbeddedStylesFromCell(StylesContainer stylesContainer)
ParagraphElementaddEmbeddedStylesFromCell in interface ParagraphElementstylesContainer - the styles containerCopyright © 2016–2021. All rights reserved.