HiraokaHyperTools.iTextSharp-LGPL  0.2.5
iTextSharp.text.ChapterAutoNumber Class Reference
Inheritance diagram for iTextSharp.text.ChapterAutoNumber:
iTextSharp.text.Chapter iTextSharp.text.Section iTextSharp.text.ITextElementArray iTextSharp.text.ILargeElement iTextSharp.text.IElement iTextSharp.text.IElement

Public Member Functions

 ChapterAutoNumber (Paragraph para)
 
 ChapterAutoNumber (String title)
 
override Section AddSection (String title)
 
override Section AddSection (Paragraph title)
 
int SetAutomaticNumber (int number)
 
- Public Member Functions inherited from iTextSharp.text.Chapter
 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 ()
 
- Public Member Functions inherited from iTextSharp.text.Section
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 (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 ()
 

Protected Attributes

bool numberSet = false
 
- Protected Attributes inherited from iTextSharp.text.Section
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
 

Additional Inherited Members

- Static Public Member Functions inherited from iTextSharp.text.Section
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 inherited from iTextSharp.text.Section
const int NUMBERSTYLE_DOTTED = 0
 
const int NUMBERSTYLE_DOTTED_WITHOUT_FINAL_DOT = 1
 
- Properties inherited from iTextSharp.text.Chapter
override int Type [get]
 Gets the type of the text element. More...
 
- Properties inherited from iTextSharp.text.Section
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]
 

Detailed Description

Chapter with auto numbering.

Author
Michael Niedermair

Constructor & Destructor Documentation

◆ ChapterAutoNumber() [1/2]

iTextSharp.text.ChapterAutoNumber.ChapterAutoNumber ( Paragraph  para)

Create a new object.

Parameters
parathe Chapter title (as a Paragraph)

◆ ChapterAutoNumber() [2/2]

iTextSharp.text.ChapterAutoNumber.ChapterAutoNumber ( String  title)

Create a new objet.

Parameters
titlethe Chapter title (as a String)

Member Function Documentation

◆ AddSection() [1/2]

override Section iTextSharp.text.ChapterAutoNumber.AddSection ( Paragraph  title)
virtual

Create a new section for this chapter and add it.

Parameters
titlethe Section title (as a Paragraph)
Returns
Returns the new section.

Reimplemented from iTextSharp.text.Section.

◆ AddSection() [2/2]

override Section iTextSharp.text.ChapterAutoNumber.AddSection ( String  title)

Create a new section for this chapter and ad it.

Parameters
titlethe Section title (as a String)
Returns
Returns the new section.

◆ SetAutomaticNumber()

int iTextSharp.text.ChapterAutoNumber.SetAutomaticNumber ( int  number)

Changes the Chapter number.

Parameters
numberthe new chapter number
Since
2.1.4

Member Data Documentation

◆ numberSet

bool iTextSharp.text.ChapterAutoNumber.numberSet = false
protected

Is the chapter number already set?

Since
2.1.4

The documentation for this class was generated from the following file: