|
HiraokaHyperTools.iTextSharp-LGPL
0.3.0
|
The More...
Public Member Functions | |
| ITextHandler (IDocListener document) | |
| Constructs a new iTextHandler that will translate all the events triggered by the parser to actions on the More... | |
| ITextHandler (IDocListener document, HtmlTagMap myTags) | |
| ITextHandler (IDocListener document, HtmlTagMap myTags, BaseFont bf) | |
| ITextHandler (IDocListener document, Hashtable myTags) | |
| void | SetControlOpenClose (bool controlOpenClose) |
| Sets the parameter that allows you to enable/disable the control over the Document.Open() and Document.Close() method. More... | |
| override void | StartElement (String uri, String lname, String name, Hashtable attrs) |
| This method gets called when a start tag is encountered. More... | |
| void | HandleStartingTags (String name, Properties attributes) |
| This method deals with the starting tags. More... | |
| void | IgnorableWhitespace (char[] ch, int start, int length) |
| This method gets called when ignorable white space encountered. More... | |
| override void | Characters (string content, int start, int length) |
| This method gets called when characters are encountered. More... | |
| override void | EndElement (String uri, String lname, String name) |
| This method gets called when an end tag is encountered. More... | |
| void | HandleEndingTags (String name) |
| This method deals with the starting tags. More... | |
Public Member Functions inherited from iTextSharp.text.xml.ParserBase | |
| void | Parse (XmlDocument xDoc) |
| void | Parse (XmlTextReader reader) |
| void | Parse (string url) |
| Begins the process of processing an XML document More... | |
Protected Member Functions | |
| bool | IsDocumentRoot (String tag) |
| Checks if a certain tag corresponds with the roottag. More... | |
Protected Attributes | |
| IDocListener | document |
| This is the resulting document. More... | |
| Stack | stack |
| This is a More... | |
| int | chapters = 0 |
| Counts the number of chapters in this document. More... | |
| Chunk | currentChunk = null |
| This is the current chunk to which characters can be added. More... | |
| bool | ignore = false |
| This is the current chunk to which characters can be added. More... | |
| bool | controlOpenClose = true |
| This is a flag that can be set, if you want to open and close the Document-object yourself. More... | |
| Hashtable | myTags |
Properties | |
| BaseFont | DefaultFont [get, set] |
The
iTextHandler-class maps several XHTML-tags to iText-objects.
| iTextSharp.text.xml.ITextHandler.ITextHandler | ( | IDocListener | document | ) |
Constructs a new iTextHandler that will translate all the events triggered by the parser to actions on the
Document-object.
| document | this is the document on which events must be triggered |
| iTextSharp.text.xml.ITextHandler.ITextHandler | ( | IDocListener | document, |
| HtmlTagMap | myTags | ||
| ) |
| document | |
| myTags |
| DocumentException | |
| IOException |
| iTextSharp.text.xml.ITextHandler.ITextHandler | ( | IDocListener | document, |
| HtmlTagMap | myTags, | ||
| BaseFont | bf | ||
| ) |
| document | |
| myTags | |
| bf |
| DocumentException | |
| IOException |
| iTextSharp.text.xml.ITextHandler.ITextHandler | ( | IDocListener | document, |
| Hashtable | myTags | ||
| ) |
| document | |
| myTags |
| DocumentException | |
| IOException |
|
virtual |
This method gets called when characters are encountered.
| content | an array of characters |
| start | the start position in the array |
| length | the number of characters to read from the array |
Implements iTextSharp.text.xml.ParserBase.
|
virtual |
This method gets called when an end tag is encountered.
| uri | |
| lname | |
| name | the name of the tag that ends |
Implements iTextSharp.text.xml.ParserBase.
Reimplemented in iTextSharp.text.xml.ITextmyHandler.
| void iTextSharp.text.xml.ITextHandler.HandleEndingTags | ( | String | name | ) |
This method deals with the starting tags.
| name | the name of the tag |
| void iTextSharp.text.xml.ITextHandler.HandleStartingTags | ( | String | name, |
| Properties | attributes | ||
| ) |
This method deals with the starting tags.
| name | the name of the tag |
| attributes | the list of attributes |
| void iTextSharp.text.xml.ITextHandler.IgnorableWhitespace | ( | char[] | ch, |
| int | start, | ||
| int | length | ||
| ) |
This method gets called when ignorable white space encountered.
| ch | an array of characters |
| start | the start position in the array |
| length | the number of characters to read from the array |
|
protected |
Checks if a certain tag corresponds with the roottag.
| tag | a presumed tagname |
| void iTextSharp.text.xml.ITextHandler.SetControlOpenClose | ( | bool | controlOpenClose | ) |
Sets the parameter that allows you to enable/disable the control over the Document.Open() and Document.Close() method.
If you set this parameter to true (= default), the parser will open the Document object when the start-root-tag is encountered and close it when the end-root-tag is met. If you set it to false, you have to open and close the Document object yourself.
| controlOpenClose | set this to false if you plan to open/close the Document yourself |
|
virtual |
This method gets called when a start tag is encountered.
| uri | |
| lname | |
| name | the name of the tag that is encountered |
| attrs | the list of attributes |
Implements iTextSharp.text.xml.ParserBase.
Reimplemented in iTextSharp.text.xml.ITextmyHandler.
|
protected |
Counts the number of chapters in this document.
|
protected |
This is a flag that can be set, if you want to open and close the Document-object yourself.
|
protected |
This is the current chunk to which characters can be added.
|
protected |
This is the resulting document.
|
protected |
This is the current chunk to which characters can be added.
|
protected |
|
protected |
This is a
Stack of objects, waiting to be added to the document.
|
getset |