Indentable, Element, LargeElement, IAccessibleElement, TextElementArray, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Element>, java.util.Collection<Element>, java.util.List<Element>, java.util.RandomAccesspublic class ChapterAutoNumber extends Chapter
| Modifier and Type | Field | Description |
|---|---|---|
protected boolean |
numberSet |
Is the chapter number already set?
|
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, BODY, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, DIV, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LANGUAGE, LIST, LISTITEM, MARKED, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARKaddedCompletely, bookmarkOpen, bookmarkTitle, complete, indentation, indentationLeft, indentationRight, notAddedYet, numberDepth, numbers, numberStyle, NUMBERSTYLE_DOTTED, NUMBERSTYLE_DOTTED_WITHOUT_FINAL_DOT, subsections, title, triggerNewPage| Constructor | Description |
|---|---|
ChapterAutoNumber(Paragraph para) |
Create a new object.
|
ChapterAutoNumber(java.lang.String title) |
Create a new object.
|
| Modifier and Type | Method | 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.
|
int |
setAutomaticNumber(int number) |
Changes the Chapter number.
|
addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeisNestable, typefinalize, getClass, notify, notifyAll, toString, wait, wait, waitadd, add, addAll, addMarkedSection, addSection, addSection, addSection, addSection, addSection, addSection, constructTitle, flushContent, getAccessibleAttribute, getAccessibleAttributes, getBookmarkTitle, getChunks, getDepth, getId, getIndentation, getIndentationLeft, getIndentationRight, getNumberDepth, getNumberStyle, getRole, getTitle, isAddedCompletely, isBookmarkOpen, isChapter, isComplete, isContent, isInline, isNotAddedYet, isSection, isTriggerNewPage, newPage, process, setAccessibleAttribute, setAddedCompletely, setBookmarkOpen, setBookmarkTitle, setChapterNumber, setComplete, setId, setIndentation, setIndentationLeft, setIndentationRight, setNotAddedYet, setNumberDepth, setNumberStyle, setRole, setTitle, setTriggerNewPagepublic 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 Sectiontitle - the Section title (as a String)public Section addSection(Paragraph title)
addSection in class Sectiontitle - the Section title (as a Paragraph)public int setAutomaticNumber(int number)
number - the new chapter numberCopyright © 1998–2018. All rights reserved.