fr.pixware.apt.convert.rtf
Class WMFWriter
java.lang.Object
fr.pixware.apt.convert.rtf.WMFWriter
public class WMFWriter
- extends java.lang.Object
A Windows MetaFile writer.
Method Summary |
void |
add(WMFWriter.Record record)
|
static void |
print(byte[] buf,
int off,
int len,
java.io.Writer out)
|
static void |
print(byte[] buf,
int off,
int len,
java.io.Writer out,
int lw)
|
void |
print(java.io.Writer out)
|
static void |
print16(int word,
java.io.Writer out)
|
static void |
print32(int dword,
java.io.Writer out)
|
int |
size()
|
void |
write(java.io.OutputStream out)
|
void |
write(java.lang.String fileName)
|
static void |
write16(int word,
java.io.OutputStream out)
Writes a 16-bit integer in little-endian format. |
static void |
write32(int dword,
java.io.OutputStream out)
Writes a 32-bit integer in little-endian format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMFWriter
public WMFWriter()
add
public void add(WMFWriter.Record record)
size
public int size()
write
public void write(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
write16
public static void write16(int word,
java.io.OutputStream out)
throws java.io.IOException
- Writes a 16-bit integer in little-endian format.
- Throws:
java.io.IOException
write32
public static void write32(int dword,
java.io.OutputStream out)
throws java.io.IOException
- Writes a 32-bit integer in little-endian format.
- Throws:
java.io.IOException
print
public void print(java.io.Writer out)
throws java.io.IOException
- Throws:
java.io.IOException
print16
public static void print16(int word,
java.io.Writer out)
throws java.io.IOException
- Throws:
java.io.IOException
print32
public static void print32(int dword,
java.io.Writer out)
throws java.io.IOException
- Throws:
java.io.IOException
print
public static void print(byte[] buf,
int off,
int len,
java.io.Writer out)
throws java.io.IOException
- Throws:
java.io.IOException
print
public static void print(byte[] buf,
int off,
int len,
java.io.Writer out,
int lw)
throws java.io.IOException
- Throws:
java.io.IOException