Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ebookcodec Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-reader/ebookcodec.h>

Inheritance diagram for ebookcodec:

Inheritance graph
[legend]
Collaboration diagram for ebookcodec:

Collaboration graph
[legend]
List of all members.

Public Member Functions

QString getTableAsHtml (unsigned long loc)
QString about ()
 ebookcodec (const QString &_s)
virtual ~ebookcodec ()
size_t getHome ()
unsigned int locate ()
void locate (unsigned int n)
bool hasrandomaccess ()
void sizes (unsigned long &file, unsigned long &text)
CList< Bkmk > * getbkmklist ()
void getch (tchar &ch, CStyle &sty, unsigned long &pos)
int getch ()
linkType hyperlink (unsigned int n, unsigned int noff, QString &wrd, QString &nm)
MarkupType PreferredMarkup ()
void saveposn (size_t posn)
void writeposn (size_t posn)
linkType forward (size_t &loc)
linkType back (size_t &loc)
bool hasnavigation ()
void start2endSection ()
QImage * getPicture (unsigned long tgt)
void setSaveData (unsigned char *&data, unsigned short &len, unsigned char *src, unsigned short srclen)
void putSaveData (unsigned char *&src, unsigned short &srclen)
void setContinuous (bool _b)
void setwidth (int w)
unsigned long startSection ()
unsigned long endSection ()
int openfile (const char *src)
int getwidth ()
QImage * getPicture (const QString &href)
bool getFile (const QString &href, const QString &nm)
bool findanchor (const QString &nm)

Private Attributes

CExpandercodec
void * handle
int status

Constructor & Destructor Documentation

ebookcodec::ebookcodec const QString _s  )  [inline]
 

Definition at line 23 of file ebookcodec.h.

References codec, QFile::exists(), handle, NULL, qDebug(), and status.

virtual ebookcodec::~ebookcodec  )  [inline, virtual]
 

Definition at line 80 of file ebookcodec.h.

References codec, handle, and NULL.


Member Function Documentation

QString ebookcodec::about  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 19 of file ebookcodec.h.

References CExpander_Interface::about(), and codec.

linkType ebookcodec::back size_t &  loc  )  [inline, virtual]
 

Reimplemented from CExpander_Interface.

Definition at line 108 of file ebookcodec.h.

References CExpander::back(), and codec.

unsigned long ebookcodec::endSection  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 117 of file ebookcodec.h.

References codec, and CExpander::endSection().

bool ebookcodec::findanchor const QString nm  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 126 of file ebookcodec.h.

References codec, and CExpander::findanchor().

linkType ebookcodec::forward size_t &  loc  )  [inline, virtual]
 

Reimplemented from CExpander_Interface.

Definition at line 107 of file ebookcodec.h.

References codec, and CExpander::forward().

CList<Bkmk>* ebookcodec::getbkmklist  )  [inline, virtual]
 

Reimplemented from CExpander_Interface.

Definition at line 100 of file ebookcodec.h.

References codec, and CExpander::getbkmklist().

int ebookcodec::getch  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 102 of file ebookcodec.h.

References codec, and CExpander::getch().

void ebookcodec::getch tchar ch,
CStyle sty,
unsigned long &  pos
[inline, virtual]
 

Implements CExpander_Interface.

Definition at line 101 of file ebookcodec.h.

References codec, and CExpander::getch().

bool ebookcodec::getFile const QString href,
const QString nm
[inline, virtual]
 

Implements CExpander_Interface.

Definition at line 125 of file ebookcodec.h.

References codec, and CExpander::getFile().

size_t ebookcodec::getHome  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 85 of file ebookcodec.h.

References codec, and CExpander::getHome().

QImage* ebookcodec::getPicture const QString href  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 124 of file ebookcodec.h.

References codec, and CExpander::getPicture().

QImage* ebookcodec::getPicture unsigned long  tgt  )  [inline, virtual]
 

Reimplemented from CExpander_Interface.

Definition at line 111 of file ebookcodec.h.

References codec, and CExpander::getPicture().

QString ebookcodec::getTableAsHtml unsigned long  loc  )  [inline, virtual]
 

Reimplemented from CExpander_Interface.

Definition at line 18 of file ebookcodec.h.

References codec, and CExpander_Interface::getTableAsHtml().

int ebookcodec::getwidth  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 123 of file ebookcodec.h.

References codec, and CExpander::getwidth().

bool ebookcodec::hasnavigation  )  [inline, virtual]
 

Reimplemented from CExpander_Interface.

Definition at line 109 of file ebookcodec.h.

References codec, and CExpander::hasnavigation().

bool ebookcodec::hasrandomaccess  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 94 of file ebookcodec.h.

References codec, and CExpander::hasrandomaccess().

linkType ebookcodec::hyperlink unsigned int  n,
unsigned int  noff,
QString wrd,
QString nm
[inline, virtual]
 

Implements CExpander_Interface.

Definition at line 103 of file ebookcodec.h.

References codec, and CExpander::hyperlink().

void ebookcodec::locate unsigned int  n  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 93 of file ebookcodec.h.

References codec, and CExpander::locate().

unsigned int ebookcodec::locate  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 92 of file ebookcodec.h.

References codec, and CExpander::locate().

int ebookcodec::openfile const char *  src  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 118 of file ebookcodec.h.

References codec, CExpander::openfile(), and status.

MarkupType ebookcodec::PreferredMarkup  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 104 of file ebookcodec.h.

References codec, and CExpander::PreferredMarkup().

void ebookcodec::putSaveData unsigned char *&  src,
unsigned short &  srclen
[inline, virtual]
 

Implements CExpander_Interface.

Definition at line 113 of file ebookcodec.h.

References codec, and CExpander::putSaveData().

void ebookcodec::saveposn size_t  posn  )  [inline, virtual]
 

Reimplemented from CExpander_Interface.

Definition at line 105 of file ebookcodec.h.

References codec, and CExpander::saveposn().

void ebookcodec::setContinuous bool  _b  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 114 of file ebookcodec.h.

References codec, and CExpander::setContinuous().

void ebookcodec::setSaveData unsigned char *&  data,
unsigned short &  len,
unsigned char *  src,
unsigned short  srclen
[inline, virtual]
 

Implements CExpander_Interface.

Definition at line 112 of file ebookcodec.h.

References codec, and CExpander::setSaveData().

void ebookcodec::setwidth int  w  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 115 of file ebookcodec.h.

References codec, and CExpander::setwidth().

void ebookcodec::sizes unsigned long &  file,
unsigned long &  text
[inline, virtual]
 

Implements CExpander_Interface.

Definition at line 95 of file ebookcodec.h.

References codec, and CExpander::sizes().

void ebookcodec::start2endSection  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 110 of file ebookcodec.h.

References codec, and CExpander::start2endSection().

unsigned long ebookcodec::startSection  )  [inline, virtual]
 

Implements CExpander_Interface.

Definition at line 116 of file ebookcodec.h.

References codec, and CExpander::startSection().

void ebookcodec::writeposn size_t  posn  )  [inline, virtual]
 

Reimplemented from CExpander_Interface.

Definition at line 106 of file ebookcodec.h.

References codec, and CExpander::writeposn().


Member Data Documentation

CExpander* ebookcodec::codec [private]
 

Definition at line 14 of file ebookcodec.h.

Referenced by about(), back(), ebookcodec(), endSection(), findanchor(), forward(), getbkmklist(), getch(), getFile(), getHome(), getPicture(), getTableAsHtml(), getwidth(), hasnavigation(), hasrandomaccess(), hyperlink(), locate(), openfile(), PreferredMarkup(), putSaveData(), saveposn(), setContinuous(), setSaveData(), setwidth(), sizes(), start2endSection(), startSection(), writeposn(), and ~ebookcodec().

void* ebookcodec::handle [private]
 

Definition at line 15 of file ebookcodec.h.

Referenced by ebookcodec(), and ~ebookcodec().

int ebookcodec::status [private]
 

Definition at line 16 of file ebookcodec.h.

Referenced by ebookcodec(), and openfile().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:31:45 2005 for OPIE by  doxygen 1.4.2