|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.ParagraphsEx
public final class ParagraphsEx
Represents a collection of a paragraphs.
Method Summary | |
---|---|
int |
add(ParagraphEx value)
Adds a paragraph at the end of a collection. |
int |
add(ParagraphsEx value)
Adds a content of ParagraphsEx to the end of collection. |
void |
clear()
Removes all elements from a collection. |
ParagraphEx |
get(int index)
Returns the element at the specified index. |
PresentationEx |
getPresentation()
Returns the parent presentation of a paragraphs collection. |
BaseSlideEx |
getSlide()
Returns the parent slide of a paragraphs collection. |
void |
insert(int index,
ParagraphEx value)
Inserts a paragraph into a collection at the specified index. |
void |
insert(int index,
ParagraphsEx value)
Inserts a content of ParagraphsEx into the collection at the specified index. |
java.util.Iterator |
iterator()
Returns an iterator for the entire collection. |
void |
remove(int index)
Removes an element at the specified index of a collection. |
int |
size()
Returns the number of elements actually contained in the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
public ParagraphEx get(int index)
index
- index of the element to return.
ParagraphEx
.public int add(ParagraphEx value) throws PptxException.PptxEditException
value
- paragraph to be added at the end of a collection.
PptxException.PptxEditException
public int add(ParagraphsEx value)
value
- The ParagraphEx to be added to the end of the collection.
public void insert(int index, ParagraphEx value) throws PptxException.PptxEditException
index
- index where a paragraph should be inserted.value
- paragraph to insert.
PptxException.PptxEditException
public void insert(int index, ParagraphsEx value)
index
- The zero-based index at which paragraphs should be inserted.value
- The paragraphs to insert.public void clear()
public void remove(int index)
index
- index of an element to remove.public java.util.Iterator iterator()
public BaseSlideEx getSlide()
getSlide
in interface ISlideComponent
public PresentationEx getPresentation()
getPresentation
in interface IPresentationComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |