OdfPackageException if already finished or on I/O errors.OdfPackageWriter.writeMimetype
void writeMimetype(string mimeType)Writes the mimetype entry.
This must be called first and exactly once. The mimetype entry is stored uncompressed as required by the ODF specification.
Parameters
mimeType | The MIME type string. |
Throws
void writeMimetype(OdfDocumentType docType)Writes the mimetype entry from a document type.
Parameters
docType | The document type. |
Throws
OdfPackageException if already finished or on I/O errors.