Logo Search packages:      
Sourcecode: djvulibre version File versions

void DjVuDocEditor::write ( const GP< ByteStream > &  str,
const GMap< GUTF8String, void * > &  reserved 
) [virtual]

Always save as bundled, renaming any files conflicting with the the names in the supplied GMap.

Reimplemented from DjVuDocument.

Definition at line 1883 of file DjVuDocEditor.cpp.

References DjVuDocument::get_pages_num(), get_thumbnails_num(), remove_thumbnails(), and DjVuDocument::write().

{
  DEBUG_MSG("DjVuDocEditor::write()\n");
  DEBUG_MAKE_INDENT(3);
  if (get_thumbnails_num()==get_pages_num())
  {
    file_thumbnails();
  }else
  { 
    remove_thumbnails();
  }
  clean_files_map();
  DjVuDocument::write(gbs,reserved);
}


Generated by  Doxygen 1.6.0   Back to index