com.aspose.slides
Class Comment

java.lang.Object
  extended by com.aspose.slides.Comment
All Implemented Interfaces:
IComment

public final class Comment
extends java.lang.Object
implements IComment

Represents a comment on a slide.


Method Summary
 ICommentAuthor getAuthor()
           Returns the author of a comment.
 java.util.Date getCreatedTime()
           Returns or sets the time of a comment creation.
 com.aspose.slides.IDOMObject getParent_Immediate()
           Returns Parent_Immediate object.
 java.awt.geom.Point2D.Float getPosition()
           Returns or sets the position of a comment on a slide.
 ISlide getSlide()
           Returns or sets the parent slide of a comment.
 java.lang.String getText()
           Returns or sets the plain text of a slide comment.
 void remove()
           Removes comment from the parent collection.
 void setCreatedTime(java.util.Date value)
           Returns or sets the time of a comment creation.
 void setPosition(java.awt.geom.Point2D.Float value)
           Returns or sets the position of a comment on a slide.
 void setText(java.lang.String value)
           Returns or sets the plain text of a slide comment.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getText

public java.lang.String getText()

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

Specified by:
getText in interface IComment

setText

public void setText(java.lang.String value)

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

Specified by:
setText in interface IComment

getCreatedTime

public java.util.Date getCreatedTime()

Returns or sets the time of a comment creation. Setting this property to DateTime.MinValue means no comment time is set. Read/write DateTime.


Comment time is an optional parameter.

Specified by:
getCreatedTime in interface IComment

setCreatedTime

public void setCreatedTime(java.util.Date value)

Returns or sets the time of a comment creation. Setting this property to DateTime.MinValue means no comment time is set. Read/write DateTime.


Comment time is an optional parameter.

Specified by:
setCreatedTime in interface IComment

getSlide

public ISlide getSlide()

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

Specified by:
getSlide in interface IComment

getAuthor

public ICommentAuthor getAuthor()

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

Specified by:
getAuthor in interface IComment

getPosition

public java.awt.geom.Point2D.Float getPosition()

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

Specified by:
getPosition in interface IComment

setPosition

public void setPosition(java.awt.geom.Point2D.Float value)

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

Specified by:
setPosition in interface IComment

remove

public void remove()

Removes comment from the parent collection.

Specified by:
remove in interface IComment
Throws:
PptxEditException - Thrown if comment is already removed

getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.