Implementation of IZptDocumentProvider which creates documents based on the HTML Agility pack. See https://htmlagilitypack.codeplex.com/
More...
Implementation of IZptDocumentProvider which creates documents based on the HTML Agility pack. See https://htmlagilitypack.codeplex.com/
IZptDocument CSF.Zpt.DocumentProviders.HtmlZptDocumentProvider.CreateDocument |
( |
HtmlAgilityPack.HtmlDocument |
hapDocument, |
|
|
ISourceInfo |
sourceInfo |
|
) |
| |
|
inline |
Creates a document from a HAP document object and information about the source of the document.
- Returns
- The ZPT document implementation.
- Parameters
-
hapDocument | A HTML Agility pack document. |
sourceInfo | The source info. |
IZptDocument CSF.Zpt.DocumentProviders.HtmlZptDocumentProvider.CreateDocument |
( |
FileInfo |
sourceFile, |
|
|
Encoding |
encoding |
|
) |
| |
|
inline |
Creates a document from a source file.
- Returns
- The document.
- Parameters
-
sourceFile | Source file. |
encoding | Encoding. |
Implements CSF.Zpt.IZptDocumentProvider.
IZptDocument CSF.Zpt.DocumentProviders.HtmlZptDocumentProvider.CreateDocument |
( |
Stream |
sourceStream, |
|
|
ISourceInfo |
sourceInfo, |
|
|
Encoding |
encoding |
|
) |
| |
|
inline |
Creates a document from a stream.
- Returns
- The document.
- Parameters
-
sourceStream | Source stream. |
sourceInfo | Source info. |
encoding | Encoding. |
Implements CSF.Zpt.IZptDocumentProvider.
RenderingMode CSF.Zpt.DocumentProviders.HtmlZptDocumentProvider.GetRenderingMode |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/craig/Projects/CSF.Zpt/DocumentProviders/CSF.Zpt.DocumentProviders.HtmlHAP/HtmlZptDocumentProvider.cs