|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PictureData
Nested Class Summary | |
---|---|
static class |
PictureData.PictureType
|
Method Summary | |
---|---|
byte[] |
getChecksum()
Gets the checksum - the checksum can be of various length - mostly it's 8 (XSLF) or 16 (HSLF) bytes long. |
java.lang.String |
getContentType()
Returns content type (mime type) of this picture. |
byte[] |
getData()
Returns the binary data of this Picture |
java.awt.Dimension |
getImageDimension()
Return the original image dimensions in points (for formats supported by BufferedImage). |
java.awt.Dimension |
getImageDimensionInPixels()
Return the original image dimensions in pixels |
PictureData.PictureType |
getType()
|
void |
setData(byte[] data)
Sets the binary picture data |
Method Detail |
---|
java.lang.String getContentType()
PictureData.PictureType getType()
byte[] getData()
void setData(byte[] data) throws java.io.IOException
data
- picture data
java.io.IOException
byte[] getChecksum()
java.awt.Dimension getImageDimension()
java.awt.Dimension getImageDimensionInPixels()
getImageDimension()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |