public class ChapterAutoNumber extends Chapter
Modifier and Type | Field and Description |
---|---|
private static int |
chapternumber
the chapter number (for all instance)
|
bookmarkOpen, bookmarkTitle, indentationLeft, indentationRight, numberDepth, numbers, sectionIndent, subsections, title
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, GRAPHIC, HEADER, IMGRAW, IMGTEMPLATE, JPEG, KEYWORDS, LIST, LISTITEM, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE
Constructor and Description |
---|
ChapterAutoNumber(Paragraph para)
Create a new object.
|
ChapterAutoNumber(java.lang.String title)
Create a new objet.
|
Modifier and Type | Method and Description |
---|---|
Section |
addSection(Paragraph title)
Create a new section for this chapter and add it.
|
Section |
addSection(java.lang.String title)
Create a new section for this chapter and ad it.
|
add, add, addAll, addSection, addSection, addSection, addSection, addSection, addSection, addSection, depth, getBookmarkTitle, getChunks, indentation, indentationLeft, indentationRight, isBookmarkOpen, isChapter, isSection, isTitle, numberDepth, process, set, setBookmarkOpen, setBookmarkTitle, setIndentation, setIndentationLeft, setIndentationRight, setNumberDepth, setTitle, title
addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
add
public ChapterAutoNumber(Paragraph para)
para
- the Chapter title (as a Paragraph
)public ChapterAutoNumber(java.lang.String title)
title
- the Chapter title (as a String
)public Section addSection(java.lang.String title)
addSection
in class Section
title
- the Section title (as a String
)public Section addSection(Paragraph title)
addSection
in class Section
title
- the Section title (as a Paragraph
)