#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 |
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) |
Public Attributes | |
| Array | children |
| String | text |
| Text shown in the outline pane. | |
| Link | link |
| Link to another resource. | |
This structure retains information about a bookmark entry.
| typedef SimpleArray< AutoPtr<Bookmark> > Celartem::DjVu::Bookmark::Array |
Definition for the array of Bookmark.
| static AutoPtr<Bookmark> Celartem::DjVu::Bookmark::create | ( | const String & | inText = NullString, |
|
| const Link & | inLink = NullString | |||
| ) | [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. |
| 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.
| inStream | The stream to write on. |
Encodes the instance to the DjVu's NAVM chunk.
NAVM Chunk. The child elements if exist.
Link to another resource.
Text shown in the outline pane.