com.aspose.slides.pptx
Class MasterSlidesEx

java.lang.Object
  extended by com.aspose.slides.pptx.MasterSlidesEx

public final class MasterSlidesEx
extends java.lang.Object

Represents a collection of master slides.


Method Summary
 int addClone(MasterSlideEx slide)
          Adds a copy of a specified slide to the end of the collection.
 MasterSlideEx get(int index)
          Returns an element at the specified index.
 void insertClone(int index, MasterSlideEx slide)
          Inserts a copy of a specified slide to specified position of the collection.
 java.util.Iterator iterator()
          Returns an iterator for the entire collection.
 void remove(MasterSlideEx value)
          Removes the first occurrence of a specified object from a collection.
 int size()
          Returns the number of elements actually contained in a collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Returns the number of elements actually contained in a collection.


get

public MasterSlideEx get(int index)
Returns an element at the specified index.

Parameters:
index - index of an element to return.
Returns:
See MasterSlideEx.

remove

public void remove(MasterSlideEx value)
Removes the first occurrence of a specified object from a collection.

Parameters:
value - The master slide to remove from a collection.

addClone

public int addClone(MasterSlideEx slide)
Adds a copy of a specified slide to the end of the collection. Linked layout slides will be copied too.

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

insertClone

public void insertClone(int index,
                        MasterSlideEx slide)
Inserts a copy of a specified slide to specified position of the collection. Linked layout slides will be copied too.


iterator

public java.util.Iterator iterator()
Returns an iterator for the entire collection.