|
HiraokaHyperTools.iTextSharp-LGPL
0.3.0
|
A Section is a part of a Document containing other Sections, Paragraphs, List and/or Tables. More...
Public Member Functions | |
| bool | Process (IElementListener listener) |
| Processes the element by adding it (or the different parts) to an IElementListener. More... | |
| bool | IsContent () |
| virtual bool | IsNestable () |
| 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 () |
Static Public Member Functions | |
| static Paragraph | ConstructTitle (Paragraph title, ArrayList numbers, int numberDepth, int numberStyle) |
| static bool | IsTitle (string tag) |
| Checks if a given tag corresponds with a title tag for this object. More... | |
| static bool | IsTag (string tag) |
| Checks if a given tag corresponds with this object. More... | |
Static Public Attributes | |
| const int | NUMBERSTYLE_DOTTED = 0 |
| const int | NUMBERSTYLE_DOTTED_WITHOUT_FINAL_DOT = 1 |
Protected Attributes | |
| Paragraph | title |
| This is the title of this section. More... | |
| int | numberDepth |
| int | numberStyle = NUMBERSTYLE_DOTTED |
| summary> The indentation of this section on the left side. More... | |
| float | indentationLeft |
| summary> The indentation of this section on the right side. More... | |
| float | indentationRight |
| summary> The additional indentation of the content of this section. More... | |
| float | indentation |
| summary> This is the number of subsections. More... | |
| int | subsections = 0 |
| summary> This is the complete list of sectionnumbers of this section and the parents of this section. More... | |
| bool | complete = true |
| bool | addedCompletely = false |
| bool | notAddedYet = true |
| summary> false if the bookmark children are not visible More... | |
| bool | bookmarkOpen = true |
| bool | triggerNewPage = false |
| string | bookmarkTitle |
Properties | |
| 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] |
Properties inherited from iTextSharp.text.IElement | |
| int | Type [get] |
| Gets the type of the text element. More... | |
| ArrayList | Chunks [get] |
| Gets all the chunks in this element. More... | |
Properties inherited from iTextSharp.text.ILargeElement | |
| bool | ElementComplete [get, set] |
A Section is a part of a Document containing other Sections, Paragraphs, List and/or Tables.
You can not construct a Section yourself. You will have to ask an instance of Section to the Chapter or Section to which you want to add the new Section.
| void iTextSharp.text.Section.Add | ( | int | index, |
| Object | o | ||
| ) |
| new bool iTextSharp.text.Section.Add | ( | Object | o | ) |
| bool iTextSharp.text.Section.AddAll | ( | ICollection | collection | ) |
Adds a collection of Elements to this Section.
| collection | a collection of Paragraphs, Lists and/or Tables |
| MarkedSection iTextSharp.text.Section.AddMarkedSection | ( | ) |
Adds a marked section. For use in class MarkedSection only!
|
virtual |
|
virtual |
Adds a Section to this Section and returns it.
Adds a Section to this Section and returns it.
| indentation | the indentation of the new section |
| title | the title of the new section |
| numberDepth | the numberDepth of the section |
| indentation | the indentation of the new section |
| title | the title of the new section |
| numberDepth | the numberDepth of the section |
Creates a Section, adds it to this Section and returns it.
| title | the title of the new section |
Reimplemented in iTextSharp.text.ChapterAutoNumber.
|
virtual |
|
virtual |
| void iTextSharp.text.Section.FlushContent | ( | ) |
Implements iTextSharp.text.ILargeElement.
| Paragraph iTextSharp.text.Section.GetBookmarkTitle | ( | ) |
Gets the bookmark title.
| bool iTextSharp.text.Section.IsChapter | ( | ) |
| bool iTextSharp.text.Section.IsContent | ( | ) |
|
virtual |
Implements iTextSharp.text.IElement.
Reimplemented in iTextSharp.text.Chapter.
| bool iTextSharp.text.Section.IsSection | ( | ) |
|
static |
Checks if a given tag corresponds with this object.
| tag | the given tag |
|
static |
Checks if a given tag corresponds with a title tag for this object.
| tag | the given tag |
| void iTextSharp.text.Section.NewPage | ( | ) |
Adds a new page to the section.
| bool iTextSharp.text.Section.Process | ( | IElementListener | listener | ) |
Processes the element by adding it (or the different parts) to an IElementListener.
| listener | the IElementListener |
Implements iTextSharp.text.IElement.
| void iTextSharp.text.Section.Set | ( | Properties | attributes | ) |
Alters the attributes of this Section.
| attributes | the attributes |
| void iTextSharp.text.Section.SetChapterNumber | ( | int | number | ) |
Changes the Chapter number.
| override string iTextSharp.text.Section.ToString | ( | ) |
Gets the content of the text element.
Implements iTextSharp.text.IElement.
|
protected |
Indicates if the Section was added completely to the document.
|
protected |
|
protected |
The bookmark title if different from the content title
|
protected |
Indicates if the Section will be complete once added to the document.
|
protected |
summary> This is the number of subsections.
|
protected |
summary> The indentation of this section on the right side.
|
protected |
summary> The additional indentation of the content of this section.
|
protected |
summary> false if the bookmark children are not visible
Indicates if this is the first time the section was added.
|
protected |
|
protected |
summary> The indentation of this section on the left side.
The style for sectionnumbers.
|
static |
A possible number style. The default number style: "1.2.3."
|
static |
A possible number style. For instance: "1.2.3"
|
protected |
summary> This is the complete list of sectionnumbers of this section and the parents of this section.
|
protected |
This is the title of this section.
summary> This is the number of sectionnumbers that has to be shown before the section title.
|
protected |
true if the section has to trigger a new page
|
getsetprotected |
|
getset |
Get/set the bookmark
a bool
|
set |
Sets the bookmark title. The bookmark title is the same as the section title but can be changed with this method.
| bookmarkTitle | the bookmark title |
|
get |
Gets all the chunks in this element.
an ArrayList
|
get |
Returns the depth of this section.
the depth
|
getset |
|
getset |
Get/set the indentation of the content of this Section.
the indentation
|
getset |
Get/set the indentation of this Section on the left side.
the indentation
|
getset |
Get/set the indentation of this Section on the right side.
the indentation
|
getset |
Indicates if this is the first time the section is added.
|
getset |
Get/set the numberdepth of this Section.
a int
|
getset |
Sets the style for numbering sections. Possible values are NUMBERSTYLE_DOTTED: 1.2.3. (the default) or NUMBERSTYLE_DOTTED_WITHOUT_FINAL_DOT: 1.2.3
|
getset |
|
get |
Gets the type of the text element.
a type