Logo Search packages:      
Sourcecode: djvulibre version File versions

int DjVuDocument::get_doc_type ( void   )  const [inline]

If the document has already learnt its type, the function will returns it: DjVuDocument::OLD_BUNDLED# or DjVuDocument::OLD_INDEXED# or DjVuDocument::SINGLE_PAGE# or DjVuDocument:BUNDLED# or DjVuDocument::INDIRECT#. The first two formats are obsolete. Otherwise (if the type is unknown yet), UNKNOWN_TYPE# will be returned.

{ Note:} To check the stage of the document initialization use {get_flags}() or {is_init_complete}() functions. To wait for the initialization to complete use {wait_for_complete_init}(). For single threaded applications the initialization completes before the {init}() function returns.

Definition at line 969 of file DjVuDocument.h.

Referenced by get_thumbnail().

{ return doc_type; }


Generated by  Doxygen 1.6.0   Back to index