Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.hssf.model
Class CommentShape

    java.lang.Object
      org.apache.poi.hssf.model.AbstractShape
          org.apache.poi.hssf.model.TextboxShape
              org.apache.poi.hssf.model.CommentShape

    public final class CommentShape

extends TextboxShape

Represents a cell comment. This class converts highlevel model data from `HSSFComment` to low-level records.

Author:
  Yegor Kozlov

Constructor Summary
`CommentShape(HSSFComment hssfShape, int shapeId)` Creates the low-level records for a comment.

Method Summary
`NoteRecord` | `getNoteRecord()` Return the `NoteRecord` holding the comment attributes

Methods inherited from class org.apache.poi.hssf.model.TextboxShape
`getEscherTextbox, getObjRecord, getSpContainer, getTextObjectRecord`

Methods inherited from class org.apache.poi.hssf.model.AbstractShape
`createShape`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CommentShape

    public CommentShape(HSSFComment hssfShape,
                        int shapeId)

  Creates the low-level records for a comment.

  Parameters:
    `hssfShape` - The highlevel shape.
    `shapeId` - The shape id to use for this shape.

Method Detail

### getNoteRecord

    public NoteRecord getNoteRecord()

  Return the `NoteRecord` holding the comment attributes

  Returns:
    `NoteRecord` holding the comment attributes

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD