Logo Search packages:      
Sourcecode: djvulibre version File versions

DjVuAnno Class Reference

#include <DjVuAnno.h>

Inheritance diagram for DjVuAnno:

GPEnabled

List of all members.


Detailed Description

This is a top-level class containing annotations of a DjVu document (or just a page). It has only two functions: {encode}() and {decode}(). Both of them work with a sequence of annotation chunks from FORM:ANNO# form. Basing on the name of the chunks they call encode()# and decode()# functions of the proper annotation structure (like {ANT}). The real work of encoding and decoding is done by lower-level classes.

Definition at line 237 of file DjVuAnno.h.


Public Member Functions

GP< DjVuAnnocopy (void) const
 Returns a copy of this object.
void decode (const GP< ByteStream > &bs)
void encode (const GP< ByteStream > &bs)
int get_count (void) const
unsigned int get_memory_usage () const
GUTF8String get_paramtags (void) const
 Obtain the XML flags for the default specifications.
GUTF8String get_xmlmap (const GUTF8String &name, const int height) const
 Obtain the <MAP></MAP> tag for these annotations.
void merge (const GP< DjVuAnno > &anno)
void writeMap (ByteStream &bs, const GUTF8String &name, const int height) const
 Write the <MAP></MAP> tag for these annotations.
void writeParam (ByteStream &out_str) const
 Write the XML flags for the default specifications.

Static Public Member Functions

static GP< DjVuAnnocreate (void)
 Creation method.

Public Attributes

GP< DjVuANTant

Protected Attributes

volatile int count
 The reference counter.

Static Private Member Functions

static void decode (ByteStream *)
static void encode (ByteStream *)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index