insertFromHtml
Contents
[
Hide
]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
| Name | Type | Description |
|---|---|---|
| index | int | Position to insert. |
| 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. |
Returns
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
| Name | Type | Description |
|---|---|---|
| index | int | Position to insert. |
| 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. |
Returns
insertFromHtml(int index, String htmlText) method
Creates slides from HTML text and inserts them to the collection at the specified position.
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | Position to insert. |
| htmlText | String | Html to add. |
Returns
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
| Name | Type | Description |
|---|---|---|
| index | int | Position to insert. |
| htmlStream | InputStream | 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. |
Returns
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
| Name | Type | Description |
|---|---|---|
| index | int | Position to insert. |
| htmlStream | InputStream | 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. |
Returns
insertFromHtml(int index, InputStream htmlStream) method
Creates slides from HTML text and inserts them to the collection at the specified position.
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | Position to insert. |
| htmlStream | InputStream | A Stream object which will be used as a source of a HTML file. |