Inserts the referenced file into this DjVu document.
|fname ||Name of the top-level file containing the image of the page to be inserted. This file must be a DjVu file and may include one or more other DjVu files.|
If it include other DjVu files, the function will try to insert them into the document too. Should this attempt fail, the corresponding INCL# chunk will be removed from the referencing file and an exception will be thrown.
When inserting a file, the function may modify its name to be unique in the DjVu document.
|page_num ||Position where the new page should be inserted at. Negative value means "append" |
Definition at line 886 of file DjVuDocEditor.cpp.
References GListTemplate< TYPE, TYPE >::append(), and insert_group().
DEBUG_MSG("DjVuDocEditor::insert_page(): furl='" << file_url << "'\n");