|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.presentation.collections.CommentList
public class CommentList
Represents a collection of comments of one author.
| Constructor Summary | |
|---|---|
CommentList(CommentAuthor parent)
|
|
| Method Summary | |
|---|---|
Comment |
appendComment(ISlide slide,
java.lang.String text,
float x,
float y)
Adds a new comment added to a slide. |
Comment |
get(int index)
Gets the element at the specified index. |
int |
getCount()
Gets the number of elements actually contained in the collection. |
Presentation |
getPresentation()
Gets parent PresentationPptx object for a collection of comments. |
Comment |
insertComment(ISlide slide,
int Index,
java.lang.String text,
float x,
float y)
Adds a new comment added to a slide. |
void |
remove(Comment comment)
Removes the first occurrence of the specified comment in a collection. |
void |
removeAt(int index)
Removes the element at the specified index in a collection. |
Comment[] |
toArray()
Gets a array of the commentlist. |
Comment[] |
toArray(int startIndex,
int count)
Gets a array of the commentlist. |
| Constructor Detail |
|---|
public CommentList(CommentAuthor parent)
| Method Detail |
|---|
public int getCount()
public Comment get(int index)
index -
public Comment appendComment(ISlide slide,
java.lang.String text,
float x,
float y)
slide - text - x - y -
PptEditException
public Comment insertComment(ISlide slide,
int Index,
java.lang.String text,
float x,
float y)
slide - Index - text - x - y -
PptEditExceptionpublic Comment[] toArray()
public Comment[] toArray(int startIndex,
int count)
startIndex - count -
public void removeAt(int index)
index - public void remove(Comment comment)
comment - public Presentation getPresentation()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||