insertFromHtml

insertFromHtml(int index, String htmlText, ExternalResourceResolver resolver, String uri) function

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters

NameTypeDescription
indexintPosition to insert.
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


insertFromHtml(int index, String htmlText, HtmlExternalResolver resolver, String uri) function

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters

NameTypeDescription
indexintPosition to insert.
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


insertFromHtml(int index, String htmlText) function

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters

NameTypeDescription
indexintPosition to insert.
htmlTextStringHtml to add.

Result

Slide


insertFromHtmlFromStream (SlideCollection slidecollection, int index, ReadStream htmlStream, ExternalResourceResolver resolver, String uri, Function callback) function

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters

NameTypeDescription
slidecollectionSlideCollectionlink to self
indexintPosition to insert.
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


insertFromHtmlFromStream (SlideCollection slidecollection, int index, ReadStream htmlStream, HtmlExternalResolver resolver, String uri, Function callback) function

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters

NameTypeDescription
slidecollectionSlideCollectionlink to self
indexintPosition to insert.
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


insertFromHtmlFromStream (SlideCollection slidecollection, int index, ReadStream htmlStream, Function callback) function

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters

NameTypeDescription
slidecollectionSlideCollectionlink to self
indexintPosition to insert.
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