HiraokaHyperTools.iTextSharp-LGPL
0.2.5
|
Public Member Functions | |
MarkedSection (Section section) | |
void | Add (int index, Object o) |
bool | Add (Object o) |
override bool | Process (IElementListener listener) |
bool | AddAll (ICollection collection) |
MarkedSection | AddSection (float indentation, int numberDepth) |
MarkedSection | AddSection (float indentation) |
MarkedSection | AddSection (int numberDepth) |
MarkedSection | AddSection () |
void | NewPage () |
![]() | |
MarkedObject (IElement element) | |
bool | IsContent () |
bool | IsNestable () |
virtual void | SetMarkupAttribute (String key, String value) |
![]() | |
string | ToString () |
Gets the content of the text element. More... | |
Protected Attributes | |
MarkedObject | title = null |
Properties | |
MarkedObject | Title [get, set] |
int | NumberDepth [set] |
float | IndentationLeft [set] |
float | IndentationRight [set] |
float | Indentation [set] |
bool | BookmarkOpen [set] |
bool | TriggerNewPage [set] |
String | BookmarkTitle [set] |
![]() | |
virtual ArrayList | Chunks [get] |
virtual int | Type [get] |
virtual Properties | MarkupAttributes [get] |
![]() | |
int | Type [get] |
Gets the type of the text element. More... | |
ArrayList | Chunks [get] |
Gets all the chunks in this element. More... | |
Additional Inherited Members | |
![]() | |
MarkedObject () | |
Wrapper that allows to add properties to a Chapter/Section object. Before iText 1.5 every 'basic building block' implemented the MarkupAttributes interface. By setting attributes, you could add markup to the corresponding XML and/or HTML tag. This functionality was hardly used by anyone, so it was removed, and replaced by the MarkedObject functionality.
iTextSharp.text.MarkedSection.MarkedSection | ( | Section | section | ) |
Creates a MarkedObject with a Section or Chapter object.
section | the marked section |
void iTextSharp.text.MarkedSection.Add | ( | int | index, |
Object | o | ||
) |
bool iTextSharp.text.MarkedSection.Add | ( | Object | o | ) |
bool iTextSharp.text.MarkedSection.AddAll | ( | ICollection | collection | ) |
MarkedSection iTextSharp.text.MarkedSection.AddSection | ( | ) |
MarkedSection iTextSharp.text.MarkedSection.AddSection | ( | float | indentation | ) |
MarkedSection iTextSharp.text.MarkedSection.AddSection | ( | float | indentation, |
int | numberDepth | ||
) |
MarkedSection iTextSharp.text.MarkedSection.AddSection | ( | int | numberDepth | ) |
void iTextSharp.text.MarkedSection.NewPage | ( | ) |
Adds a new page to the section.
|
virtual |
Processes the element by adding it (or the different parts) to an ElementListener
.
listener | an ElementListener |
true
if the element was processed successfully Reimplemented from iTextSharp.text.MarkedObject.
|
protected |
This is the title of this section.
|
set |
Setter for property bookmarkOpen.
bookmarkOpen | false if the bookmark children are not visible. |
|
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 |
|
set |
Sets the indentation of the content of this Section
.
indentation | the indentation |
|
set |
Sets the indentation of this Section
on the left side.
indentation | the indentation |
|
set |
Sets the indentation of this Section
on the right side.
indentation | the indentation |
|
set |
Sets the depth of the sectionnumbers that will be shown preceding the title.
If the numberdepth is 0, the sections will not be numbered. If the numberdepth is 1, the section will be numbered with their own number. If the numberdepth is higher (for instance x > 1), the numbers of x - 1 parents will be shown.
numberDepth | the new numberDepth |
|
getset |
Sets the title of this section.
title | the new title |
|
set |
Setter for property triggerNewPage.
triggerNewPage | true if a new page has to be triggered. |