Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
(CLOSED!) HTML parser in QTextDocument
Jan-Willem last edited by
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?