|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IParagraphCollection
Represents a collection of a paragraphs.
Method Summary | |
---|---|
void |
add(IParagraph value)
Adds a Paragraph to the end of collection. |
int |
add(IParagraphCollection value)
Adds a content of ParagraphCollection 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,
IHtmlExternalResolver resolver,
java.lang.String uri)
Adds text from specified html string to the collection. |
void |
clear()
Removes all elements from the collection. |
java.lang.String |
exportToHtml(int firstParagraphIndex,
int paragraphsCount,
ITextToHtmlConversionOptions options)
Converts specifying paragraphs to the HTML and returns it as String object. |
IParagraph |
get_Item(int index)
Gets the element at the specified index. |
int |
getCount()
Gets the number of elements actually contained in the collection. |
void |
insert(int index,
IParagraph value)
Inserts a Paragraph into the collection at the specified index. |
void |
insert(int index,
IParagraphCollection value)
Inserts a content of ParagraphCollection into the collection at the specified index. |
boolean |
remove(IParagraph item)
Removes the first occurrence of a specific paragraph. |
void |
removeAt(int index)
Removes the element at the specified index of the collection. |
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable |
---|
iterator |
Methods inherited from interface com.aspose.slides.ISlideComponent |
---|
getSlide |
Methods inherited from interface com.aspose.slides.IPresentationComponent |
---|
getPresentation |
Method Detail |
---|
IParagraph get_Item(int index)
Gets the element at the specified index.
int getCount()
Gets the number of elements actually contained in the collection.
Read-only int
.
void add(IParagraph value)
Adds a Paragraph to the end of collection.
value
- The Paragraph to be added to the end of the collection.int add(IParagraphCollection value)
Adds a content of ParagraphCollection to the end of collection.
value
- The ParagraphCollection to be added to the end of the collection.
void insert(int index, IParagraph value)
Inserts a Paragraph into the collection at the specified index.
index
- The zero-based index at which Paragraph should be inserted.value
- The Paragraph to insert.void insert(int index, IParagraphCollection value)
Inserts a content of ParagraphCollection into the collection at the specified index.
index
- The zero-based index at which paragraphs should be inserted.value
- The paragraphs to insert.void clear()
Removes all elements from the collection.
void removeAt(int index)
Removes the element at the specified index of the collection.
index
- The zero-based index of the element to remove.boolean remove(IParagraph item)
Removes the first occurrence of a specific paragraph.
item
- The paragraph to remove from collection.
item
was successfully removed; otherwise, false.void addFromHtml(java.lang.String text)
Adds text from specified html string to the collection.
text
- HTML text.void addFromHtml(java.lang.String text, IHtmlExternalResolver resolver, java.lang.String uri)
Adds text from specified html string to the collection.
textHTML
- text.resolver
- Resolver callback object which resolves URIs and fetches referrenced objects.uri
- URI for adding HTML document. Used for resolving relative links.
java.lang.String exportToHtml(int firstParagraphIndex, int paragraphsCount, ITextToHtmlConversionOptions options)
Converts specifying paragraphs to the HTML and returns it as String object.
firstParagraphIndex
- paragraphsCount
- options
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |