addFromHtml

addFromHtml(String htmlText, ExternalResourceResolver resolver, String uri) function

Creates slides from HTML text and adds them to the end of the collection.

Parameters

NameTypeDescription
htmlTextStringHtml to add.
resolverExternalResourceResolverA callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uriStringAn URI of the specified HTML. Used to resolve relative links.

Result

Slide


addFromHtml(String htmlText, HtmlExternalResolver resolver, String uri) function

Creates slides from HTML text and adds them to the end of the collection.

Parameters

NameTypeDescription
htmlTextStringHtml to add.
resolverHtmlExternalResolverA callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uriStringAn URI of the specified HTML. Used to resolve relative links.

Result

Slide


addFromHtml(String htmlText) function

Creates slides from HTML text and adds them to the end of the collection.

Parameters

NameTypeDescription
htmlTextStringHtml to add.

Result

Slide


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

NameTypeDescription
slidecollectionSlideCollectionlink to self
htmlStreamReadStreamA Stream object which will be used as a source of a HTML file.
resolverExternalResourceResolverA callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uriStringAn URI of the specified HTML. Used to resolve relative links.
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result

Slide


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

NameTypeDescription
slidecollectionSlideCollectionlink to self
htmlStreamReadStreamA Stream object which will be used as a source of a HTML file.
resolverHtmlExternalResolverA callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uriStringAn URI of the specified HTML. Used to resolve relative links.
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result

Slide


addFromHtmlFromStream (SlideCollection slidecollection, ReadStream htmlStream, Function callback) function

Creates slides from HTML text and adds them to the end of the collection.

Parameters

NameTypeDescription
slidecollectionSlideCollectionlink to self
htmlStreamReadStreamA Stream object which will be used as a source of a HTML file.
callbackFunctioncallback(error, result) - Callback to be called when the method has completed

Result

Slide