Extends iText.StyledXmlParser.Resolver.Resource.ResourceResolver to also support SVG images More...
Extends iText.StyledXmlParser.Resolver.Resource.ResourceResolver to also support SVG images
| iText.Html2pdf.Resolver.Resource.HtmlResourceResolver.HtmlResourceResolver |
( |
String |
baseUri, |
|
|
ProcessorContext |
context |
|
) |
|
|
|
inline |
Creates a new HtmlResourceResolver instance.
Creates a new HtmlResourceResolver instance. If baseUri is a string that represents an absolute URI with any schema except "file" - resources url values will be resolved exactly as "new URL(baseUrl, uriString)". Otherwise base URI will be handled as path in local file system.
If empty string or relative URI string is passed as base URI, then it will be resolved against current working directory of this application instance.
-
Parameters
-
| baseUri |
base URI against which all relative resource URIs will be resolved |
| context |
|
iText.Html2pdf.Attach.ProcessorContext instance for the current HTML to PDF conversion process
| iText.Html2pdf.Resolver.Resource.HtmlResourceResolver.HtmlResourceResolver |
( |
String |
baseUri, |
|
|
ProcessorContext |
context, |
|
|
IResourceRetriever |
retriever |
|
) |
|
|
|
inline |
Creates a new HtmlResourceResolver instance.
Creates a new HtmlResourceResolver instance. If baseUri is a string that represents an absolute URI with any schema except "file" - resources url values will be resolved exactly as "new URL(baseUrl, uriString)". Otherwise base URI will be handled as path in local file system.
If empty string or relative URI string is passed as base URI, then it will be resolved against current working directory of this application instance.
-
Parameters
-
| baseUri |
base URI against which all relative resource URIs will be resolved |
| context |
|
iText.Html2pdf.Attach.ProcessorContext instance for the current HTML to PDF conversion process
-
Parameters
-
| retriever |
the resource retriever with the help of which data from resources will be retrieved |