|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Paragraphs
com.aspose.slides.ParagraphCollection
public final class ParagraphCollection
Represents a collection of a paragraphs.
Method Summary | |
---|---|
int |
add(Paragraph value)
Adds a Paragraph to the end of collection. |
void |
clear()
Removes all elements from the collection. |
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection to the specified array. |
Paragraph |
get_Item(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. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
void |
insert(int index,
Paragraph value)
Inserts a Paragraph into the collection at the specified index. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
com.aspose.ms.System.Collections.IEnumerator |
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 |
Method Detail |
---|
public void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection to the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection<Paragraph>
array
- Target array.index
- Starting index in the target array.public boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<Paragraph>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<Paragraph>
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection<Paragraph>
public int getCount()
Paragraphs
Gets the number of elements actually contained in the collection.
getCount
in class Paragraphs
public Paragraph get_Item(int index)
Paragraphs
Gets the element at the specified index.
get_Item
in class Paragraphs
public int add(Paragraph value)
Paragraphs
Adds a Paragraph to the end of collection.
add
in class Paragraphs
value
- The Paragraph to be added to the end of the collection.
public void insert(int index, Paragraph value)
Paragraphs
Inserts a Paragraph into the collection at the specified index.
insert
in class Paragraphs
index
- The zero-based index at which Paragraph should be inserted.value
- The Paragraph to insert.public void clear()
Paragraphs
Removes all elements from the collection.
clear
in class Paragraphs
public void removeAt(int index)
Paragraphs
Removes the element at the specified index of the collection.
removeAt
in class Paragraphs
index
- The zero-based index of the element to remove.public com.aspose.ms.System.Collections.IEnumerator iterator()
Paragraphs
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<Paragraph>
iterator
in interface java.lang.Iterable<Paragraph>
iterator
in class Paragraphs
IEnumerator
for the entire collection.public java.lang.String[] getBulletsText()
Paragraphs
Generates string array with text strings for text-based bullets. For other type bullet or bulletless paragraph places null in correspond position
getBulletsText
in class Paragraphs
public int[] getNumberedBulletsNumbers()
Paragraphs
Generates integer array with numbers for numbered lists. For other type bullet or bulletless paragraph places 0 in correspond position
getNumberedBulletsNumbers
in class Paragraphs
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |