Scribus
Open source desktop publishing at your fingertips
HTMLReader Class Reference

Parse and import a HTML file. Supported tags: P, CENTER, BR, A, UL, OL, LI, H1, H2, H3, H4, B, STRONG, I, EM, CODE, BODY, PRE, IMG, SUB, SUP, DEL, INS, U, DIV. More...

#include <htmlreader.h>

Public Member Functions

 HTMLReader (gtParagraphStyle *ps, gtWriter *w, bool textOnly)
 
void parse (QString filename)
 
bool startElement (const QString &, const QString &, const QString &name, const QXmlAttributes &attrs)
 
bool endElement (const QString &, const QString &, const QString &name)
 
bool characters (const QString &ch)
 

Static Public Member Functions

static void startElement (void *user_data, const xmlChar *fullname, const xmlChar **atts)
 
static void endElement (void *user_data, const xmlChar *name)
 
static void characters (void *user_data, const xmlChar *ch, int len)
 

Detailed Description

Parse and import a HTML file. Supported tags: P, CENTER, BR, A, UL, OL, LI, H1, H2, H3, H4, B, STRONG, I, EM, CODE, BODY, PRE, IMG, SUB, SUP, DEL, INS, U, DIV.


The documentation for this class was generated from the following files: