add_from_html method
Contents
[
Hide
]add_from_html
Creates slides from HTML text and adds them to the end of the collection.
Returns
Added slides
def add_from_html(self, html_text):
...
| Parameter | Type | Description |
|---|---|---|
| html_text | str | Html to add. |
add_from_html
Creates slides from HTML text and adds them to the end of the collection.
Returns
Added slides
def add_from_html(self, html_stream):
...
| Parameter | Type | Description |
|---|---|---|
| html_stream | io.RawIOBase | A Stream object which will be used as a source of a HTML file. |
add_from_html
Creates slides from HTML text and adds them to the end of the collection.
Returns
Added slides.
def add_from_html(self, html_text, resolver, uri):
...
| Parameter | Type | Description |
|---|---|---|
| html_text | str | Html to add. |
| resolver | IExternalResourceResolver | A callback object used to fetch external objects. If this parameter is None all external objects will be ignored. |
| uri | str | An URI of the specified HTML. Used to resolve relative links. |
add_from_html
Creates slides from HTML text and adds them to the end of the collection.
Returns
Added slides.
def add_from_html(self, html_stream, resolver, uri):
...
| Parameter | Type | Description |
|---|---|---|
| html_stream | io.RawIOBase | A Stream object which will be used as a source of a HTML file. |
| resolver | IExternalResourceResolver | A callback object used to fetch external objects. If this parameter is None all external objects will be ignored. |
| uri | str | An URI of the specified HTML. Used to resolve relative links. |
See Also
- class
IExternalResourceResolver - class
ISlideCollection - module
aspose.slides - library
Aspose.Slides