com.aspose.slides
Class SlidesEx

java.lang.Object
  extended by com.aspose.slides.SlidesEx
Direct Known Subclasses:
SlideExCollection

Deprecated.

@Deprecated
public class SlidesEx
extends java.lang.Object

Represents a collection of a slides.


Method Summary
 int addClone(SlideEx slide)
          Deprecated.  Adds a copy of a specified slide to the end of the collection.
 int addClone(SlideEx slide, LayoutSlideEx layout)
          Deprecated.  Adds a copy of a specified slide to the end of the collection.
 int addClone(SlideEx slide, MasterSlideEx master)
          Deprecated.  Adds a copy of a specified slide to the end of the collection.
 int addEmptySlide(LayoutSlideEx layout)
          Deprecated.  Adds a new empty slide to the end of the collection.
 SlideEx get_Item(int index)
          Deprecated.  Gets the element at the specified index.
 int getCount()
          Deprecated.  Gets the number of elements actually contained in the collection.
 int indexOf(SlideEx slide)
          Deprecated.  Returns an index of the specified slide in the collection.
 void insertClone(int index, SlideEx slide)
          Deprecated.  Inserts a copy of a specified slide to specified position of the collection.
 void insertClone(int index, SlideEx slide, LayoutSlideEx layout)
          Deprecated.  Inserts a copy of a specified slide to specified position of the collection.
 void insertClone(int index, SlideEx slide, MasterSlideEx master)
          Deprecated.  Inserts a copy of a specified slide to specified position of the collection.
 void insertEmptySlide(int index, LayoutSlideEx layout)
          Deprecated.  Inserts a copy of a specified slide to specified position of the collection.
 com.aspose.ms.System.Collections.IEnumerator<SlideEx> iterator()
          Deprecated.  Returns an enumerator for the entire collection.
 void remove(SlideEx value)
          Deprecated.  Removes the first occurrence of a specific object from the collection.
 void removeAt(int index)
          Deprecated.  Removes the element at the specified index of the collection.
 void reorder(int index, SlideEx... slides)
          Deprecated.  Moves slides from the collection to the specified position.
 void reorder(int index, SlideEx slide)
          Deprecated.  Moves slide from the collection to the specified position.
 SlideEx[] toArray()
          Deprecated.  Creates and returns an array with all slides in it.
 SlideEx[] toArray(int startIndex, int count)
          Deprecated.  Creates and returns an array with all slides from the specified range in it.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()
Deprecated. 

Gets the number of elements actually contained in the collection.


get_Item

public SlideEx get_Item(int index)
Deprecated. 

Gets the element at the specified index. Read-only SlideEx.


addClone

public int addClone(SlideEx slide)
Deprecated. 

Adds a copy of a specified slide to the end of the collection.

Parameters:
slide - Slide to clone.


When clonning a slide between different presentations slide's master can be clonned too. Internal registry is used to track automatically clonned masters to prevent creation of multiple clones of the same master slide. Manual cloning of master slides will be neither prevented nor registered. If you need more control over clonning process use AddClone(SlideEx, LayoutSlideEx) or AddClone(SlideEx, MasterSlideEx) for clonning slides and MasterSlidesEx.AddClone(MasterSlideEx) for clonning masters.

Returns:
Index of new slide.

insertClone

public void insertClone(int index,
                        SlideEx slide)
Deprecated. 

Inserts a copy of a specified slide to specified position of the collection.

Parameters:
index - Index of new slide.
slide - Slide to clone.


When clonning a slide between different presentations slide's master can be clonned too. Internal registry is used to track automatically clonned masters to prevent creation of multiple clones of the same master slide. Manual cloning of master slides will be neither prevented nor registered. If you need more control over clonning process use InsertClone(int, SlideEx, LayoutSlideEx) or InsertClone(int, SlideEx, MasterSlideEx) for clonning slides and MasterSlidesEx.AddClone(MasterSlideEx) for clonning masters.


addEmptySlide

public int addEmptySlide(LayoutSlideEx layout)
Deprecated. 

Adds a new empty slide to the end of the collection.

Parameters:
layout - Layout for a slide.
Returns:
Index of a new slide.

insertEmptySlide

public void insertEmptySlide(int index,
                             LayoutSlideEx layout)
Deprecated. 

Inserts a copy of a specified slide to specified position of the collection.

Parameters:
index - Index of a new slide.
layout - Layout for a slide.

addClone

public int addClone(SlideEx slide,
                    LayoutSlideEx layout)
Deprecated. 

Adds a copy of a specified slide to the end of the collection.

Parameters:
slide - Slide to clone.
layout - Layout slide for a new slide.
Returns:
Index of new slide.

insertClone

public void insertClone(int index,
                        SlideEx slide,
                        LayoutSlideEx layout)
Deprecated. 

Inserts a copy of a specified slide to specified position of the collection.

Parameters:
index - Index of new slide.
slide - Slide to clone.
layout - Layout slide for a new slide.

addClone

public int addClone(SlideEx slide,
                    MasterSlideEx master)
Deprecated. 

Adds a copy of a specified slide to the end of the collection. Layout will be selected automatically from the specified master.

Parameters:
slide - Slide to clone.
master - Master slide for a new slide.
Returns:
Index of new slide.

insertClone

public void insertClone(int index,
                        SlideEx slide,
                        MasterSlideEx master)
Deprecated. 

Inserts a copy of a specified slide to specified position of the collection. Layout will be selected automatically from the specified master.

Parameters:
index - Index of new slide.
slide - Slide to clone.
master - Master slide for a new slide.

remove

public void remove(SlideEx value)
Deprecated. 

Removes the first occurrence of a specific object from the collection.

Parameters:
value - The slide to remove from the collection.

removeAt

public void removeAt(int index)
Deprecated. 

Removes the element at the specified index of the collection.

Parameters:
index - The zero-based index of the element to remove.


Not implemented yet.


iterator

public com.aspose.ms.System.Collections.IEnumerator<SlideEx> iterator()
Deprecated. 

Returns an enumerator for the entire collection.

Returns:
An IEnumerator for the entire collection.

toArray

public SlideEx[] toArray()
Deprecated. 

Creates and returns an array with all slides in it.

Returns:
Array of SlideEx

toArray

public SlideEx[] toArray(int startIndex,
                         int count)
Deprecated. 

Creates and returns an array with all slides from the specified range in it.

Parameters:
startIndex - An index of a first slide to add.
count - A number of slides to add.
Returns:
Array of SlideEx

reorder

public void reorder(int index,
                    SlideEx slide)
Deprecated. 

Moves slide from the collection to the specified position.

Parameters:
index - Target index.
slide - Slide to move.

reorder

public void reorder(int index,
                    SlideEx... slides)
Deprecated. 

Moves slides from the collection to the specified position. Slides will be placed starting from index in order they appear in list.

Parameters:
index - Target index.
slides - Slides to move.

indexOf

public int indexOf(SlideEx slide)
Deprecated. 

Returns an index of the specified slide in the collection.

Parameters:
slide - Slide to find.
Returns:
Index of a slide or -1 if slide not from this collection.