Class TextmyHtmlHandler
- Namespace
- iTextSharp.text.html
- Assembly
- iTextSharp.LGPLv2.Core.dll
The Tags -class maps several XHTML-tags to iText-objects.
public class TextmyHtmlHandler : TextHandler
- Inheritance
-
TextmyHtmlHandler
- Inherited Members
Constructors
TextmyHtmlHandler(IDocListener)
Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on the Document -object.
public TextmyHtmlHandler(IDocListener document)
Parameters
document
IDocListenerthis is the document on which events must be triggered
TextmyHtmlHandler(IDocListener, NullValueDictionary<string, XmlPeer>)
Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on the Document -object.
public TextmyHtmlHandler(IDocListener document, NullValueDictionary<string, XmlPeer> htmlTags)
Parameters
document
IDocListenerthis is the document on which events must be triggered
htmlTags
NullValueDictionary<string, XmlPeer>a tagmap translating HTML tags to iText tags
TextmyHtmlHandler(IDocListener, HtmlTagMap)
Constructs a new SAXiTextHandler that will translate all the events triggered by the parser to actions on the Document -object.
public TextmyHtmlHandler(IDocListener document, HtmlTagMap htmlTags)
Parameters
document
IDocListenerthis is the document on which events must be triggered
htmlTags
HtmlTagMapa tagmap translating HTML tags to iText tags
TextmyHtmlHandler(IDocListener, BaseFont)
public TextmyHtmlHandler(IDocListener document, BaseFont bf)
Parameters
document
IDocListenerbf
BaseFont
Methods
EndElement(string, string, string)
This method gets called when a start tag is encountered.
public override void EndElement(string uri, string lname, string name)
Parameters
uri
stringthe Uniform Resource Identifier
lname
stringthe local name (without prefix), or the empty string if Namespace processing is not being performed.
name
stringthe name of the tag that is encountered
StartElement(string, string, string, INullValueDictionary<string, string>)
public override void StartElement(string uri, string lname, string name, INullValueDictionary<string, string> attrs)