com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IComment

  • All Known Implementing Classes:
    Comment


    public interface IComment

    Represents a comment on a slide.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      ICommentAuthor getAuthor()
      Returns the author of a comment.
      java.util.Date getCreatedTime()
      Returns or sets the time of a comment creation.
      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.
    • Method Detail

      • getText

        java.lang.String getText()

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

      • setText

        void setText(java.lang.String value)

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

      • getCreatedTime

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


        Comment time is an optional parameter.

      • setCreatedTime

        void setCreatedTime(java.util.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 Date.


        Comment time is an optional parameter.

      • getSlide

        ISlide getSlide()

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

      • getPosition

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

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

      • setPosition

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

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

      • remove

        void remove()

        Removes comment from the parent collection.

        Throws:
        PptxEditException - Thrown if comment is already removed