Class XSLFComment

java.lang.Object
org.apache.poi.xslf.usermodel.XSLFComment
All Implemented Interfaces:
Comment

public class XSLFComment extends Object implements Comment
XSLF Comment
Since:
POI 4.0.0
  • Method Details

    • getAuthor

      public String getAuthor()
      Description copied from interface: Comment
      Get the Author of this comment
      Specified by:
      getAuthor in interface Comment
    • setAuthor

      public void setAuthor(String author)
      Description copied from interface: Comment
      Set the Author of this comment. if the author wasn't registered before, create a new entry
      Specified by:
      setAuthor in interface Comment
    • getAuthorInitials

      public String getAuthorInitials()
      Description copied from interface: Comment
      Get the Author's Initials of this comment
      Specified by:
      getAuthorInitials in interface Comment
    • setAuthorInitials

      public void setAuthorInitials(String initials)
      Description copied from interface: Comment
      Set the Author's Initials of this comment. if the author wasn't registered before via Comment.setAuthor(String) this has no effect
      Specified by:
      setAuthorInitials in interface Comment
    • getText

      public String getText()
      Description copied from interface: Comment
      Get the text of this comment
      Specified by:
      getText in interface Comment
    • setText

      public void setText(String text)
      Description copied from interface: Comment
      Set the text of this comment
      Specified by:
      setText in interface Comment
    • getDate

      public Date getDate()
      Description copied from interface: Comment
      Gets the date the comment was made.
      Specified by:
      getDate in interface Comment
      Returns:
      the comment date.
    • setDate

      public void setDate(Date date)
      Description copied from interface: Comment
      Sets the date the comment was made.
      Specified by:
      setDate in interface Comment
      Parameters:
      date - the comment date.
    • getOffset

      public Point2D getOffset()
      Description copied from interface: Comment
      Gets the offset of the comment on the page.
      Specified by:
      getOffset in interface Comment
      Returns:
      the offset.
    • setOffset

      public void setOffset(Point2D offset)
      Description copied from interface: Comment
      Sets the offset of the comment on the page.
      Specified by:
      setOffset in interface Comment
      Parameters:
      offset - the offset.