com.aspose.slides
Class SlideExCollection

java.lang.Object
  extended by com.aspose.slides.SlidesEx
      extended by com.aspose.slides.SlideExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<SlideEx>, com.aspose.ms.System.Collections.IEnumerable<SlideEx>, java.lang.Iterable<SlideEx>

public final class SlideExCollection
extends SlidesEx
implements com.aspose.ms.System.Collections.ICollection<SlideEx>

Represents a collection of a slides.


Method Summary
 SlideEx[] addFromHtml(java.io.InputStream htmlStream)
           
 SlideEx[] addFromHtml(java.io.InputStream htmlStream, HtmlExternalResolver resolver, java.lang.String uri)
           
 SlideEx[] addFromHtml(java.lang.String htmlText)
           Creates slides from HTML text and adds them to the end of the collection.
 SlideEx[] addFromHtml(java.lang.String htmlText, HtmlExternalResolver resolver, java.lang.String uri)
           Creates slides from HTML text and adds them to the end of the collection.
 SlideEx[] addFromHtml(com.aspose.ms.System.IO.TextReader htmlReader)
           Creates slides from HTML text and adds them to the end of the collection.
 SlideEx[] addFromHtml(com.aspose.ms.System.IO.TextReader htmlReader, HtmlExternalResolver resolver, java.lang.String uri)
           Creates slides from HTML text and adds them to the end of the collection.
 void copyTo(com.aspose.ms.System.Array array, int index)
           Copies all elements from the collection to the specified array.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 SlideEx[] insertFromHtml(int index, java.io.InputStream htmlStream)
           
 SlideEx[] insertFromHtml(int index, java.io.InputStream htmlStream, HtmlExternalResolver resolver, java.lang.String uri)
           
 SlideEx[] insertFromHtml(int index, java.lang.String htmlText)
           Creates slides from HTML text and inserts them to the collection at the specified position.
 SlideEx[] insertFromHtml(int index, java.lang.String htmlText, HtmlExternalResolver resolver, java.lang.String uri)
           Creates slides from HTML text and inserts them to the collection at the specified position.
 SlideEx[] insertFromHtml(int index, com.aspose.ms.System.IO.TextReader htmlReader)
           Creates slides from HTML text and inserts them to the collection at the specified position.
 SlideEx[] insertFromHtml(int index, com.aspose.ms.System.IO.TextReader htmlReader, HtmlExternalResolver resolver, java.lang.String uri)
           Creates slides from HTML text and inserts them to the collection at the specified position.
 boolean isSynchronized()
           Returns a value indicating whether access to the collection is synchronized (thread-safe).
 int size()
           
 
Methods inherited from class com.aspose.slides.SlidesEx
addClone, addClone, addClone, addEmptySlide, get_Item, getCount, indexOf, insertClone, insertClone, insertClone, insertEmptySlide, iterator, remove, removeAt, reorder, reorder, toArray, toArray
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.ms.System.Collections.IEnumerable
iterator
 

Method Detail

addFromHtml

public SlideEx[] addFromHtml(java.lang.String htmlText,
                             HtmlExternalResolver resolver,
                             java.lang.String uri)

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

Parameters:
htmlText - Html to add.
resolver - A callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uri - An URI of the specified HTML. Used to resolve relative links.
Returns:
Added slides.

addFromHtml

public SlideEx[] addFromHtml(java.lang.String htmlText)

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

Parameters:
htmlText - Html to add.
Returns:
Added slides

addFromHtml

public SlideEx[] addFromHtml(com.aspose.ms.System.IO.TextReader htmlReader,
                             HtmlExternalResolver resolver,
                             java.lang.String uri)

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

Parameters:
htmlReader - TextReader object which will be used as a source of a HTML file.
resolver - A callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uri - An URI of the specified HTML. Used to resolve relative links.
Returns:
Added slides.

addFromHtml

public SlideEx[] addFromHtml(com.aspose.ms.System.IO.TextReader htmlReader)

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

Parameters:
htmlReader - TextReader object which will be used as a source of a HTML file.
Returns:
Added slides

addFromHtml

public SlideEx[] addFromHtml(java.io.InputStream htmlStream,
                             HtmlExternalResolver resolver,
                             java.lang.String uri)

addFromHtml

public SlideEx[] addFromHtml(java.io.InputStream htmlStream)

insertFromHtml

public SlideEx[] insertFromHtml(int index,
                                java.lang.String htmlText,
                                HtmlExternalResolver resolver,
                                java.lang.String uri)

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters:
index - Position to insert.
htmlText - Html to add.
resolver - A callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uri - An URI of the specified HTML. Used to resolve relative links.
Returns:
Added slides.

insertFromHtml

public SlideEx[] insertFromHtml(int index,
                                java.lang.String htmlText)

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters:
index - Position to insert.
htmlText - Html to add.
Returns:
Added slides

insertFromHtml

public SlideEx[] insertFromHtml(int index,
                                com.aspose.ms.System.IO.TextReader htmlReader,
                                HtmlExternalResolver resolver,
                                java.lang.String uri)

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters:
index - Position to insert.
htmlReader - TextReader object which will be used as a source of a HTML file.
resolver - A callback object used to fetch external objects. If this parameter is null all external objects will be ignored.
uri - An URI of the specified HTML. Used to resolve relative links.
Returns:
Added slides.

insertFromHtml

public SlideEx[] insertFromHtml(int index,
                                com.aspose.ms.System.IO.TextReader htmlReader)

Creates slides from HTML text and inserts them to the collection at the specified position.

Parameters:
index - Position to insert.
htmlReader - TextReader object which will be used as a source of a HTML file.
Returns:
Added slides

insertFromHtml

public SlideEx[] insertFromHtml(int index,
                                java.io.InputStream htmlStream,
                                HtmlExternalResolver resolver,
                                java.lang.String uri)

insertFromHtml

public SlideEx[] insertFromHtml(int index,
                                java.io.InputStream htmlStream)

copyTo

public void copyTo(com.aspose.ms.System.Array array,
                   int index)

Copies all elements from the collection to the specified array.

Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection<SlideEx>
Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()

Returns a value indicating whether access to the collection is synchronized (thread-safe).

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<SlideEx>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<SlideEx>

size

public int size()
Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<SlideEx>