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
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
Methods
Public methods
|
Returns |
Name |
|---|---|
|
|
(
chain) |
|
|
(
chain,
document,
img_provider,
> img_store, |
|
|
( |
|
|
(
chain) |
|
|
(
chain) |
|
|
(
chain) |
|
|
(
chain) |
|
|
(
chain) |
Protected methods
|
Returns |
Name |
|---|---|
|
|
(
paragraph,
chain) |
Protected Static methods
|
Returns |
Name |
|---|---|
|
|
(
paragraph, |
Details
Constructors
ElementFactory
Source code
public ElementFactory()
Methods
GetFont
Source code
public virtual Font GetFont(ChainedProperties chain)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
chain |
CreateChunk
Source code
public virtual Chunk CreateChunk(string content, ChainedProperties chain)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
content |
|
|
|
chain |
CreateParagraph
Source code
public virtual Paragraph CreateParagraph(ChainedProperties chain)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
chain |
CreateListItem
Source code
public virtual ListItem CreateListItem(ChainedProperties chain)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
chain |
UpdateElement
Source code
protected virtual void UpdateElement(Paragraph paragraph, ChainedProperties chain)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
paragraph |
|
|
|
chain |
SetParagraphLeading
Source code
protected static void SetParagraphLeading(Paragraph paragraph, string leading)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
paragraph |
|
|
|
leading |
GetHyphenation
Source code
public virtual IHyphenationEvent GetHyphenation(ChainedProperties chain)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
chain |
CreateLineSeparator
Source code
public virtual LineSeparator CreateLineSeparator(IDictionary<string, string> attrs, float offset)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
attrs |
|
|
|
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
|
Type |
Name |
Description |
|---|---|---|
|
|
src |
|
|
|
attrs |
|
|
|
chain |
|
|
|
document |
|
|
|
img_provider |
|
|
> |
img_store |
|
|
|
img_baseurl |
CreateList
Source code
public virtual List CreateList(string tag, ChainedProperties chain)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
tag |
|
|
|
chain |
Properties
FontProvider
public virtual IFontProvider FontProvider { get; set; }
Generated with ModularDoc