|
| Chapter (int number) |
|
| Chapter (Paragraph title, int number) |
| Constructs a new Chapter. More...
|
|
| Chapter (string title, int number) |
| Constructs a new Chapter. More...
|
|
override bool | IsNestable () |
|
bool | Process (IElementListener listener) |
| Processes the element by adding it (or the different parts) to an IElementListener. More...
|
|
bool | IsContent () |
|
void | Add (int index, Object o) |
| Adds a Paragraph, List or Table to this Section. More...
|
|
new bool | Add (Object o) |
| Adds a Paragraph, List, Table or another Section to this Section. More...
|
|
bool | AddAll (ICollection collection) |
| Adds a collection of Elements to this Section. More...
|
|
virtual Section | AddSection (float indentation, Paragraph title, int numberDepth) |
| Creates a Section, adds it to this Section and returns it. More...
|
|
virtual Section | AddSection (float indentation, Paragraph title) |
| Creates a Section, adds it to this Section and returns it. More...
|
|
virtual Section | AddSection (Paragraph title, int numberDepth) |
| Creates a Section, add it to this Section and returns it. More...
|
|
MarkedSection | AddMarkedSection () |
|
virtual Section | AddSection (Paragraph title) |
| Creates a Section, adds it to this Section and returns it. More...
|
|
virtual Section | AddSection (float indentation, string title, int numberDepth) |
| Adds a Section to this Section and returns it. More...
|
|
virtual Section | AddSection (string title, int numberDepth) |
| Adds a Section to this Section and returns it. More...
|
|
virtual Section | AddSection (float indentation, string title) |
| Adds a Section to this Section and returns it. More...
|
|
virtual Section | AddSection (string title) |
| Adds a Section to this Section and returns it. More...
|
|
void | Set (Properties attributes) |
| Alters the attributes of this Section. More...
|
|
bool | IsChapter () |
| Checks if this object is a Chapter. More...
|
|
bool | IsSection () |
| Checks if this object is a Section. More...
|
|
Paragraph | GetBookmarkTitle () |
|
override string | ToString () |
| Gets the content of the text element. More...
|
|
void | SetChapterNumber (int number) |
|
void | FlushContent () |
|
void | NewPage () |
|
|
override int | Type [get] |
| Gets the type of the text element. More...
|
|
virtual int | Type [get] |
| Gets the type of the text element. More...
|
|
ArrayList | Chunks [get] |
| Gets all the chunks in this element. More...
|
|
Paragraph | Title [get, set] |
| Get/set the title of this section More...
|
|
int | NumberStyle [get, set] |
|
int | NumberDepth [get, set] |
| Get/set the numberdepth of this Section. More...
|
|
float | IndentationLeft [get, set] |
| Get/set the indentation of this Section on the left side. More...
|
|
float | IndentationRight [get, set] |
| Get/set the indentation of this Section on the right side. More...
|
|
float | Indentation [get, set] |
| Get/set the indentation of the content of this Section. More...
|
|
int | Depth [get] |
| Returns the depth of this section. More...
|
|
bool | BookmarkOpen [get, set] |
| Get/set the bookmark More...
|
|
String | BookmarkTitle [set] |
|
virtual bool | TriggerNewPage [get, set] |
|
bool | NotAddedYet [get, set] |
|
bool | AddedCompletely [get, set] |
|
bool | ElementComplete [get, set] |
|
int | Type [get] |
| Gets the type of the text element. More...
|
|
ArrayList | Chunks [get] |
| Gets all the chunks in this element. More...
|
|
bool | ElementComplete [get, set] |
|
A Chapter is a special Section.
A chapter number has to be created using a Paragraph as title and an int as chapter number. The chapter number is shown be default. If you don't want to see the chapter number, you have to set the numberdepth to 0.
Paragraph title2 = new Paragraph("This is Chapter 2", FontFactory.GetFont(FontFactory.HELVETICA, 18, Font.BOLDITALIC, new Color(0, 0, 255)));
chapter2.SetNumberDepth(0);</strong>
Paragraph someText = new Paragraph("This is some text");
<strong>chapter2.Add(someText);</strong>
Paragraph title21 = new Paragraph("This is Section 1 in Chapter 2", FontFactory.GetFont(FontFactory.HELVETICA, 16, Font.BOLD, new Color(255, 0, 0)));
Section section1 = <strong>chapter2.AddSection(title21);</strong>
Paragraph someSectionText = new Paragraph("This is some silly paragraph in a chapter and/or section. It contains some text to test the functionality of Chapters and Section.");
section1.Add(someSectionText);
Chapter(int number)
Definition: Chapter.cs:91