ElementFactory Public class
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph iTextSharp.text.html.simpleparser
iTextSharp.text.html.simpleparser.ElementFactory[[ElementFactory]]
end
Members
Properties
Public properties
Methods
Public methods
Returns | Name |
---|
Chunk | CreateChunk (string content, ChainedProperties chain) |
Image | CreateImage (string src, IDictionary <string , string > attrs, ChainedProperties chain, IDocListener document, IImageProvider img_provider, Dictionary <string , Image > img_store, string img_baseurl) |
LineSeparator | CreateLineSeparator (IDictionary <string , string > attrs, float offset) |
List | CreateList (string tag, ChainedProperties chain) |
ListItem | CreateListItem (ChainedProperties chain) |
Paragraph | CreateParagraph (ChainedProperties chain) |
Font | GetFont (ChainedProperties chain) |
IHyphenationEvent | GetHyphenation (ChainedProperties chain) |
Protected methods
Protected Static methods
Details
Constructors
ElementFactory
Source code
public ElementFactory()
Methods
GetFont
Source code
public virtual Font GetFont(ChainedProperties chain)
Arguments
CreateChunk
Source code
public virtual Chunk CreateChunk(string content, ChainedProperties chain)
Arguments
CreateParagraph
Source code
public virtual Paragraph CreateParagraph(ChainedProperties chain)
Arguments
CreateListItem
Source code
public virtual ListItem CreateListItem(ChainedProperties chain)
Arguments
UpdateElement
Source code
protected virtual void UpdateElement(Paragraph paragraph, ChainedProperties chain)
Arguments
SetParagraphLeading
Source code
protected static void SetParagraphLeading(Paragraph paragraph, string leading)
Arguments
Type | Name | Description |
---|
Paragraph | paragraph | |
string | leading | |
GetHyphenation
Source code
public virtual IHyphenationEvent GetHyphenation(ChainedProperties chain)
Arguments
CreateLineSeparator
Source code
public virtual LineSeparator CreateLineSeparator(IDictionary<string, string> attrs, float offset)
Arguments
Type | Name | Description |
---|
IDictionary <string , string > | attrs | |
float | offset | |
CreateImage
Source code
public virtual Image CreateImage(string src, IDictionary<string, string> attrs, ChainedProperties chain, IDocListener document, IImageProvider img_provider, Dictionary<string, Image> img_store, string img_baseurl)
Arguments
CreateList
Source code
public virtual List CreateList(string tag, ChainedProperties chain)
Arguments
Properties
FontProvider
public virtual IFontProvider FontProvider { get; set; }
Generated with ModularDoc