public interface IModernComment extends IComment
Represents a comment on a slide.
Presentation pres = new Presentation(); try { ICommentAuthor newAuthor = pres.getCommentAuthors().addAuthor("Some Author", "SA"); newAuthor.getComments().addModernComment("This is modern comment", pres.getSlides().get_Item(0), null, new android.graphics.PointF(100, 100), new Date()); pres.save(outPptxFileName, SaveFormat.Pptx); } finally { if (pres != null) pres.dispose(); }
Modifier and Type | Method and Description |
---|---|
IShape |
getShape()
Returns a shape associated with the comment.
|
byte |
getStatus()
Returns or sets the status of the comment.
|
int |
getTextSelectionLength()
Returns or sets text selection length in text frame if the comment associated with AutoShape.
|
int |
getTextSelectionStart()
Returns or sets starting position of text selection in text frame if the comment associated with AutoShape.
|
void |
setStatus(byte value)
Returns or sets the status of the comment.
|
void |
setTextSelectionLength(int value)
Returns or sets text selection length in text frame if the comment associated with AutoShape.
|
void |
setTextSelectionStart(int value)
Returns or sets starting position of text selection in text frame if the comment associated with AutoShape.
|
getAuthor, getCreatedTime, getParentComment, getPosition, getSlide, getText, remove, setCreatedTime, setParentComment, setPosition, setText
int getTextSelectionStart()
Returns or sets starting position of text selection in text frame if the comment associated with AutoShape.
Read/write int
.
void setTextSelectionStart(int value)
Returns or sets starting position of text selection in text frame if the comment associated with AutoShape.
Read/write int
.
int getTextSelectionLength()
Returns or sets text selection length in text frame if the comment associated with AutoShape.
Read/write int
.
void setTextSelectionLength(int value)
Returns or sets text selection length in text frame if the comment associated with AutoShape.
Read/write int
.
byte getStatus()
Returns or sets the status of the comment.
Read/write ModernCommentStatus
.
void setStatus(byte value)
Returns or sets the status of the comment.
Read/write ModernCommentStatus
.