23#include <tqvaluelist.h>
30 bool bold, italic, underline;
31 enum { Normal, Big, Small } fontsize;
34 WMLFormat( const WMLFormat& );
35 WMLFormat& operator= ( const WMLFormat& );
36 void assign( const WMLFormat& );
42 enum { Left, Center, Right } align;
44 WMLLayout( const WMLLayout& );
45 WMLLayout& operator=( const WMLLayout& );
46 void assign( const WMLLayout& );
49typedef TQValueList<WMLFormat> WMLFormatList;
55 virtual ~WMLParser(){};
56 virtual void parse( const char* filename );
58 virtual bool doOpenDocument();
59 virtual bool doCloseDocument();
60 virtual bool doOpenCard( TQString id, TQString title );
61 virtual bool doCloseCard();
62 virtual bool doParagraph( TQString, WMLFormatList, WMLLayout );
63 virtual bool doBeginTable();
64 virtual bool doTableCell( unsigned row, unsigned col );
65 virtual bool doEndTable();
|