>I don't know about th XML format, but here is how I get HTML from the 
>widget:


>  my $buffer = $richtext->GetBuffer;
>  open(my $fh, '>', \my $html) || die 'cannot open';
>   my $html_handler = Wx::RichTextHTMLHandler->new;
>  $html_handler->SaveFile($buffer, $fh);

Hi Jiri

That looks great.  I'd rather use HTML anyway as it's more "industry
standard".

Can you do a "LoadFile" too?  There seems to be a "Wx::RichTextHTMLHandler"
with DoSaveFile and DoLoadFile.

Have a good day.

Regards

Steve.

Reply via email to