Documentation of 'org.apache.poi.xssf.model.CommentsTable' Java class
CommentsTable
org.apache.poi.xssf.model

Class CommentsTable

    • Constructor Detail

      • CommentsTable

        public CommentsTable()
    • Method Detail

      • readFrom

        public void readFrom(java.io.InputStream is)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • writeTo

        public void writeTo(java.io.OutputStream out)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • referenceUpdated

        public void referenceUpdated(java.lang.String oldReference,
                                     org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment)
        Called after the reference is updated, so that we can reflect that in our cache
      • getNumberOfComments

        public int getNumberOfComments()
      • getNumberOfAuthors

        public int getNumberOfAuthors()
      • getAuthor

        public java.lang.String getAuthor(long authorId)
      • findAuthor

        public int findAuthor(java.lang.String author)
      • findCellComment

        public XSSFComment findCellComment(java.lang.String cellRef)
      • getCTComment

        public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment getCTComment(java.lang.String cellRef)
      • newComment

        @Deprecated
        public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment newComment()
        Deprecated. Use newComment(String) instead to explicitly set the cell reference to create for
        This method is deprecated and should not be used any more as it silently overwrites the comment in Cell A1 if present
      • newComment

        public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment newComment(java.lang.String ref)
      • removeComment

        public boolean removeComment(java.lang.String cellRef)
      • getCTComments

        public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComments getCTComments()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.