OdfPackageWriter.writeFile

void writeFile(string path, const(ubyte)[] content)

Writes a file entry to the package.

Parameters

pathEntry path within the package.
contentThe uncompressed content bytes.

Throws

OdfPackageException if already finished or on I/O errors.