Logo Search packages:      
Sourcecode: djvulibre version File versions

void DjVuDocEditor::set_page_title ( int  page_num,
const GUTF8String title 

Changes the title of the page page_num# to title#. Refer to {DjVmDir} for the explanation of {IDs}, {names} and {titles}.

Definition at line 1330 of file DjVuDocEditor.cpp.

References DjVuDocument::get_pages_num(), page_to_id(), and set_file_title().

   DEBUG_MSG("DjVuDocEditor::set_page_title(), page_num='" << page_num << "'\n");

   if (page_num<0 || page_num>=get_pages_num())
      G_THROW( ERR_MSG("DjVuDocEditor.bad_page") "\t"+GUTF8String(page_num));

   set_file_title(page_to_id(page_num), title);

Generated by  Doxygen 1.6.0   Back to index