filters

WP::Parser Class Reference

#include <parser.h>

Inheritance diagram for WP::Parser:

WP::KWordFilter List of all members.

Detailed Description

This class implements a functional parser for WordPerfect documents.

Author:
Ariya Hidayat
See also:
Token

Definition at line 165 of file parser.h.


Public Member Functions

 Parser ()
bool parse (const QString &filename)

Static Public Member Functions

static unsigned int ExtCharToUnicode (int charset, int charcode)

Public Attributes

int version
QString docTitle
QString docAuthor
QString docAbstract
QPtrList< Tokentokens
QPtrList< Packetpackets

Member Function Documentation

unsigned Parser::ExtCharToUnicode ( int  charset,
int  charcode 
) [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.

bool Parser::parse ( const QString &  filename  ) 

Parses given filename.

Returns:
TRUE if parsing was successful, otherwise FALSE.

Reimplemented in WP::KWordFilter.

Definition at line 99 of file parser.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys