Document outline

See also

Lizardtech DjVu Reference (8.3.3 Document Outline Chunk).

Representing outlines as S-expressions is DjVuLibre-specific; see Outline/Bookmark syntax in djvused manual for reference.

class djvu.decode.DocumentOutline
wait()
Wait until the associated S-expression is available.
sexpr
Returns:the associated S-expression.

If the S-expression is not available, raise NotAvailable exception. Then, PageInfoMessage messages with empty page_job may be emitted.

Raises NotAvailable:
 see above.
Raises JobFailed:
 on failure.
djvu.const.EMPTY_OUTLINE

Empty outline S-expression.

>>> list(EMPTY_OUTLINE)
[Symbol('bookmarks')]

Previous topic

Document files

Next topic

Annotations

This Page