Logo Search packages:      
Sourcecode: djvulibre version File versions

void DjVuDocEditor::set_file_title ( const GUTF8String id,
const GUTF8String title 
)

Changes the title of the file with ID id# to title#. Refer to {DjVmDir} for the explanation of {IDs}, {names} and {titles}.

Definition at line 1320 of file DjVuDocEditor.cpp.

References DjVmDir::set_file_title().

Referenced by set_page_title().

{
   DEBUG_MSG("DjVuDocEditor::set_file_title(), id='" << id << "', title='" << title << "'\n");
   DEBUG_MAKE_INDENT(3);

      // Just change DjVmDir. It will check if the title is unique
   djvm_dir->set_file_title(id, title);
}


Generated by  Doxygen 1.6.0   Back to index