Interface Spreadsheet.CommentAuthorProvider

All Superinterfaces:
Serializable
Enclosing class:
Spreadsheet

public static interface Spreadsheet.CommentAuthorProvider extends Serializable
This interface can be implemented to provide the comment author name set to new comments in cells.
  • Method Summary

    Modifier and Type
    Method
    Description
    getAuthorForComment(org.apache.poi.ss.util.CellReference targetCell)
    Gets the author name for a new comment about to be added to the cell at the given cell reference.
  • Method Details

    • getAuthorForComment

      String getAuthorForComment(org.apache.poi.ss.util.CellReference targetCell)
      Gets the author name for a new comment about to be added to the cell at the given cell reference.
      Parameters:
      targetCell - Reference to the target cell
      Returns:
      Comment author name