org.jopendocument.dom.text
Class Heading

java.lang.Object
  extended by org.jopendocument.dom.ODNode
      extended by org.jopendocument.dom.StyledNode<S,TextDocument>
          extended by org.jopendocument.dom.text.TextNode<ParagraphStyle>
              extended by org.jopendocument.dom.text.Paragraph
                  extended by org.jopendocument.dom.text.Heading

public class Heading
extends Paragraph

A text heading, defining the chapter structure. See ยง4.1 of the OpenDocument specification.


Field Summary
 
Fields inherited from class org.jopendocument.dom.text.TextNode
parent
 
Constructor Summary
Heading()
           
Heading(String text)
           
 
Method Summary
 int getLevel()
           
 void setLevel(int level)
           
 
Methods inherited from class org.jopendocument.dom.text.Paragraph
addContent, addStyledContent, addTab, checkDocument, getConditionalStyle, toString
 
Methods inherited from class org.jopendocument.dom.text.TextNode
getCharacterContent, getCharacterContent, getCharacterContent, getChildrenCharacterContent, getODDocument, setDocument
 
Methods inherited from class org.jopendocument.dom.StyledNode
getPrivateStyle, getStyle, getStyle, getStyle, getStyle, getStyleDesc, getStyleDesc, getStyleDesc, getStyleName, getStyleStyleDesc, setStyleName, setStyleName
 
Methods inherited from class org.jopendocument.dom.ODNode
getElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Heading

public Heading(String text)

Heading

public Heading()
Method Detail

getLevel

public final int getLevel()

setLevel

public final void setLevel(int level)


Copyright © 2010 jOpenDocument All Rights Reserved.