public class CommentShape extends TextboxShape
HSSFComment
to low-level records.Modifier and Type | Field and Description |
---|---|
private NoteRecord |
note |
Constructor and Description |
---|
CommentShape(HSSFComment hssfShape,
int shapeId)
Creates the low-level records for a comment.
|
Modifier and Type | Method and Description |
---|---|
protected int |
addStandardOptions(HSSFShape shape,
EscherOptRecord opt)
Sets standard escher options for a comment.
|
private NoteRecord |
createNoteRecord(HSSFComment shape,
int shapeId)
Creates the low level
NoteRecord
which holds the comment attributes. |
NoteRecord |
getNoteRecord()
Return the
NoteRecord holding the comment attributes |
getEscherTextbox, getObjRecord, getSpContainer, getTextObjectRecord
createAnchor, createShape
private NoteRecord note
public CommentShape(HSSFComment hssfShape, int shapeId)
hssfShape
- The highlevel shape.shapeId
- The shape id to use for this shape.private NoteRecord createNoteRecord(HSSFComment shape, int shapeId)
NoteRecord
which holds the comment attributes.protected int addStandardOptions(HSSFShape shape, EscherOptRecord opt)
addStandardOptions
in class AbstractShape
shape
- The highlevel shape.opt
- The escher records holding the proertiespublic NoteRecord getNoteRecord()
NoteRecord
holding the comment attributesNoteRecord
holding the comment attributesCopyright © 2015 Open Microscopy Environment