class WMFWriter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
WMFWriter.Dib
DIB data structure.
|
(package private) static class |
WMFWriter.DibBitBltRecord |
(package private) static class |
WMFWriter.Record
Standard data record.
|
Modifier and Type | Field and Description |
---|---|
private int |
fileSize |
private short |
fileType
standard header fields
|
private short |
headerSize |
private int |
maxRecordSize |
private short |
numOfObjects |
private short |
numOfParams |
private java.util.Vector |
records |
private static WMFWriter.Record |
trailer
See the libwmf library documentation
(http://www.wvware.com/wmf_doc_index.html)
for a description of WMF format.
|
private short |
version |
Constructor and Description |
---|
WMFWriter() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
add(WMFWriter.Record record) |
(package private) static void |
print(byte[] buf,
int off,
int len,
java.io.Writer out) |
(package private) static void |
print(byte[] buf,
int off,
int len,
java.io.Writer out,
int lw) |
(package private) void |
print(java.io.Writer out) |
(package private) static void |
print16(int word,
java.io.Writer out) |
(package private) static void |
print32(int dword,
java.io.Writer out) |
(package private) int |
size() |
(package private) void |
write(java.io.OutputStream out) |
(package private) void |
write(java.lang.String fileName) |
(package private) static void |
write16(int word,
java.io.OutputStream out)
Writes a 16-bit integer in little-endian format.
|
(package private) static void |
write32(int dword,
java.io.OutputStream out)
Writes a 32-bit integer in little-endian format.
|
private static WMFWriter.Record trailer
private short fileType
private short headerSize
private short version
private int fileSize
private short numOfObjects
private int maxRecordSize
private short numOfParams
private java.util.Vector records
void add(WMFWriter.Record record)
int size()
void write(java.lang.String fileName) throws java.io.IOException
java.io.IOException
void write(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
static void write16(int word, java.io.OutputStream out) throws java.io.IOException
java.io.IOException
static void write32(int dword, java.io.OutputStream out) throws java.io.IOException
java.io.IOException
void print(java.io.Writer out) throws java.io.IOException
java.io.IOException
static void print16(int word, java.io.Writer out) throws java.io.IOException
java.io.IOException
static void print32(int dword, java.io.Writer out) throws java.io.IOException
java.io.IOException
static void print(byte[] buf, int off, int len, java.io.Writer out) throws java.io.IOException
java.io.IOException
static void print(byte[] buf, int off, int len, java.io.Writer out, int lw) throws java.io.IOException
java.io.IOException