#include </home/clem/local/src/opie/noncore/apps/opie-reader/striphtml.h>
Inheritance diagram for striphtml:


Public Member Functions | |
| QString | about () |
| striphtml (const QString &) | |
| ~striphtml () | |
| void | getch (tchar &ch, CStyle &sty, unsigned long &pos) |
| virtual linkType | hyperlink (unsigned int n, unsigned int noff, QString &w, QString &nm) |
| bool | findanchor (const QString &) |
| void | saveposn (const QString &f, size_t posn) |
| void | writeposn (const QString &f, size_t posn) |
| linkType | forward (QString &f, size_t &loc) |
| linkType | back (QString &f, size_t &loc) |
| bool | hasnavigation () |
| virtual void | locate (unsigned int n) |
| void | setchm (bool _b) |
| QString | getTableAsHtml (unsigned long loc) |
Private Member Functions | |
| void | reset () |
| unsigned short | skip_ws () |
| unsigned short | skip_ws_end () |
| unsigned short | skip_ws_end (unsigned long &) |
| unsigned short | parse_m () |
| void | mygetch (tchar &ch, CStyle &sty, unsigned long &pos) |
| void | initentmap () |
| QString | getname (tchar &ch, const QString &nd) |
| void | skipblock (const QString &) |
| QString | getattr (tchar &) |
| QString | dehtml (const QString &_info) |
| void | parse_paragraph (CStyle ¤tstyle, tchar &ch, unsigned long) |
| int | getpara (CBuffer &, unsigned long &) |
Private Attributes | |
| bool | ignorespace |
| bool | m_bchm |
| int | tablenesteddepth |
| CList< CStyle > | stylestack |
| QMap< QString, tchar > * | entmap |
| CStyle | currentstyle |
| bool | isPre |
| QMap< QString, unsigned long > * | href2filepos |
| QMap< unsigned long, QString > * | id2href |
| unsigned long | currentid |
| tchar | lastch |
| QString | currentfile |
| QString | q |
| bool | forcecentre |
| bool | m_inblock |
| QString | text_q |
| int | indent |
| int | m_listtype [m_cmaxdepth] |
| int | m_ctr [m_cmaxdepth] |
Static Private Attributes | |
| static CNavigation_base< htmlmark > | m_nav |
|
|
Definition at line 312 of file striphtml.cpp. References href2filepos, and id2href. |
|
|
Definition at line 318 of file striphtml.cpp. References entmap, href2filepos, id2href, and NULL. |
|
|
Implements CCharacterSource. Definition at line 45 of file striphtml.h. References CCharacterSource::about(), and CFilter::parent. |
|
||||||||||||
|
Reimplemented from CFilter. Definition at line 73 of file striphtml.h. References CNavigation_base< T >::back(), eFile, eLink, eNone, htmlmark::filename(), m_nav, and htmlmark::posn(). |
|
|
Definition at line 207 of file striphtml.cpp. References i. Referenced by hyperlink(). |
|
|
Reimplemented from CFilter. Definition at line 239 of file striphtml.cpp. References CBufferFace< T >::data(), QRegExp::escape(), CCharacterSource::findanchor(), getpara(), i, id, QString::length(), locate(), CCharacterSource::locate(), match(), QRegExp::match(), name, CFilter::parent, pos, qDebug(), reset(), and CCharacterSource::startSection(). Referenced by hyperlink(). |
|
||||||||||||
|
Reimplemented from CFilter. Definition at line 55 of file striphtml.h. References eFile, eLink, eNone, htmlmark::filename(), CNavigation_base< T >::forward(), m_nav, and htmlmark::posn(). |
|
|
Definition at line 424 of file striphtml.cpp. References getname(), mygetch(), pos, and skip_ws(). Referenced by getch(), and parse_paragraph(). |
|
||||||||||||||||
|
||||||||||||
|
Definition at line 402 of file striphtml.cpp. References QString::find(), QString::length(), mygetch(), and UEOF. Referenced by getattr(), getch(), getpara(), parse_paragraph(), and skipblock(). |
|
||||||||||||
|
Definition at line 112 of file striphtml.cpp. References CCharacterSource::getch(), getname(), i, isPre, QString::length(), locate(), QString::lower(), CFilter::parent, pos, skip_ws(), and UEOF. Referenced by findanchor(). |
|
|
Reimplemented from CFilter. Definition at line 1372 of file striphtml.cpp. References depth, CCharacterSource::getch(), QString::length(), locate(), QChar::lower(), CFilter::parent, pos, qDebug(), and UEOF. |
|
|
Reimplemented from CFilter. Definition at line 91 of file striphtml.h. |
|
||||||||||||||||||||
|
Reimplemented from CFilter. Definition at line 454 of file striphtml.cpp. References QFileInfo::absFilePath(), CNavigation_base< T >::back(), currentfile, dehtml(), QFileInfo::dir(), eFile, eLink, QMap< Key, T >::end(), eNone, QFileInfo::exists(), f, htmlmark::filename(), QMap< Key, T >::find(), findanchor(), CCharacterSource::findanchor(), href2filepos, id2href, loc, locate(), m_bchm, m_nav, name, CFilter::parent, htmlmark::posn(), qDebug(), and reset(). |
|
|
Definition at line 325 of file striphtml.cpp. References QFileInfo::absFilePath(), data, entmap, QTextStream::eof(), QFileInfo::exists(), QString::find(), IO_ReadOnly, QString::left(), QString::length(), QFile::open(), QTextStream::readLine(), QString::right(), QFileInfo::setFile(), t, and QString::toInt(). Referenced by getch(). |
|
|
Reimplemented from CFilter. Definition at line 105 of file striphtml.cpp. References CCharacterSource::locate(), CFilter::parent, qDebug(), and reset(). Referenced by findanchor(), getpara(), getTableAsHtml(), and hyperlink(). |
|
||||||||||||||||
|
Definition at line 580 of file striphtml.cpp. References CCharacterSource::getch(), QString::isEmpty(), isPre, QString::length(), m_inblock, CFilter::parent, QString::right(), text_q, and QString::unicode(). Referenced by getattr(), getch(), getname(), skip_ws(), skip_ws_end(), and skipblock(). |
|
|
|
|
||||||||||||||||
|
Definition at line 629 of file striphtml.cpp. References CList< T >::first(), forcecentre, g, getattr(), getname(), CList< T >::isEmpty(), parse_color(), qDebug(), CStyle::setCentreJustify(), CStyle::setColour(), CStyle::setFullJustify(), CStyle::setPaper(), CStyle::setRightJustify(), skip_ws(), stylestack, UEOF, and CStyle::unset(). Referenced by getch(). |
|
|
Definition at line 92 of file striphtml.cpp. References currentstyle, forcecentre, ignorespace, indent, CList< T >::isEmpty(), m_inblock, CList< T >::pop(), q, stylestack, tablenesteddepth, text_q, and CStyle::unset(). Referenced by findanchor(), hyperlink(), and locate(). |
|
||||||||||||
|
Reimplemented from CFilter. Definition at line 53 of file striphtml.h. References m_nav, and CNavigation_base< T >::saveposn(). |
|
|
Definition at line 93 of file striphtml.h. References m_bchm. Referenced by QTReader::getfilter(). |
|
|
Definition at line 371 of file striphtml.cpp. References mygetch(), and UEOF. Referenced by getattr(), getch(), getpara(), parse_paragraph(), and skipblock(). |
|
|
Definition at line 390 of file striphtml.cpp. |
|
|
Definition at line 384 of file striphtml.cpp. Referenced by getch(). |
|
|
Definition at line 72 of file striphtml.cpp. References getname(), mygetch(), pos, qDebug(), skip_ws(), and UEOF. Referenced by getch(). |
|
||||||||||||
|
Reimplemented from CFilter. Definition at line 54 of file striphtml.h. References m_nav, and CNavigation_base< T >::writeposn(). |
|
|
Definition at line 29 of file striphtml.h. Referenced by getch(), and hyperlink(). |
|
|
Definition at line 27 of file striphtml.h. Referenced by getch(). |
|
|
Definition at line 19 of file striphtml.h. |
|
|
Definition at line 18 of file striphtml.h. Referenced by getch(), initentmap(), and ~striphtml(). |
|
|
Definition at line 31 of file striphtml.h. Referenced by getch(), parse_paragraph(), and reset(). |
|
|
Definition at line 25 of file striphtml.h. Referenced by hyperlink(), striphtml(), and ~striphtml(). |
|
|
Definition at line 26 of file striphtml.h. Referenced by hyperlink(), striphtml(), and ~striphtml(). |
|
|
Definition at line 13 of file striphtml.h. |
|
|
Definition at line 33 of file striphtml.h. |
|
|
Definition at line 20 of file striphtml.h. |
|
|
Definition at line 28 of file striphtml.h. Referenced by getch(). |
|
|
Definition at line 14 of file striphtml.h. Referenced by hyperlink(), and setchm(). |
|
|
Definition at line 35 of file striphtml.h. Referenced by getch(). |
|
|
Definition at line 31 of file striphtml.h. |
|
|
Definition at line 34 of file striphtml.h. Referenced by getch(). |
|
|
Definition at line 70 of file striphtml.cpp. Referenced by back(), forward(), hyperlink(), saveposn(), and writeposn(). |
|
|
Definition at line 30 of file striphtml.h. |
|
|
Definition at line 16 of file striphtml.h. Referenced by getch(), parse_paragraph(), and reset(). |
|
|
Definition at line 15 of file striphtml.h. |
|
|
Definition at line 32 of file striphtml.h. |
1.4.2