|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.presentation.collections.ParagraphList
public class ParagraphList
Represents a collection of a paragraphs.
Constructor Summary | |
---|---|
ParagraphList()
|
Method Summary | |
---|---|
void |
addFromHtml(java.lang.String htmlText)
Adds text from specified html string. |
int |
append(ParagraphCollection value)
Adds a content of Paragraphs to the end of collection |
int |
append(ParagraphEx value)
Adds a Paragraph to the end of collection. |
void |
clear()
Removes all elements from the collection. |
ParagraphEx |
get(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,
ParagraphCollection value)
Inserts a content of ParagraphExCollection into the collection at the specified index. |
void |
insert(int index,
ParagraphEx value)
Inserts a Paragraph into the collection at the specified index. |
void |
removeAt(int index)
Removes the element at the specified index of the collection. |
Methods inherited from interface com.spire.presentation.ISlideComponent |
---|
getSlide |
Methods inherited from interface com.spire.presentation.IActivePresentation |
---|
getPresentation |
Constructor Detail |
---|
public ParagraphList()
Method Detail |
---|
public void addFromHtml(java.lang.String htmlText)
htmlText
- public int getCount()
public ParagraphEx get(int index)
index
-
public int append(ParagraphEx value) throws DocumentEditException
value
-
DocumentEditException
- The index at which the Paragraph has been added.public int append(ParagraphCollection value)
value
-
public void insert(int index, ParagraphEx value) throws DocumentEditException
index
- The zero-based index at which Paragraph should be inserted.value
- The Paragraph to insert.
DocumentEditException
public void insert(int index, ParagraphCollection value)
index
- The zero-based index at which paragraphs should be inserted.value
- The paragraphs to insert.public void clear()
public void removeAt(int index)
index
- The zero-based index of the element to remove.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |