com.lowagie.text
public class ChapterAutoNumber extends Chapter
| Field Summary | |
|---|---|
| protected boolean | numberSet
Is the chapter number already set? |
| static long | serialVersionUID |
| Constructor Summary | |
|---|---|
| ChapterAutoNumber(Paragraph para)
Create a new object.
| |
| ChapterAutoNumber(String title)
Create a new object.
| |
| Method Summary | |
|---|---|
| Section | addSection(String title)
Create a new section for this chapter and ad it.
|
| Section | addSection(Paragraph title)
Create a new section for this chapter and add it.
|
| int | setAutomaticNumber(int number)
Changes the Chapter number. |
Since: 2.1.4
Parameters: para the Chapter title (as a Paragraph)
Parameters: title the Chapter title (as a String)
Parameters: title the Section title (as a String)
Returns: Returns the new section.
Parameters: title the Section title (as a Paragraph)
Returns: Returns the new section.
Parameters: number the new chapter number
Since: 2.1.4