InsertFromHtml()
Contents
[
Hide
]ISlideCollection::InsertFromHtml(int32_t, System::String, System::SharedPtr<Import::IExternalResourceResolver>, System::String) method
Creates slides from HTML text and inserts them to the collection at the specified position.
virtual System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::ISlideCollection::InsertFromHtml(int32_t index, System::String htmlText, System::SharedPtr<Import::IExternalResourceResolver> resolver, System::String uri)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | Position to insert. |
htmlText | System::String | Html to add. |
resolver | System::SharedPtr<Import::IExternalResourceResolver> | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
uri | System::String | An URI of the specified HTML. Used to resolve relative links. |
Return Value
Added slides.
ISlideCollection::InsertFromHtml(int32_t, System::String) method
Creates slides from HTML text and inserts them to the collection at the specified position.
virtual System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::ISlideCollection::InsertFromHtml(int32_t index, System::String htmlText)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | Position to insert. |
htmlText | System::String | Html to add. |
Return Value
Added slides
ISlideCollection::InsertFromHtml(int32_t, System::SharedPtr<System::IO::TextReader>, System::SharedPtr<Import::IExternalResourceResolver>, System::String) method
Creates slides from HTML text and inserts them to the collection at the specified position.
virtual System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::ISlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::TextReader> htmlReader, System::SharedPtr<Import::IExternalResourceResolver> resolver, System::String uri)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | Position to insert. |
htmlReader | System::SharedPtr<System::IO::TextReader> | TextReader object which will be used as a source of a HTML file. |
resolver | System::SharedPtr<Import::IExternalResourceResolver> | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
uri | System::String | An URI of the specified HTML. Used to resolve relative links. |
Return Value
Added slides.
ISlideCollection::InsertFromHtml(int32_t, System::SharedPtr<System::IO::TextReader>) method
Creates slides from HTML text and inserts them to the collection at the specified position.
virtual System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::ISlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::TextReader> htmlReader)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | Position to insert. |
htmlReader | System::SharedPtr<System::IO::TextReader> | TextReader object which will be used as a source of a HTML file. |
Return Value
Added slides
ISlideCollection::InsertFromHtml(int32_t, System::SharedPtr<System::IO::Stream>, System::SharedPtr<Import::IExternalResourceResolver>, System::String) method
Creates slides from HTML text and inserts them to the collection at the specified position.
virtual System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::ISlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::Stream> htmlStream, System::SharedPtr<Import::IExternalResourceResolver> resolver, System::String uri)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | Position to insert. |
htmlStream | System::SharedPtr<System::IO::Stream> | A Stream object which will be used as a source of a HTML file. |
resolver | System::SharedPtr<Import::IExternalResourceResolver> | A callback object used to fetch external objects. If this parameter is null all external objects will be ignored. |
uri | System::String | An URI of the specified HTML. Used to resolve relative links. |
Return Value
Added slides.
ISlideCollection::InsertFromHtml(int32_t, System::SharedPtr<System::IO::Stream>) method
Creates slides from HTML text and inserts them to the collection at the specified position.
virtual System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::ISlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::Stream> htmlStream)=0
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | Position to insert. |
htmlStream | System::SharedPtr<System::IO::Stream> | A Stream object which will be used as a source of a HTML file. |
Return Value
Added slides
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class ISlide
- Class String
- Class IExternalResourceResolver
- Class ISlideCollection
- Class TextReader
- Class Stream
- Namespace Aspose::Slides
- Library Aspose.Slides