ModernComment
Represents a comment on a slide.
getAuthor
Name | Description |
---|
getAuthor() | Returns the author of a comment. Read-only ICommentAuthor. |
Result:
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. |
Result:
Date
Name | Description |
---|
getParentComment() | Gets or sets parent comment. Read/write IComment. |
Result:
Comment, ModernComment
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. |
Result:
Point2D.Float
getShape
Name | Description |
---|
getShape() | Returns a shape associated with the comment. Read-only IShape. |
Result:
SummaryZoomSection, AutoShape, AudioFrame, OleObjectFrame, SummaryZoomFrame, ZoomFrame, GraphicalObject, PictureFrame, ZoomObject, VideoFrame, GeometryShape, SmartArtShape, SmartArt, Ink, Chart, GroupShape, Table, SectionZoomFrame, Shape, LegacyDiagram, Connector
getSlide
Name | Description |
---|
getSlide() | Returns or sets the parent slide of a comment. Read-only ISlide. |
Result:
Slide
getStatus
Name | Description |
---|
getStatus() | Gets or sets the status of the comment. Read/write ModernCommentStatus. |
Result:
byte
getText
Name | Description |
---|
getText() | Returns or sets the plain text of a slide comment. Read/write String. |
Result:
String
getTextSelectionLength
Name | Description |
---|
getTextSelectionLength() | Gets or sets text selection length in text frame if the comment associated with AutoShape. Read/write int. |
Result:
int
getTextSelectionStart
Name | Description |
---|
getTextSelectionStart() | Gets or sets starting position of text selection in text frame if the comment associated with AutoShape. Read/write int. |
Result:
int
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(Comment) | 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(ModernComment) | 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. |
setStatus
Name | Description |
---|
setStatus(byte) | Gets or sets the status of the comment. Read/write ModernCommentStatus. |
setText
Name | Description |
---|
setText(String) | Returns or sets the plain text of a slide comment. Read/write String. |
setTextSelectionLength
Name | Description |
---|
setTextSelectionLength(int) | Gets or sets text selection length in text frame if the comment associated with AutoShape. Read/write int. |
setTextSelectionStart
Name | Description |
---|
setTextSelectionStart(int) | Gets or sets starting position of text selection in text frame if the comment associated with AutoShape. Read/write int. |