On Tuesday 14 October 2008 08:52:56 jbskaggs wrote: > In Gambas 2.5 I could not get .rtf files from Abi or Openoffice to load > into Textedit properly. But TextEdit loads HTML very nicely. > > Am I to assume that for rich text editing we are to use to HTML/XML format > and not the *.rtf format generated by word processors? > > If Textedit can properly read and parse *.rtf how do I set textedit to do > this? > > Because for now it displays all the style settings etc as text. > > For th time being I am using the html/xml format, but RTF would seem a > better option. > > Thoughts anyone? > > JB
TextEdit can only do html, unless of course you convert the .rtf to html on the fly yourself. As a rudimentary word processor it works quite well using html, I use it extensively in my program, and just save my letters etc as html, which has the added advantage I can use the khtml (konqueror) control to re-display them. The only annoyance I find is that one has to use ctrl-enter to get a new line without a <P> character, but I've successfully been able to embed pictures and save everything back to postres. Regards Richard ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user