InsertFromHtml()

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

ParameterTypeDescription
indexint32_tPosition to insert.
htmlTextSystem::StringHtml to add.
resolverSystem::SharedPtr<Import::IExternalResourceResolver>A callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uriSystem::StringAn 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

ParameterTypeDescription
indexint32_tPosition to insert.
htmlTextSystem::StringHtml 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

ParameterTypeDescription
indexint32_tPosition to insert.
htmlReaderSystem::SharedPtr<System::IO::TextReader>TextReader object which will be used as a source of a HTML file.
resolverSystem::SharedPtr<Import::IExternalResourceResolver>A callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uriSystem::StringAn 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

ParameterTypeDescription
indexint32_tPosition to insert.
htmlReaderSystem::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

ParameterTypeDescription
indexint32_tPosition to insert.
htmlStreamSystem::SharedPtr<System::IO::Stream>A Stream object which will be used as a source of a HTML file.
resolverSystem::SharedPtr<Import::IExternalResourceResolver>A callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uriSystem::StringAn 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

ParameterTypeDescription
indexint32_tPosition to insert.
htmlStreamSystem::SharedPtr<System::IO::Stream>A Stream object which will be used as a source of a HTML file.

Return Value

Added slides

See Also