[Interest] MS RTF

Lucas.Betschart at crypto.ch Lucas.Betschart at crypto.ch
Fri Mar 2 16:12:41 CET 2012


Thank you both for the hints.

I looked at RTF-Qt. It seems that there is no documentation for it, but it might have everything I need.
Calligra also uses RTF-Qt.

I will try it with that. 

-----Ursprüngliche Nachricht-----
Von: Boudewijn Rempt [mailto:boud at valdyas.org] 
Gesendet: Freitag, 2. März 2012 12:55
An: Betschart Lucas
Cc: interest at qt-project.org
Betreff: Re: [Interest] MS RTF

On Fri, 2 Mar 2012, Lucas.Betschart at crypto.ch wrote:

> Hello
>
> I'm looking for a way to display & write MS RTF in a Qt Widget.
> I already googled for that and it seems that there is no build in Qt Widget that can handle this.
>
> I know HTML/XML would be better then MS RTF, but my tool has to be compatible to an older program which is written in VS C++ and uses RTF (and the RTF toolbar similar to the one in MS WordPad).
>
> So what I need is a widget and a toolbar similar to MS WordPad.
> What I have to do is:
>
> Write formated text -> convert to MS RTF -> send Receive MS RTF 
> formated text -> show in Qt App (read only)
>
> Does somebody know a library or so to do this? It should be platform independent too..
>

Hi Lukas,

Depending on how complex your needs are you could consider using the qt-rtf library (https://launchpad.net/rtf-qt), or maybe even embed something like calligra words (http://www.calligra.org).

Boudewijn



More information about the Interest mailing list