com.aspose.slides
Class Paragraphs

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

public final class Paragraphs
extends java.lang.Object

Represents the collection of paragraphs.


Method Summary
 void add(int index, Paragraph value)
          Add the paragraph into the collection at the specified index.
 int add(Paragraph value)
          Add the paragraph at the end of a collection.
 void clear()
          Remove all elements from a collection.
 Paragraph get(int index)
          Returns the element at the specified index.
 java.lang.String[] getBulletsText()
           Generates string array with text strings for text-based bullets.
 int[] getNumberedBulletsNumbers()
           Generates and returns integer array with numbers for numbered lists.
 void remove(int index)
          Remove the element at the specified index from a collection.
 int size()
          Returns the number of elements 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 in a collection.


get

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

Parameters:
index - index of the element to return.

add

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

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

add

public void add(int index,
                Paragraph value)
         throws PptEditException
Add the paragraph into the collection at the specified index.

Parameters:
index - the zero-based index at which paragraph should be added.
value - the paragraph to add.
Throws:
PptEditException

clear

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


remove

public void remove(int index)
Remove the element at the specified index from a collection.

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

getBulletsText

public java.lang.String[] getBulletsText()

Generates string array with text strings for text-based bullets.

For other type bullet or paragraph without bullet places null in correspond position.


getNumberedBulletsNumbers

public int[] getNumberedBulletsNumbers()

Generates and returns integer array with numbers for numbered lists.

For other type bullet or paragraph without bullet places 0 in correspond position.