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 classDIB data structure.(package private) static class(package private) static classStandard data record. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate shortstandard header fieldsprivate shortprivate intprivate shortprivate shortprivate Vector<WMFWriter.Record> private static WMFWriter.RecordSee 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) voidadd(WMFWriter.Record record) (package private) static void(package private) static void(package private) void(package private) static void(package private) static void(package private) intsize()(package private) voidwrite(OutputStream out) (package private) void(package private) static voidwrite16(int word, OutputStream out) Writes a 16-bit integer in little-endian format.(package private) static voidwrite32(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
-