com.lowagie.text
public class: ChapterAutoNumber [javadoc |
source]
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.lowagie.text.Section
com.lowagie.text.Chapter
com.lowagie.text.ChapterAutoNumber
All Implemented Interfaces:
TextElementArray, LargeElement, List, Serializable, RandomAccess, Cloneable, Collection
Chapter with auto numbering.
- author:
Michael - Niedermair
| Fields inherited from com.lowagie.text.Section: |
|---|
| NUMBERSTYLE_DOTTED, NUMBERSTYLE_DOTTED_WITHOUT_FINAL_DOT, title, bookmarkTitle, numberDepth, numberStyle, indentationLeft, indentationRight, indentation, bookmarkOpen, triggerNewPage, subsections, numbers, complete, addedCompletely, notAddedYet |
| Methods from com.lowagie.text.Section: |
|---|
|
add, add, addAll, addMarkedSection, addSection, addSection, addSection, addSection, addSection, addSection, addSection, addSection, constructTitle, flushContent, getBookmarkTitle, getChunks, getDepth, getIndentation, getIndentationLeft, getIndentationRight, getNumberDepth, getNumberStyle, getTitle, isAddedCompletely, isBookmarkOpen, isChapter, isComplete, isContent, isNestable, isNotAddedYet, isSection, isTriggerNewPage, newPage, process, setAddedCompletely, setBookmarkOpen, setBookmarkTitle, setChapterNumber, setComplete, setIndentation, setIndentationLeft, setIndentationRight, setNotAddedYet, setNumberDepth, setNumberStyle, setTitle, setTriggerNewPage, type |
| Methods from java.util.ArrayList: |
|---|
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
| Methods from java.util.AbstractList: |
|---|
|
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList |
| Methods from java.util.AbstractCollection: |
|---|
|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString |
| Method from com.lowagie.text.ChapterAutoNumber Detail: |
public Section addSection(String title) {
if (isAddedCompletely()) {
throw new IllegalStateException("This LargeElement has already been added to the Document.");
}
return addSection(title, 2);
}
Create a new section for this chapter and ad it. |
public Section addSection(Paragraph title) {
if (isAddedCompletely()) {
throw new IllegalStateException("This LargeElement has already been added to the Document.");
}
return addSection(title, 2);
}
Create a new section for this chapter and add it. |