(CLOSED!) HTML parser in QTextDocument



  • Hi there,

    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;@

    to
    @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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.