(CLOSED!) HTML parser in QTextDocument
QTextDocument has a private class QTextHtmlParser where the contents of the html source is changed to whatever is needed to put the rich text contents on the screen.
I want to change some values in the parser, for example Html_ul:
@listStyle = QTextListFormat::ListDisc;@
@listStyle = QTextListFormat();@
I have tried to rebuild QTextDocument, first without making extra changes, just changing names as to make it different from the original QTextDocument, but I can't seem to build QTextDocument without changing a lot of other classes.
Is there a way to implement new parser in QTextDocument?