| Modifier and Type | Method and Description |
|---|---|
| public ClientAnchor | Returns: the newly created client anchorthe x coordinate in EMU within the first cell. dx1, int the y coordinate in EMU within the first cell. dy1, int the x coordinate in EMU within the second cell. dx2, int the y coordinate in EMU within the second cell. dy2, int the column (0 based) of the first cell. col1, int the row (0 based) of the first cell. row1, int the column (0 based) of the second cell. col2, int the row (0 based) of the second cell. row2)Creates a new client anchor and sets the top-left and bottom-right coordinates of the anchor. |
| public Comment | Returns: the newly created comment.the client anchor describes how this comment is attached
to the sheet. anchor)Creates a comment. |
| public ObjectData | Returns: newly created shapethe client anchor describes how this picture is
attached to the sheet. anchor, int the storageId returned by storageId, int Workbook#addOlePackage(byte[], String, String, String)the index of the picture (used as preview image) in the
workbook collection of pictures. pictureIndex)Adds a new OLE Package Shape |
| public Picture | Returns: the newly created picture.the client anchor describes how this picture is
attached to the sheet. anchor, int the index of the picture in the workbook collection
of pictures. pictureIndex)Creates a picture. |
| createAnchor | back to summary |
|---|---|
| public ClientAnchor createAnchor(int dx1, int dy1, int dx2, int dy2, int col1, int row1, int col2, int row2) Creates a new client anchor and sets the top-left and bottom-right coordinates of the anchor.
| |
| createCellComment | back to summary |
|---|---|
| public Comment createCellComment(ClientAnchor anchor) Creates a comment.
| |
| createObjectData | back to summary |
|---|---|
| public ObjectData createObjectData(ClientAnchor anchor, int storageId, int pictureIndex) Adds a new OLE Package Shape
| |
| createPicture | back to summary |
|---|---|
| public Picture createPicture(ClientAnchor anchor, int pictureIndex) Creates a picture.
| |