insert_from_html method
insert_from_html
Creates slides from HTML text and inserts them to the collection at the specified position.
Returns
Added slides
def insert_from_html(self, index, html_text):
...
Parameter | Type | Description |
---|---|---|
index | int | Position to insert. |
html_text | str | Html to add. |
insert_from_html
Creates slides from HTML text and inserts them to the collection at the specified position.
Returns
Added slides
def insert_from_html(self, index, html_stream):
...
Parameter | Type | Description |
---|---|---|
index | int | Position to insert. |
html_stream | io.RawIOBase | A Stream object which will be used as a source of a HTML file. |
insert_from_html
Creates slides from HTML text and inserts them to the collection at the specified position.
Returns
Added slides
def insert_from_html(self, index, html_text, use_slide_with_index_as_start):
...
Parameter | Type | Description |
---|---|---|
index | int | Position to insert. |
html_text | str | Html to add. |
use_slide_with_index_as_start | bool | This flag determines how to start insertion: from a new slide or from the slide with the specified index. If true , then data insertion will start from an empty space on the slide with the specified index. If false , then data will be added to the created slides. |
insert_from_html
Creates slides from HTML text and inserts them to the collection at the specified position.
Returns
Added slides
def insert_from_html(self, index, html_stream, use_slide_with_index_as_start):
...
Parameter | Type | Description |
---|---|---|
index | int | Position to insert. |
html_stream | io.RawIOBase | A Stream object which will be used as a source of a HTML file. |
use_slide_with_index_as_start | bool | This flag determines how to start insertion: from a new slide or from the slide with the specified index. If true , then data insertion will start from an empty space on the slide with the specified index. If false , then data will be added to the created slides. |
insert_from_html
Creates slides from HTML text and inserts them to the collection at the specified position.
Returns
Added slides.
def insert_from_html(self, index, html_text, resolver, uri):
...
Parameter | Type | Description |
---|---|---|
index | int | Position to insert. |
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. |
insert_from_html
Creates slides from HTML text and inserts them to the collection at the specified position.
Returns
Added slides.
def insert_from_html(self, index, html_stream, resolver, uri):
...
Parameter | Type | Description |
---|---|---|
index | int | Position to insert. |
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. |
insert_from_html
Creates slides from HTML text and inserts them to the collection at the specified position.
Returns
Added slides.
def insert_from_html(self, index, html_text, resolver, uri, use_slide_with_index_as_start):
...
Parameter | Type | Description |
---|---|---|
index | int | Position to insert. |
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. |
use_slide_with_index_as_start | bool | This flag determines how to start insertion: from a new slide or from the slide with the specified index. If true , then data insertion will start from an empty space on the slide with the specified index. If false , then data will be added to the created slides. |
insert_from_html
Creates slides from HTML text and inserts them to the collection at the specified position.
Returns
Added slides.
def insert_from_html(self, index, html_stream, resolver, uri, use_slide_with_index_as_start):
...
Parameter | Type | Description |
---|---|---|
index | int | Position to insert. |
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. |
use_slide_with_index_as_start | bool | This flag determines how to start insertion: from a new slide or from the slide with the specified index. If true , then data insertion will start from an empty space on the slide with the specified index. If false , then data will be added to the created slides. |
See Also
- class
IExternalResourceResolver
- class
SlideCollection
- module
aspose.slides
- library
Aspose.Slides