PacDocument

An abstract Package Document.

At the moment, the yael.opfpacdocument.OPFPacDocument is the only concrete subclass of this class.

This class is here in case future EPUB specifications will allow different Package Document formats.

class yael.pacdocument.PacDocument(internal_path=None, obj=None, string=None)[source]

An abstract Package Document.

You should not use this class, but rather its subclass yael.opfpacdocument.OPFPacDocument.

files_referenced_manifest

The (ordered) list of files referenced in the Package Document manifest.

Each file is represented by its path, relative to the Container root.

Return type:list of str
files_referenced_spine

The (ordered) list of files referenced in the Package Document spine.

Each file is represented by its path, relative to the Container root.

Return type:list of str
files_referenced_spine_linear

The (ordered) list of files referenced in the Package Document spine with attribute linear=”yes” or omitted.

Each file is represented by its path, relative to the Container root.

Return type:list of str
internal_path_cover_image

The path of the cover image, relative to the Container root.

Return type:str
internal_path_nav_document

The path of the Navigation Document, relative to the Container root.

Return type:str
internal_path_ncx_toc

The path of the NCX TOC, relative to the Container root.

Return type:str
v_unique_identifier

The Unique Identifier.

Return type:str