public final class WMF extends Metafile
Metafile.Header
PictureData.PictureType
CHECKSUM_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, getImageDimension
create, getChecksum, getChecksum, getContentType, getHeader, getImageDimensionInPixels, getIndex, getOffset, getRawData, getUID, getUIDInstanceCount, setIndex, setOffset, setRawData, setUIDInstanceCount, write
public byte[] getData()
PictureData
public void setData(byte[] data) throws java.io.IOException
PictureData
data
- picture datajava.io.IOException
public PictureData.PictureType getType()
public int getSignature()
0x2160
or 0x2170
getSignature
in class HSLFPictureData
public void setSignature(int signature)
0x2160
or 0x2170
setSignature
in class HSLFPictureData
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.