|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.ParagraphsEx
com.aspose.slides.ParagraphExCollection
public final class ParagraphExCollection
Represents a collection of a paragraphs.
Method Summary | |
---|---|
int |
add(ParagraphEx value)
Adds a Paragraph to the end of collection. |
int |
add(ParagraphExCollection value)
Adds a content of ParagraphsEx to the end of collection. |
void |
addFromHtml(java.lang.String text)
Adds text from specified html string to the collection. |
void |
addFromHtml(java.lang.String text,
HtmlExternalResolver resolver,
java.lang.String uri)
Adds text from specified html string to the 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. |
java.lang.String |
exportToHtml(int firstParagraphIndex,
int paragraphsCount,
TextToHtmlConversionOptions options)
Converts specifying paragraphs to the HTML and returns it as String object. |
ParagraphEx |
get_Item(int index)
Gets the element at the specified index. |
int |
getCount()
Gets the number of elements actually contained in the collection. |
PresentationEx |
getPresentation()
Returns the parent presentation of a paragraphs collection. |
BaseSlideEx |
getSlide()
Returns the parent slide of a paragraphs collection. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
void |
insert(int index,
ParagraphEx value)
Inserts a Paragraph into the collection at the specified index. |
void |
insert(int index,
ParagraphExCollection value)
Inserts a content of ParagraphExCollection 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<ParagraphEx> |
iterator()
Returns an enumerator for the entire collection. |
void |
notify(java.lang.Object sender)
|
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 addFromHtml(java.lang.String text)
Adds text from specified html string to the collection.
text
- HTML text.public void addFromHtml(java.lang.String text, HtmlExternalResolver resolver, java.lang.String uri)
Adds text from specified html string to the collection.
text
- HTML text.resolver
- Resolver callback object which resolves URIs and fetches referrenced objects.uri
- URI for adding HTML document. Used for resolving relative links.
public java.lang.String exportToHtml(int firstParagraphIndex, int paragraphsCount, TextToHtmlConversionOptions options)
Converts specifying paragraphs to the HTML and returns it as String object.
firstParagraphIndex
- paragraphsCount
- options
-
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<ParagraphEx>
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<ParagraphEx>
public java.lang.Object getSyncRoot()
Returns a synchronization root.
Readonly object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<ParagraphEx>
public int size()
size
in interface com.aspose.ms.System.Collections.ICollection<ParagraphEx>
public int getCount()
ParagraphsEx
Gets the number of elements actually contained in the collection.
getCount
in class ParagraphsEx
public ParagraphEx get_Item(int index)
ParagraphsEx
Gets the element at the specified index.
get_Item
in class ParagraphsEx
public int add(ParagraphEx value)
ParagraphsEx
Adds a Paragraph to the end of collection.
add
in class ParagraphsEx
value
- The Paragraph to be added to the end of the collection.
public int add(ParagraphExCollection value)
ParagraphsEx
Adds a content of ParagraphsEx to the end of collection.
add
in class ParagraphsEx
value
- The ParagraphExCollection to be added to the end of the collection.
public void insert(int index, ParagraphEx value)
ParagraphsEx
Inserts a Paragraph into the collection at the specified index.
insert
in class ParagraphsEx
index
- The zero-based index at which Paragraph should be inserted.value
- The Paragraph to insert.public void insert(int index, ParagraphExCollection value)
ParagraphsEx
Inserts a content of ParagraphExCollection into the collection at the specified index.
insert
in class ParagraphsEx
index
- The zero-based index at which paragraphs should be inserted.value
- The paragraphs to insert.public void clear()
ParagraphsEx
Removes all elements from the collection.
clear
in class ParagraphsEx
public void removeAt(int index)
ParagraphsEx
Removes the element at the specified index of the collection.
removeAt
in class ParagraphsEx
index
- The zero-based index of the element to remove.public com.aspose.ms.System.Collections.IEnumerator<ParagraphEx> iterator()
ParagraphsEx
Returns an enumerator for the entire collection.
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<ParagraphEx>
iterator
in interface java.lang.Iterable<ParagraphEx>
iterator
in class ParagraphsEx
IEnumerator
for the entire collection.public BaseSlideEx getSlide()
ParagraphsEx
Returns the parent slide of a paragraphs collection.
Read-only BaseSlideEx
.
getSlide
in class ParagraphsEx
public PresentationEx getPresentation()
ParagraphsEx
Returns the parent presentation of a paragraphs collection.
Read-only PresentationEx
.
getPresentation
in class ParagraphsEx
public void notify(java.lang.Object sender)
notify
in class ParagraphsEx
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |