com.lowagie.text

Class ChapterAutoNumber

public class ChapterAutoNumber extends Chapter

Chapter with auto numbering.

Author: Michael Niedermair

Field Summary
static longserialVersionUID
Constructor Summary
ChapterAutoNumber(Paragraph para)
Create a new object.
ChapterAutoNumber(String title)
Create a new objet.
Method Summary
SectionaddSection(String title)
Create a new section for this chapter and ad it.
SectionaddSection(Paragraph title)
Create a new section for this chapter and add it.

Field Detail

serialVersionUID

private static final long serialVersionUID

Constructor Detail

ChapterAutoNumber

public ChapterAutoNumber(Paragraph para)
Create a new object.

Parameters: para the Chapter title (as a Paragraph)

ChapterAutoNumber

public ChapterAutoNumber(String title)
Create a new objet.

Parameters: title the Chapter title (as a String)

Method Detail

addSection

public Section addSection(String title)
Create a new section for this chapter and ad it.

Parameters: title the Section title (as a String)

Returns: Returns the new section.

addSection

public Section addSection(Paragraph title)
Create a new section for this chapter and add it.

Parameters: title the Section title (as a Paragraph)

Returns: Returns the new section.