|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.hslf.usermodel.PictureData
org.apache.poi.hslf.blip.Bitmap
org.apache.poi.hslf.blip.DIB
public final 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 |
| Constructor Summary | |
|---|---|
DIB()
|
|
| Method Summary | |
|---|---|
static byte[] |
addBMPHeader(byte[] data)
|
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 |
|---|
equals, 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()
PictureDataPicture class.
- Specified by:
getType in class PictureData
- Returns:
- type of this picture
- See Also:
Picture.DIB
public int getSignature()
0x7A80
0x7A80)public byte[] getData()
PictureData
getData in class Bitmappublic static byte[] addBMPHeader(byte[] data)
public void setData(byte[] data)
throws java.io.IOException
PictureData
setData in class Bitmapjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||