IComment
Overview
IComment is a interface in Aspose.Slides FOSS for Java.
Represents a comment on a presentation slide.
This interface provides 9 methods for working with IComment objects in Java programs.
Available methods include: getAuthor, getCreatedTime, getParentComment, getPosition, getSlide, getText, remove, setParentComment, setText.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: author, createdTime, parentComment, position, slide, text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
text | String | Read | Returns the comment text. |
author | ICommentAuthor | Read | Returns the author of this comment. |
slide | ISlide | Read | Returns the slide this comment belongs to. |
position | PointF | Read | Returns the position of the comment. |
createdTime | LocalDateTime | Read | Returns the creation date/time. |
parentComment | Optional<IComment> | Read | Returns the parent comment, if any. |
Methods
| Signature | Description |
|---|---|
getText() → String | Returns the comment text. |
setText(value: String) | Sets the comment text. |
getAuthor() → ICommentAuthor | Returns the author of this comment. |
getSlide() → ISlide | Returns the slide this comment belongs to. |
getPosition() → PointF | Returns the position of the comment. |
getCreatedTime() → LocalDateTime | Returns the creation date/time. |
getParentComment() → Optional<IComment> | Returns the parent comment, if any. |
setParentComment(parent: IComment) | Sets the parent comment. |
remove() | Removes this comment and all its replies from the parent collection. |