|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.usermodel.PictureData org.apache.poi.hslf.blip.Bitmap org.apache.poi.hslf.blip.DIB
public class DIB
Represents a DIB picture data in a PPT file
Field Summary | |
---|---|
static int |
HEADER_SIZE
Size of the BITMAPFILEHEADER structure preceding the actual DIB bytes |
Fields inherited from class org.apache.poi.hslf.usermodel.PictureData |
---|
CHECKSUM_SIZE, logger, offset, painters |
Constructor Summary | |
---|---|
DIB()
|
Method Summary | |
---|---|
byte[] |
getData()
Returns the binary data of this Picture |
int |
getSignature()
DIB signature is 0x7A80 |
int |
getType()
Returns type of this picture. |
void |
setData(byte[] data)
Set picture data |
Methods inherited from class org.apache.poi.hslf.usermodel.PictureData |
---|
create, draw, getChecksum, getHeader, getImagePainter, getOffset, getRawData, getSize, getUID, setImagePainter, setOffset, setRawData, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HEADER_SIZE
Constructor Detail |
---|
public DIB()
Method Detail |
---|
public int getType()
PictureData
Picture class.
- Specified by:
getType
in class PictureData
- Returns:
- type of this picture
- See Also:
Picture.DIB
public int getSignature()
0x7A80
getSignature
in class PictureData
0x7A80
)public byte[] getData()
PictureData
getData
in class Bitmap
public void setData(byte[] data) throws java.io.IOException
PictureData
setData
in class Bitmap
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |