com.aspose.slides
Class Paragraphs

java.lang.Object
  extended by com.aspose.slides.Paragraphs
All Implemented Interfaces:
java.lang.Iterable<Paragraph>

public final class Paragraphs
extends java.lang.Object
implements java.lang.Iterable<Paragraph>

Represents a collection of a paragraphs.


Constructor Summary
Paragraphs()
           
 
Method Summary
 int add(Paragraph value)
          Adds a Paragraph to the end of collection.
 void clear()
          Removes all elements from the collection.
 Paragraph get(int index)
          Gets the element at the specified index.
 java.lang.String[] getBulletsText()
          Generates string array with text strings for text-based bullets.
 int getCount()
          Gets the number of elements actually contained in the collection.
 int[] getNumberedBulletsNumbers()
          Generates integer array with numbers for numbered lists.
 void insert(int index, Paragraph value)
          Inserts a Paragraph into the collection at the specified index.
 java.util.Iterator iterator()
          Returns an enumerator for the entire collection.
 void removeAt(int index)
          Removes the element at the specified index of the collection.
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Paragraphs

public Paragraphs()
Method Detail

getCount

public int getCount()
Gets the number of elements actually contained in the collection.


get

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


add

public int add(Paragraph value)
Adds a Paragraph to the end of collection.

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

insert

public void insert(int index,
                   Paragraph value)
Inserts a Paragraph into the collection at the specified index.

Parameters:
index - - The zero-based index at which Paragraph should be inserted.
value - - The Paragraph to insert.

clear

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


removeAt

public void removeAt(int index)
Removes the element at the specified index of the collection.

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

iterator

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

Specified by:
iterator in interface java.lang.Iterable<Paragraph>
Returns:
An IEnumerator for the entire collection.

getBulletsText

public java.lang.String[] getBulletsText()
Generates string array with text strings for text-based bullets. For other type bullet or bulletless paragraph places null in correspond position


getNumberedBulletsNumbers

public int[] getNumberedBulletsNumbers()
Generates integer array with numbers for numbered lists. For other type bullet or bulletless paragraph places 0 in correspond position


size

public int size()