WP::Parser Class Reference
#include <parser.h>
Public Member Functions | |
| bool | parse (const TQString &filename) |
Static Public Member Functions | |
| static unsigned int | ExtCharToUnicode (int charset, int charcode) |
Public Attributes | |
| int | version |
| TQString | docTitle |
| TQString | docAuthor |
| TQString | docAbstract |
| TQPtrList< Token > | tokens |
| TQPtrList< Packet > | packets |
Detailed Description
This class implements a functional parser for WordPerfect documents.
- See also
- Token
Constructor & Destructor Documentation
◆ Parser()
| Parser::Parser | ( | ) |
Definition at line 92 of file parser.cpp.
Member Function Documentation
◆ ExtCharToUnicode()
|
static |
Maps WordPerfect extended character to its Unicode equivalent.
Supported character sets at the moment are Multinational (charset 1), Phonetic Symbol (charset 2), Typographic Symbol (charset 4), Iconic Symbol (charset 5), Math/Scientific (charset 6 and 7), Greek (charset 8), Hebrew (harset 9), and Cyrillic (charset 10)
Definition at line 1282 of file parser.cpp.
◆ parse()
| bool Parser::parse | ( | const TQString & | filename | ) |
Parses given filename.
- Returns
- true if parsing was successful, otherwise false.
Definition at line 99 of file parser.cpp.
Member Data Documentation
◆ docAbstract
◆ docAuthor
◆ docTitle
◆ packets
◆ tokens
◆ version
The documentation for this class was generated from the following files:
