#include <djv_bookmark.h>

Public Types | |
| typedef SimpleArray< AutoPtr < Bookmark > > | Array |
Public Member Functions | |
| virtual void | encode (Stream *inStream) const =0 |
| virtual AutoPtr< Chunk > | encodeNAVMChunk () const =0 |
| virtual AutoPtr< Bookmark > | duplicate () 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< Bookmark > | create (const String &inText=NullString, const Link &inLink=NullString) |
| static AutoPtr< Bookmark > | decode (Stream *inStream) |
| static AutoPtr< Bookmark > | decode (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... | |
This structure retains information about a bookmark entry.
| typedef SimpleArray< AutoPtr<Bookmark> > Celartem::DjVu::Bookmark::Array |
Definition for the array of Bookmark.
|
static |
Creates an instance.
| inText | Text shown in the outline pane. |
| inLink | Link to a resource. |
Creates an instance by decoding NAVM chunk.
| inStream | Stream which contains the data to load. |
Creates an instance by decoding NAVM chunk.
| inChunk | Chunk which contains the data to load. |
Creates a deep copy of the instance.
|
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.
| inStream | The stream to write on. |
Encodes the instance to the DjVu's NAVM chunk.
NAVM Chunk. | 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.