|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.usermodel.HSLFPictureData
org.apache.poi.hslf.blip.Bitmap
public abstract class Bitmap
Represents a bitmap picture data: JPEG or PNG. The data is not compressed and the exact file content is written in the stream.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.PictureData |
---|
PictureData.PictureType |
Field Summary |
---|
Fields inherited from class org.apache.poi.hslf.usermodel.HSLFPictureData |
---|
CHECKSUM_SIZE |
Constructor Summary | |
---|---|
Bitmap()
|
Method Summary | |
---|---|
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). |
void |
setData(byte[] data)
Sets the binary picture data |
Methods inherited from class org.apache.poi.hslf.usermodel.HSLFPictureData |
---|
create, getChecksum, getChecksum, getContentType, getHeader, getImageDimensionInPixels, getIndex, getOffset, getRawData, getSignature, getUID, getUIDInstanceCount, setIndex, setOffset, setRawData, setSignature, setUIDInstanceCount, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.poi.sl.usermodel.PictureData |
---|
getType |
Constructor Detail |
---|
public Bitmap()
Method Detail |
---|
public byte[] getData()
PictureData
public void setData(byte[] data) throws java.io.IOException
PictureData
data
- picture data
java.io.IOException
public java.awt.Dimension getImageDimension()
PictureData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |