add_from_html method

add_from_html(self, html_text)

Creates slides from HTML text and adds them to the end of the collection.

Returns

Added slides

def add_from_html(self, html_text):
    ...
ParameterTypeDescription
html_textstrHtml to add.

add_from_html(self, html_stream)

Creates slides from HTML text and adds them to the end of the collection.

Returns

Added slides

def add_from_html(self, html_stream):
    ...
ParameterTypeDescription
html_streamio.RawIOBaseA Stream object which will be used as a source of a HTML file.

add_from_html(self, html_text, resolver, uri)

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):
    ...
ParameterTypeDescription
html_textstrHtml to add.
resolverIExternalResourceResolverA callback object used to fetch external objects. If this parameter is None all external objects will be ignored.
uristrAn URI of the specified HTML. Used to resolve relative links.

add_from_html(self, html_stream, resolver, uri)

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):
    ...
ParameterTypeDescription
html_streamio.RawIOBaseA Stream object which will be used as a source of a HTML file.
resolverIExternalResourceResolverA callback object used to fetch external objects. If this parameter is None all external objects will be ignored.
uristrAn URI of the specified HTML. Used to resolve relative links.

See Also