Attachment

An Attachment is a file to include in the epub document.

For instance, if you want to include an image or stylesheet in the epub, you should create an Attachment for it.

Members

Variables

content
const(ubyte[]) content;

The file contents.

fileid
string fileid;

The ID of the file. Generated if you don't provide it.

filename
string filename;

The path in the epub to this file.

mimeType
string mimeType;

The mime type of the file.

Meta