I want to parse HTML String in Qt,
basically i have QTextEdit object (allowed rich text), and when some body paste Rich text (copied from MSWORD or similar) in QTextEdit, i want to have the style information.
I have my own structure to store the style imformation as below. can anyone tell me how can i parse HTML after i get the html from QTextEdit?
any existing method?,
P.S : i am using QT version 4.1.4 (due to project reason) so i can't use QT classes added after 4.1.4.
Thanks in advance.
typedef struct styleset {
QString font;
QString size;
bool bold;
bool italics;
bool underline;
QString color;
}STYLESET;