Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< DjVuFile > DjVuDocument::id_to_file ( const DjVuPort source,
const GUTF8String id 
) [virtual]

This request is used to get a file corresponding to the given ID. {DjVuDocument} is supposed to intercept it and either create a new instance of {DjVuFile} or reuse an existing one from the cache.

Reimplemented from DjVuPort.

Definition at line 1413 of file DjVuDocument.cpp.

References get_djvu_file().

{
   return (DjVuFile *) get_djvu_file(id);
}


Generated by  Doxygen 1.6.0   Back to index