org.jopendocument.dom.text
Class Paragraph
java.lang.Object
org.jopendocument.dom.ODNode
org.jopendocument.dom.StyledNode<S,ODSingleXMLDocument>
org.jopendocument.dom.text.TextNode<ParagraphStyle>
org.jopendocument.dom.text.Paragraph
- Direct Known Subclasses:
- Heading
public class Paragraph
- extends TextNode<ParagraphStyle>
A text paragraph, the basic unit of text. See ยง4.1 of the OpenDocument specification.
| Fields inherited from class org.jopendocument.dom.text.TextNode |
parent |
Paragraph
public Paragraph(org.jdom.Element elem)
Paragraph
public Paragraph(XMLVersion ns)
Paragraph
public Paragraph()
Paragraph
public Paragraph(String text)
setStyle
public final void setStyle(String styleName)
addContent
public final void addContent(String text)
addTab
public final void addTab()
addStyledContent
public final void addStyledContent(String text,
String styleName)
checkDocument
protected void checkDocument(ODSingleXMLDocument doc)
- Specified by:
checkDocument in class TextNode<ParagraphStyle>
toString
public String toString()
- Overrides:
toString in class ODNode
Copyright © 2010 jOpenDocument All Rights Reserved.