DjVmNav Class Reference

#include <DjVmNav.h>

Inheritance diagram for DjVmNav:

GPEnabled List of all members.

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.


Public Member Functions

void decode (const GP< ByteStream > &stream)
void encode (const GP< ByteStream > &stream)
void dump (const GP< ByteStream > &stream)
bool getBookMark (GP< DjVuBookMark > &gpBookMark, int i)
int getBookMarkCount ()
void append (const GP< DjVuBookMark > &gpBookMark)
bool isValidBookmark ()
int get_tree (int index, int *count_array, int count_array_size)

Static Public Member Functions

static GP< DjVmNavcreate (void)

Protected Member Functions

 DjVmNav (void)

Classes

class  DjVuBookMark
 The DjVuBookMark. More...

Member Function Documentation

void DjVmNav::append ( const GP< DjVuBookMark > &  gpBookMark  ) 

Append the BookMark to the end of the list.

Definition at line 236 of file DjVmNav.cpp.

void DjVmNav::decode ( const GP< ByteStream > &  stream  ) 

Decodes the directory from the specified stream.

Definition at line 183 of file DjVmNav.cpp.

void DjVmNav::encode ( const GP< ByteStream > &  stream  ) 

Encodes the directory into the specified stream.

Definition at line 203 of file DjVmNav.cpp.

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 
)

Return bookmark at zero-based position i.

Definition at line 242 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:
KDE Home | KDE Accessibility Home | Description of Access Keys