Comment

Comment class

Represents a comment on a slide.

getAuthor

NameDescription
getAuthor()Returns the author of a comment. Read-only ICommentAuthor.

Result: CommentAuthor


getCreatedTime

NameDescription
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.

Result: Date


getParentComment

NameDescription
getParentComment()Gets or sets parent comment. Read/write IComment.

Result: Comment, ModernComment

Error

ErrorCondition
PptxEditExceptionThrown when setting the value leads to a circular reference

getPosition

NameDescription
getPosition()Returns or sets the position of a comment on a slide. Read/write java.awt.geom.Point2D.Float.

Result: Point2D.Float


getSlide

NameDescription
getSlide()Returns or sets the parent slide of a comment. Read-only ISlide.

Result: Slide


getText

NameDescription
getText()Returns or sets the plain text of a slide comment. Read/write String.

Result: String


remove

NameDescription
remove()Removes comment and all its replies from the parent collection.

Error

ErrorCondition
PptxEditExceptionThrown if comment is already removed

setCreatedTime

NameDescription
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.

setParentComment

NameDescription
setParentComment(Comment)Gets or sets parent comment. Read/write IComment.

Error

ErrorCondition
PptxEditExceptionThrown when setting the value leads to a circular reference

setParentComment

NameDescription
setParentComment(ModernComment)Gets or sets parent comment. Read/write IComment.

Error

ErrorCondition
PptxEditExceptionThrown when setting the value leads to a circular reference

setPosition

NameDescription
setPosition(Point2D.Float)Returns or sets the position of a comment on a slide. Read/write java.awt.geom.Point2D.Float.

setText

NameDescription
setText(String)Returns or sets the plain text of a slide comment. Read/write String.