| |
|
| java.lang.Object org.apache.poi.hssf.record.Record org.apache.poi.hssf.record.NoteRecord
NoteRecord | public class NoteRecord extends Record (Code) | | NOTE: Comment Associated with a Cell (1Ch)
author: Yegor Kozlov |
NOTE_HIDDEN | final public static short NOTE_HIDDEN(Code) | | Flag indicating that the comment is hidden (default)
|
NOTE_VISIBLE | final public static short NOTE_VISIBLE(Code) | | Flag indicating that the comment is visible
|
sid | final public static short sid(Code) | | |
NoteRecord | public NoteRecord()(Code) | | Construct a new NoteRecord and
fill its data with the default values
|
NoteRecord | public NoteRecord(RecordInputStream in)(Code) | | Constructs a NoteRecord and fills its fields
from the supplied RecordInputStream .
Parameters: in - the stream to read from |
fillFields | protected void fillFields(RecordInputStream in)(Code) | | Read the record data from the supplied RecordInputStream
|
getAuthor | public String getAuthor()(Code) | | Name of the original comment author
the name of the original author of the comment |
getColumn | public short getColumn()(Code) | | Return the column that contains the comment
the column that contains the comment |
getRecordSize | public int getRecordSize()(Code) | | Size of record
|
getRow | public short getRow()(Code) | | Return the row that contains the comment
the row that contains the comment |
getShapeId | public short getShapeId()(Code) | | Object id for OBJ record that contains the comment
|
getSid | public short getSid()(Code) | | id of this record. |
serialize | public int serialize(int offset, byte[] data)(Code) | | Serialize the record data into the supplied array of bytes
Parameters: offset - offset in the data Parameters: data - the data to serialize into size of the record |
setAuthor | public void setAuthor(String author)(Code) | | Name of the original comment author
Parameters: author - the name of the original author of the comment |
setColumn | public void setColumn(short col)(Code) | | Specify the column that contains the comment
Parameters: col - the column that contains the comment |
setRow | public void setRow(short row)(Code) | | Specify the row that contains the comment
Parameters: row - the row that contains the comment |
setShapeId | public void setShapeId(short id)(Code) | | Object id for OBJ record that contains the comment
|
toString | public String toString()(Code) | | Convert this record to string.
Used by BiffViewer and other utulities.
|
validateSid | protected void validateSid(short id)(Code) | | Checks the sid matches the expected side for this record
Parameters: id - the expected sid. |
|
|
|