public class CommentShape
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthor()
Comment's author.
|
short |
getCol()
Column of the commented cell.
|
short |
getRow()
Row of the commented cell.
|
java.lang.String |
getText()
Comment text.
|
void |
setAuthor(java.lang.String author)
set author of the comment
|
void |
setCol(short col)
set column of the commented cell.
|
void |
seText(java.lang.String text)
set the text content of the comment
|
void |
setRow(short row)
set row of the commented cell
|
void |
setTextSelection(RangeStyle rs,
int start,
int end)
Sets text selection formatting
|
public short getRow()
public void setRow(short row)
row
- row indexpublic short getCol()
public void setCol(short col)
col
- col indexpublic java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author
- comment authorpublic java.lang.String getText()
public void seText(java.lang.String text)
text
- comment content.public void setTextSelection(RangeStyle rs, int start, int end) throws java.lang.Exception
rs
- rangestyle object contain the font informationstart
- starting positon of selection.end
- ending positon of selection.java.lang.Exception
- if the positions are invalid