public final class WMF extends Metafile
Metafile.HeaderPictureData.PictureTypeCHECKSUM_SIZE| Constructor and Description |
|---|
WMF() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Returns the binary data of this Picture
|
int |
getSignature()
WMF signature is either
0x2160 or 0x2170 |
PictureData.PictureType |
getType() |
void |
setData(byte[] data)
Sets the binary picture data
|
void |
setSignature(int signature)
Sets the WMF signature - either
0x2160 or 0x2170 |
compress, getImageDimensioncreate, getChecksum, getChecksum, getContentType, getHeader, getImageDimensionInPixels, getIndex, getOffset, getRawData, getUID, getUIDInstanceCount, setIndex, setOffset, setRawData, setUIDInstanceCount, writepublic byte[] getData()
PictureDatapublic void setData(byte[] data)
throws java.io.IOException
PictureDatadata - picture datajava.io.IOExceptionpublic PictureData.PictureType getType()
public int getSignature()
0x2160 or 0x2170getSignature in class HSLFPictureDatapublic void setSignature(int signature)
0x2160 or 0x2170setSignature in class HSLFPictureDataCopyright 2018 The Apache Software Foundation or its licensors, as applicable.