addFromHtml
Contents
[
Hide
]addFromHtml(String htmlText, ExternalResourceResolver resolver, String uri) function
Creates slides from HTML text and adds them to the end of the collection.
Parameters
Name | Type | Description |
---|---|---|
htmlText | String | Html to add. |
resolver | ExternalResourceResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
uri | String | An URI of the specified HTML. Used to resolve relative links. |
Result
addFromHtml(String htmlText, HtmlExternalResolver resolver, String uri) function
Creates slides from HTML text and adds them to the end of the collection.
Parameters
Name | Type | Description |
---|---|---|
htmlText | String | Html to add. |
resolver | HtmlExternalResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
uri | String | An URI of the specified HTML. Used to resolve relative links. |
Result
addFromHtml(String htmlText) function
Creates slides from HTML text and adds them to the end of the collection.
Parameters
Name | Type | Description |
---|---|---|
htmlText | String | Html to add. |
Result
addFromHtmlFromStream (SlideCollection slidecollection, ReadStream htmlStream, ExternalResourceResolver resolver, String uri, Function callback) function
Creates slides from HTML text and adds them to the end of the collection.
Parameters
Name | Type | Description |
---|---|---|
slidecollection | SlideCollection | link to self |
htmlStream | ReadStream | A Stream object which will be used as a source of a HTML file. |
resolver | ExternalResourceResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
uri | String | An URI of the specified HTML. Used to resolve relative links. |
callback | Function | callback(error, result) - Callback to be called when the method has completed |
Result
addFromHtmlFromStream (SlideCollection slidecollection, ReadStream htmlStream, HtmlExternalResolver resolver, String uri, Function callback) function
Creates slides from HTML text and adds them to the end of the collection.
Parameters
Name | Type | Description |
---|---|---|
slidecollection | SlideCollection | link to self |
htmlStream | ReadStream | A Stream object which will be used as a source of a HTML file. |
resolver | HtmlExternalResolver | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
uri | String | An URI of the specified HTML. Used to resolve relative links. |
callback | Function | callback(error, result) - Callback to be called when the method has completed |
Result
addFromHtmlFromStream (SlideCollection slidecollection, ReadStream htmlStream, Function callback) function
Creates slides from HTML text and adds them to the end of the collection.
Parameters
Name | Type | Description |
---|---|---|
slidecollection | SlideCollection | link to self |
htmlStream | ReadStream | A Stream object which will be used as a source of a HTML file. |
callback | Function | callback(error, result) - Callback to be called when the method has completed |