| java.lang.Object org.apache.poi.hssf.model.AbstractShape org.apache.poi.hssf.model.TextboxShape org.apache.poi.hssf.model.CommentShape
CommentShape | public class CommentShape extends TextboxShape (Code) | | Represents a cell comment.
This class converts highlevel model data from HSSFComment
to low-level records.
author: Yegor Kozlov |
Constructor Summary | |
public | CommentShape(HSSFComment hssfShape, int shapeId) Creates the low-level records for a comment. |
CommentShape | public CommentShape(HSSFComment hssfShape, int shapeId)(Code) | | Creates the low-level records for a comment.
Parameters: hssfShape - The highlevel shape. Parameters: shapeId - The shape id to use for this shape. |
addStandardOptions | protected int addStandardOptions(HSSFShape shape, EscherOptRecord opt)(Code) | | Sets standard escher options for a comment.
This method is responsible for setting default background,
shading and other comment properties.
Parameters: shape - The highlevel shape. Parameters: opt - The escher records holding the proerties number of escher options added |
getNoteRecord | public NoteRecord getNoteRecord()(Code) | | Return the NoteRecord holding the comment attributes
NoteRecord holding the comment attributes |
|
|