insertFromHtml

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

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.

Returns

Slide


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

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.

Returns

Slide


insertFromHtml(int index, String htmlText) method

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

Parameters

NameTypeDescription
indexintPosition to insert.
htmlTextStringHtml to add.

Returns

Slide


insertFromHtml(int index, InputStream htmlStream, HtmlExternalResolver resolver, String uri) method

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

Parameters

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

Returns

Slide


insertFromHtml(int index, InputStream htmlStream, ExternalResourceResolver resolver, String uri) method

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

Parameters

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

Returns

Slide


insertFromHtml(int index, InputStream htmlStream) method

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

Parameters

NameTypeDescription
indexintPosition to insert.
htmlStreamInputStreamA Stream object which will be used as a source of a HTML file.

Returns

Slide