[Gambas-user] Html versus RTF format in TextEdit
richard terry
rterry at ...1946...
Tue Oct 14 03:00:36 CEST 2008
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
More information about the User
mailing list