public final class WMF extends Metafile
| Modifier and Type | Class and Description |
|---|---|
static class |
WMF.NativeHeader
Aldus Placeable Metafile header - 22 byte structure before WMF data.
|
Metafile.HeaderPictureData.PictureTypeCHECKSUM_SIZE, index, offset, uidInstanceCount| 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, getSize, getUID, getUIDInstanceCount, setIndex, setOffset, setRawData, 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 2017 The Apache Software Foundation or its licensors, as applicable.