Comment
Represents a comment on a slide.
getAuthor
Name | Description |
---|
getAuthor() | Returns the author of a comment. Read-only ICommentAuthor. |
Returns:
CommentAuthor
getCreatedTime
Name | Description |
---|
getCreatedTime() | Returns or sets the time of a comment creation. Setting this property to java.util.Date(Long.MIN_VALUE) means no comment time is set. Read/write java.util.Date. Comment time is an optional parameter. |
Returns:
Date
Name | Description |
---|
getParentComment() | Gets or sets parent comment. Read/write IComment. |
Returns:
ModernComment, Comment
Error
Error | Condition |
---|
PptxEditException | Thrown when setting the value leads to a circular reference |
getPosition
Name | Description |
---|
getPosition() | Returns or sets the position of a comment on a slide. Read/write java.awt.geom.Point2D.Float. |
Returns:
Point2D.Float
getSlide
Name | Description |
---|
getSlide() | Returns or sets the parent slide of a comment. Read-only ISlide. |
Returns:
Slide
getText
Name | Description |
---|
getText() | Returns or sets the plain text of a slide comment. Read/write String. |
Returns:
String
remove
Name | Description |
---|
remove() | Removes comment and all its replies from the parent collection. |
Error
Error | Condition |
---|
PptxEditException | Thrown if comment is already removed |
setCreatedTime
Name | Description |
---|
setCreatedTime(Date) | Returns or sets the time of a comment creation. Setting this property to java.util.Date(Long.MIN_VALUE) means no comment time is set. Read/write java.util.Date. Comment time is an optional parameter. |
Name | Description |
---|
setParentComment(ModernComment) | Gets or sets parent comment. Read/write IComment. |
Error
Error | Condition |
---|
PptxEditException | Thrown when setting the value leads to a circular reference |
Name | Description |
---|
setParentComment(Comment) | Gets or sets parent comment. Read/write IComment. |
Error
Error | Condition |
---|
PptxEditException | Thrown when setting the value leads to a circular reference |
setPosition
Name | Description |
---|
setPosition(Point2D.Float) | Returns or sets the position of a comment on a slide. Read/write java.awt.geom.Point2D.Float. |
setText
Name | Description |
---|
setText(String) | Returns or sets the plain text of a slide comment. Read/write String. |