InsertFromHtml()
SlideCollection::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.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::String htmlText, System::SharedPtr<Import::IExternalResourceResolver> resolver, System::String uri) override
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.
SlideCollection::InsertFromHtml(int32_t, System::String, System::SharedPtr<Import::IExternalResourceResolver>, System::String, bool) method
Creates slides from HTML text and inserts them to the collection at the specified position.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::String htmlText, System::SharedPtr<Import::IExternalResourceResolver> resolver, System::String uri, bool useSlideWithIndexAsStart) override
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. |
| useSlideWithIndexAsStart | 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. |
Return Value
Added slides.
SlideCollection::InsertFromHtml(int32_t, System::String) method
Creates slides from HTML text and inserts them to the collection at the specified position.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::String htmlText) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| index | int32_t | Position to insert. |
| htmlText | System::String | Html to add. |
Return Value
Added slides
SlideCollection::InsertFromHtml(int32_t, System::String, bool) method
Creates slides from HTML text and inserts them to the collection at the specified position.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::String htmlText, bool useSlideWithIndexAsStart) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| index | int32_t | Position to insert. |
| htmlText | System::String | Html to add. |
| useSlideWithIndexAsStart | 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. |
Return Value
Added slides
SlideCollection::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.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::TextReader> htmlReader, System::SharedPtr<Import::IExternalResourceResolver> resolver, System::String uri) override
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.
SlideCollection::InsertFromHtml(int32_t, System::SharedPtr<System::IO::TextReader>) method
Creates slides from HTML text and inserts them to the collection at the specified position.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::TextReader> htmlReader) override
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
SlideCollection::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.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::Stream> htmlStream, System::SharedPtr<Import::IExternalResourceResolver> resolver, System::String uri) override
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.
SlideCollection::InsertFromHtml(int32_t, System::SharedPtr<System::IO::Stream>, System::SharedPtr<Import::IExternalResourceResolver>, System::String, bool) method
Creates slides from HTML text and inserts them to the collection at the specified position.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::Stream> htmlStream, System::SharedPtr<Import::IExternalResourceResolver> resolver, System::String uri, bool useSlideWithIndexAsStart) override
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. |
| useSlideWithIndexAsStart | 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. |
Return Value
Added slides.
SlideCollection::InsertFromHtml(int32_t, System::SharedPtr<System::IO::Stream>) method
Creates slides from HTML text and inserts them to the collection at the specified position.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::Stream> htmlStream) override
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
SlideCollection::InsertFromHtml(int32_t, System::SharedPtr<System::IO::Stream>, bool) method
Creates slides from HTML text and inserts them to the collection at the specified position.
System::ArrayPtr<System::SharedPtr<ISlide>> Aspose::Slides::SlideCollection::InsertFromHtml(int32_t index, System::SharedPtr<System::IO::Stream> htmlStream, bool useSlideWithIndexAsStart) override
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. |
| useSlideWithIndexAsStart | 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. |
Return Value
Added slides
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class ISlide
- Class String
- Class IExternalResourceResolver
- Class SlideCollection
- Class TextReader
- Class Stream
- Namespace Aspose::Slides
- Library Aspose.Slides