Class RevisionCellComment
java.lang.Object
com.independentsoft.office.spreadsheet.revisions.RevisionCellComment
The Class RevisionCellComment.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the action.Gets the author.getCell()Gets the cell.getGuid()Gets the guid.intGets the new comment length.intGets the original comment length.intGets the sheet id.booleanChecks if is always show comment.booleanChecks if is hidden column.booleanChecks if is hidden row.booleanChecks if is old comment.voidsetAction(RevisionAction action)Sets the action.voidsetAlwaysShowComment(boolean alwaysShowComment)Sets the always show comment.voidSets the author.voidSets the cell.voidSets the guid.voidsetHiddenColumn(boolean isHiddenColumn)Sets the hidden column.voidsetHiddenRow(boolean isHiddenRow)Sets the hidden row.voidsetNewCommentLength(int newCommentLength)Sets the new comment length.voidsetOldComment(boolean isOldComment)Sets the old comment.voidsetOriginalCommentLength(int originalCommentLength)Sets the original comment length.voidsetSheetID(int sheetID)Sets the sheet id.toString()
-
Constructor Details
-
RevisionCellComment
public RevisionCellComment()Instantiates a new revision cell comment.
-
-
Method Details
-
clone
-
toString
-
getAction
Gets the action.- Returns:
- the action
-
setAction
Sets the action.- Parameters:
action- the new action
-
isAlwaysShowComment
public boolean isAlwaysShowComment()Checks if is always show comment.- Returns:
- true, if is always show comment
-
setAlwaysShowComment
public void setAlwaysShowComment(boolean alwaysShowComment)Sets the always show comment.- Parameters:
alwaysShowComment- the new always show comment
-
getAuthor
Gets the author.- Returns:
- the author
-
setAuthor
Sets the author.- Parameters:
author- the new author
-
getCell
Gets the cell.- Returns:
- the cell
-
setCell
Sets the cell.- Parameters:
cell- the new cell
-
getGuid
Gets the guid.- Returns:
- the guid
-
setGuid
Sets the guid.- Parameters:
guid- the new guid
-
isHiddenColumn
public boolean isHiddenColumn()Checks if is hidden column.- Returns:
- true, if is hidden column
-
setHiddenColumn
public void setHiddenColumn(boolean isHiddenColumn)Sets the hidden column.- Parameters:
isHiddenColumn- the new hidden column
-
isHiddenRow
public boolean isHiddenRow()Checks if is hidden row.- Returns:
- true, if is hidden row
-
setHiddenRow
public void setHiddenRow(boolean isHiddenRow)Sets the hidden row.- Parameters:
isHiddenRow- the new hidden row
-
getNewCommentLength
public int getNewCommentLength()Gets the new comment length.- Returns:
- the new comment length
-
setNewCommentLength
public void setNewCommentLength(int newCommentLength)Sets the new comment length.- Parameters:
newCommentLength- the new new comment length
-
isOldComment
public boolean isOldComment()Checks if is old comment.- Returns:
- true, if is old comment
-
setOldComment
public void setOldComment(boolean isOldComment)Sets the old comment.- Parameters:
isOldComment- the new old comment
-
getOriginalCommentLength
public int getOriginalCommentLength()Gets the original comment length.- Returns:
- the original comment length
-
setOriginalCommentLength
public void setOriginalCommentLength(int originalCommentLength)Sets the original comment length.- Parameters:
originalCommentLength- the new original comment length
-
getSheetID
public int getSheetID()Gets the sheet id.- Returns:
- the sheet id
-
setSheetID
public void setSheetID(int sheetID)Sets the sheet id.- Parameters:
sheetID- the new sheet id
-