public final class WMF extends Metafile
Modifier and Type | Class and Description |
---|---|
class |
WMF.AldusHeader
Aldus Placeable Metafile header - 22 byte structure before WMF data.
|
Metafile.Header
CHECKSUM_SIZE, logger, offset, painters, uidInstanceCount
Constructor and Description |
---|
WMF() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Extract compressed WMF data from a ppt
|
int |
getSignature()
WMF signature is either
0x2160 or 0x2170 |
int |
getType()
We are of type
Picture.WMF |
void |
setData(byte[] data)
Set picture data
|
void |
setSignature(int signature)
Sets the WMF signature - either
0x2160 or 0x2170 |
create, draw, getChecksum, getHeader, getImagePainter, getOffset, getRawData, getSize, getUID, getUIDInstanceCount, setImagePainter, setOffset, setRawData, write
public byte[] getData()
getData
in class PictureData
public void setData(byte[] data) throws java.io.IOException
PictureData
setData
in class PictureData
java.io.IOException
public int getType()
Picture.WMF
getType
in class PictureData
public int getSignature()
0x2160
or 0x2170
getSignature
in class PictureData
public void setSignature(int signature)
0x2160
or 0x2170
setSignature
in class PictureData
Copyright 2015 The Apache Software Foundation or its licensors, as applicable.