Chapter

A Chapter is like an Attachment, but it appears in the main content of the book.

Chapter content must be a valid XHTML document. The content type is always "application/xhtml+xml". If you specify invalid XHTML, it is unlikely that your epub will work.

Members

Functions

fileid
string fileid()
Undocumented in source. Be warned that the author may not have intended to support it.
filename
string filename()
Undocumented in source. Be warned that the author may not have intended to support it.
id
string id()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

content
const(char)[] content;

The contents of this chapter.

index
int index;
Undocumented in source.
showInTOC
bool showInTOC;

Whether to show this chapter in the table of contents.

title
string title;

The title of this chapter, if it's in the table of contents.

Meta