add_from_html method
add_from_html
Adds text from specified html string to the collection.
def add_from_html(self, text):
...
| Parameter | Type | Description |
|---|---|---|
| text | str | HTML text. |
add_from_html
Adds text from specified html string to the collection.
def add_from_html(self, text, resolver, uri):
...
| Parameter | Type | Description |
|---|---|---|
| text | str | HTML text. |
| resolver | IExternalResourceResolver | Resolver callback object which resolves URIs and fetches referrenced objects. |
| uri | str | URI for adding HTML document. Used for resolving relative links. |
Remarks
Specifying resolver can potentially introduce a vulnurability. Use with caution.
See Also
- class
IExternalResourceResolver - class
ParagraphCollection - module
aspose.slides - library
Aspose.Slides