Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get RTF String from editor
I try to create a rich text editor. I have to get string in Rich Text format but QTextBrowser provides only
plainText or HTML. Does a way exist to get RTF string or must I convert HTML to RTF ?
Sorry for my horrible english
What do you mean by RTF ?
The html format you get back is RTF
but its not ms RTF from 1987
The RTF used is
I use the library teigha to manipulate dwg file.
In dwg text entities are unfortunately coded in RTF.
So to create these entities I'm make a text editor.
oh dwg. cool.
Well how much RTF does the text fields understand?
The text object is filled with a RTF string.
This string can contains info about color, font (bold italic underlined family etc.)
Maybe you ccan re-use a parser and add support to QTextBrowser .
It sounds like its the good old RTF so its other format.