Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< DjVuNavDir > DjVuFile::decode_ndir ( void   ) 

Looks for NDIR# chunk (navigation directory), and decodes its contents. If the NDIR# chunk has not been found in {this} file, but this file includes others, the procedure will continue recursively. This function is useful to obtain the document navigation directory before any page has been decoded. After it returns the directory can be obtained by calling {find_ndir}() function.

{ Warning.} Contrary to {start_decode}(), this function does not return before it completely decodes the directory. Make sure, that this file and all included files have enough data.

Definition at line 1573 of file DjVuFile.cpp.

{
  GMap<GURL, void *> map;
  return decode_ndir(map);
}


Generated by  Doxygen 1.6.0   Back to index