kviewshell
DjVmNav Class Reference
The NAVM chunk. More...
#include <DjVmNav.h>
Inheritance diagram for DjVmNav:
Classes | |
class | DjVuBookMark |
The DjVuBookMark. More... | |
Public Member Functions | |
void | append (const GP< DjVuBookMark > &gpBookMark) |
void | decode (const GP< ByteStream > &stream) |
void | dump (const GP< ByteStream > &stream) |
void | encode (const GP< ByteStream > &stream) |
int | get_tree (int index, int *count_array, int count_array_size) |
bool | getBookMark (GP< DjVuBookMark > &gpBookMark, int i) |
int | getBookMarkCount () |
bool | isValidBookmark () |
Static Public Member Functions | |
static GP< DjVmNav > | create (void) |
Protected Member Functions | |
DjVmNav (void) |
Detailed Description
The NAVM chunk.The optional #"NAVM"# chunk which follows the DIRM chunk describes how the user can navigate the document. This is a list of DjVuBookMarks.
Definition at line 86 of file DjVmNav.h.
Constructor & Destructor Documentation
Member Function Documentation
void DjVmNav::append | ( | const GP< DjVuBookMark > & | gpBookMark | ) |
Definition at line 105 of file DjVmNav.cpp.
void DjVmNav::decode | ( | const GP< ByteStream > & | stream | ) |
void DjVmNav::dump | ( | const GP< ByteStream > & | stream | ) |
Definition at line 255 of file DjVmNav.cpp.
void DjVmNav::encode | ( | const GP< ByteStream > & | stream | ) |
int DjVmNav::get_tree | ( | int | index, | |
int * | count_array, | |||
int | count_array_size | |||
) |
This function determines if the given count_array is a tree sequence, that is if it fits a tree.
Definition at line 316 of file DjVmNav.cpp.
bool DjVmNav::getBookMark | ( | GP< DjVuBookMark > & | gpBookMark, | |
int | i | |||
) |
int DjVmNav::getBookMarkCount | ( | ) |
Definition at line 230 of file DjVmNav.cpp.
bool DjVmNav::isValidBookmark | ( | ) |
This function will check the given bookmark is valid or not.
Definition at line 281 of file DjVmNav.cpp.
The documentation for this class was generated from the following files: