Comment

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IComment, com.aspose.slides.IDOMObject

public class Comment implements IComment, IDOMObject

Represents a comment on a slide.

Methods

Method Description
getText() Returns or sets the plain text of a slide comment.
setText(String value) Returns or sets the plain text of a slide comment.
getCreatedTime() Returns or sets the time of a comment creation.
setCreatedTime(Date value) Returns or sets the time of a comment creation.
getSlide() Returns or sets the parent slide of a comment.
getAuthor() Returns the author of a comment.
getPosition() Returns or sets the position of a comment on a slide.
setPosition(PointF value) Returns or sets the position of a comment on a slide.
remove() Removes comment and all its replies from the parent collection.
getParentComment() Gets or sets parent comment.
setParentComment(IComment value) Gets or sets parent comment.
getParent_Immediate()

getText()

public final String getText()

Returns or sets the plain text of a slide comment. Read/write String.

Returns: java.lang.String

setText(String value)

public final void setText(String value)

Returns or sets the plain text of a slide comment. Read/write String.

Parameters:

Parameter Type Description
value java.lang.String

getCreatedTime()

public final Date 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: java.util.Date

setCreatedTime(Date value)

public final void setCreatedTime(Date value)

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.

Parameters:

Parameter Type Description
value java.util.Date

getSlide()

public final ISlide getSlide()

Returns or sets the parent slide of a comment. Read-only ISlide.

Returns: ISlide

getAuthor()

public final ICommentAuthor getAuthor()

Returns the author of a comment. Read-only ICommentAuthor.

Returns: ICommentAuthor

getPosition()

public final PointF getPosition()

Returns or sets the position of a comment on a slide. Read/write android.graphics.PointF.

Returns: android.graphics.PointF

setPosition(PointF value)

public final void setPosition(PointF value)

Returns or sets the position of a comment on a slide. Read/write android.graphics.PointF.

Parameters:

Parameter Type Description
value android.graphics.PointF

remove()

public final void remove()

Removes comment and all its replies from the parent collection.

getParentComment()

public final IComment getParentComment()

Gets or sets parent comment. Read/write IComment.

Returns: IComment

setParentComment(IComment value)

public final void setParentComment(IComment value)

Gets or sets parent comment. Read/write IComment.

Parameters:

Parameter Type Description
value IComment

getParent_Immediate()

public IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.

Returns: com.aspose.slides.IDOMObject