Class WMFWriter
java.lang.Object
org.apache.maven.doxia.module.rtf.WMFWriter
A Windows MetaFile writer.
WMFWriter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
DIB data structure.(package private) static class
(package private) static class
Standard data record. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private short
standard header fieldsprivate short
private int
private short
private short
private Vector<WMFWriter.Record>
private static WMFWriter.Record
See the libwmf library documentation (http://www.wvware.com/wmf_doc_index.html) for a description of WMF format.private short
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
add
(WMFWriter.Record record) (package private) static void
(package private) static void
(package private) void
(package private) static void
(package private) static void
(package private) int
size()
(package private) void
write
(OutputStream out) (package private) void
(package private) static void
write16
(int word, OutputStream out) Writes a 16-bit integer in little-endian format.(package private) static void
write32
(int dword, OutputStream out) Writes a 32-bit integer in little-endian format.
-
Field Details
-
trailer
See the libwmf library documentation (http://www.wvware.com/wmf_doc_index.html) for a description of WMF format. -
fileType
private short fileTypestandard header fields -
headerSize
private short headerSize -
version
private short version -
fileSize
private int fileSize -
numOfObjects
private short numOfObjects -
maxRecordSize
private int maxRecordSize -
numOfParams
private short numOfParams -
records
-
-
Constructor Details
-
WMFWriter
WMFWriter()
-
-
Method Details
-
add
-
size
int size() -
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write16
Writes a 16-bit integer in little-endian format.- Throws:
IOException
-
write32
Writes a 32-bit integer in little-endian format.- Throws:
IOException
-
print
- Throws:
IOException
-
print16
- Throws:
IOException
-
print32
- Throws:
IOException
-
print
- Throws:
IOException
-
print
- Throws:
IOException
-