Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Celartem::DjVu::Bookmark Class Referenceabstract

#include <djv_bookmark.h>

Inheritance diagram for Celartem::DjVu::Bookmark:
Inheritance graph
[legend]

Public Types

typedef SimpleArray< AutoPtr
< Bookmark > > 
Array
 

Public Member Functions

virtual void encode (Stream *inStream) const =0
 
virtual AutoPtr< ChunkencodeNAVMChunk () const =0
 
virtual AutoPtr< Bookmarkduplicate () const =0
 
- Public Member Functions inherited from Celartem::Referable
 Referable ()
 
void addRef () const
 
void releaseRef () const
 
size_t getReferenceCount () const
 

Static Public Member Functions

static AutoPtr< Bookmarkcreate (const String &inText=NullString, const Link &inLink=NullString)
 
static AutoPtr< Bookmarkdecode (Stream *inStream)
 
static AutoPtr< Bookmarkdecode (const Chunk *inChunk)
 
- Static Public Member Functions inherited from Celartem::Referable
static void dumpDbgAllRefCount ()
 

Public Attributes

Array children
 
String text
 Text shown in the outline pane. More...
 
Link link
 Link to another resource. More...
 

Detailed Description

This structure retains information about a bookmark entry.

Member Typedef Documentation

Definition for the array of Bookmark.

Member Function Documentation

static AutoPtr<Bookmark> Celartem::DjVu::Bookmark::create ( const String inText = NullString,
const Link inLink = NullString 
)
static

Creates an instance.

Parameters
inTextText shown in the outline pane.
inLinkLink to a resource.
static AutoPtr<Bookmark> Celartem::DjVu::Bookmark::decode ( Stream inStream)
static

Creates an instance by decoding NAVM chunk.

Parameters
inStreamStream which contains the data to load.
static AutoPtr<Bookmark> Celartem::DjVu::Bookmark::decode ( const Chunk inChunk)
static

Creates an instance by decoding NAVM chunk.

Parameters
inChunkChunk which contains the data to load.
virtual AutoPtr<Bookmark> Celartem::DjVu::Bookmark::duplicate ( ) const
pure virtual

Creates a deep copy of the instance.

Returns
New Bookmark instance.
virtual void Celartem::DjVu::Bookmark::encode ( Stream inStream) const
pure virtual

Encodes the instance to the DjVu's NAVM chunk. This method is for advanced purpose and for normal purpose, you had better use encodeNAVMChunk.

Parameters
inStreamThe stream to write on.
virtual AutoPtr<Chunk> Celartem::DjVu::Bookmark::encodeNAVMChunk ( ) const
pure virtual

Encodes the instance to the DjVu's NAVM chunk.

Returns
NAVM Chunk.

Member Data Documentation

Array Celartem::DjVu::Bookmark::children

The child elements if exist.

Link Celartem::DjVu::Bookmark::link

Link to another resource.

String Celartem::DjVu::Bookmark::text

Text shown in the outline pane.


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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo