|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.presentation.SlideList
public class SlideList
Represents a collection of a slides.
Constructor Summary | |
---|---|
SlideList(PresentationPptx parent)
|
Method Summary | |
---|---|
ISlide |
append()
Append new slide. |
int |
append(ISlide slide)
Adds a slide to the collection. |
int |
append(ISlide slide,
ILayout layout)
Adds a copy of a slide to the end of the collection. |
int |
append(ISlide slide,
IMasterSlide master)
Adds a slide to the collection. |
ISlide |
append(SlideLayoutType templateType)
|
ISlide |
get(int index)
Gets the element at the specified index. |
int |
getCount()
Gets the number of elements actually contained in the collection. |
int |
indexOf(ISlide slide)
Gets an index of the specified slide in the collection. |
ISlide |
insert(int index)
Insert a empty slide to collection. |
void |
insert(int index,
ISlide slide)
Inserts a slide to the collection. |
void |
insert(int index,
ISlide slide,
ILayout layout)
Inserts a copy of slide to specified position of the collection. |
void |
insert(int index,
ISlide slide,
IMasterSlide master)
Inserts a slide to the collection. |
ISlide |
insert(int index,
SlideLayoutType templateType)
Insert a slide to collection. |
void |
Move(int newIndex,
int OldIndex)
Moves slide from the collection to the specified position. |
void |
remove(ISlide value)
Removes the first occurrence of a specific object from the collection. |
void |
removeAt(int index)
Removes the element at the specified index of the collection. |
ISlide[] |
toArray()
Creates and returns an array with all slides in it. |
ISlide[] |
toArray(int startIndex,
int count)
|
Constructor Detail |
---|
public SlideList(PresentationPptx parent)
Method Detail |
---|
public int getCount()
public ISlide get(int index)
index
-
public ISlide append()
java.lang.Exception
public ISlide append(SlideLayoutType templateType)
public int append(ISlide slide)
slide
-
java.lang.Exception
public void insert(int index, ISlide slide)
index
- slide
-
java.lang.Exception
public ISlide insert(int index)
index
-
java.lang.Exception
public ISlide insert(int index, SlideLayoutType templateType)
index
- templateType
-
java.lang.Exception
public int append(ISlide slide, ILayout layout)
slide
- layout
- Layout slide for a new slide.
java.lang.Exception
public void insert(int index, ISlide slide, ILayout layout)
index
- Index of new slide.slide
- slide to copy.layout
- Layout slide for a new slide.
java.lang.Exception
public int append(ISlide slide, IMasterSlide master)
slide
- master
-
java.lang.Exception
public void insert(int index, ISlide slide, IMasterSlide master)
index
- slide
- master
-
java.lang.Exception
public void remove(ISlide value)
value
- The slide to remove from the collection.public void removeAt(int index)
index
- The zero-based index of the element to remove.public ISlide[] toArray()
public ISlide[] toArray(int startIndex, int count)
public int indexOf(ISlide slide)
slide
- slideSlidede to find.
public void Move(int newIndex, int OldIndex) throws DocumentEditException
newIndex
- :Target index.OldIndex
- :move from.
DocumentEditException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |