|
||||||||
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 | |
---|---|
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 |
copyTo(java.lang.Object[] 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. |
java.lang.Object |
getSyncRoot()
Returns a synchronization root. |
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe). |
int |
size()
|
Methods inherited from class com.aspose.slides.ParagraphsEx |
---|
add, add, clear, get_Item, getCount, getPresentation, getSlide, insert, insert, iterator, notify, removeAt |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.aspose.ms.System.Collections.IEnumerable |
---|
iterator |
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(java.lang.Object[] 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 int size()
size
in interface com.aspose.ms.System.Collections.ICollection<ParagraphEx>
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>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |