com.aspose.slides
Class ParagraphsEx

java.lang.Object
  extended by com.aspose.slides.ParagraphsEx

public final class ParagraphsEx
extends java.lang.Object

Represents a collection of a paragraphs.


Method Summary
 int add(ParagraphEx value)
          Adds a paragraph at the end of a collection.
 void clear()
          Removes all elements from a collection.
 ParagraphEx get(int index)
          Returns the element at the specified index.
 PresentationEx getPresentation()
           
 BaseSlideEx getSlide()
           
 void insert(int index, ParagraphEx value)
          Inserts a paragraph into a 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

size

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


get

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

Parameters:
index - index of the element to return.
Returns:
See ParagraphEx.

add

public int add(ParagraphEx value)
        throws PptEditException
Adds a paragraph at the end of a collection.

Parameters:
value - paragraph to be added at the end of a collection.
Returns:
The index at which the Paragraph has been added.
Throws:
PptEditException

insert

public void insert(int index,
                   ParagraphEx value)
            throws PptEditException
Inserts a paragraph into a collection at the specified index.

Parameters:
index - index where a paragraph should be inserted.
value - paragraph to insert.
Throws:
PptEditException

clear

public void clear()
Removes all elements from a collection.


remove

public void remove(int index)
Removes an element at the specified index of a collection.

Parameters:
index - index of an element to remove.

iterator

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


getSlide

public BaseSlideEx getSlide()

getPresentation

public PresentationEx getPresentation()