Re: [fpc-pascal] RTF writer

2016-08-05 Thread Dmitry Boyarintsev
On Fri, Aug 5, 2016 at 3:11 AM, Torsten Bonde Christiansen 
wrote:

> I am looking for at component that can write RTF format, preferably like
> the TRichMemo:
>
> http://wiki.lazarus.freepascal.org/RichMemo
>
> but without the need for LCL.
>
> In fpc 3.0 there is a RTF reader, but i have not been able to find a
> writer.
>

If nothing comes up, you could RichMemo sources as a starting point.
Look at richmemortf.pas specifically for IntSaveStream.
It accepts TRIchMemo component but only as a source of text+styles
information and could be replaced easily with your source of text+style.
The rest of the code is non rich memo specific

thanks,
Dmitry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] RTF writer

2016-08-05 Thread Torsten Bonde Christiansen

Hi List.

I am looking for at component that can write RTF format, preferably like 
the TRichMemo:


http://wiki.lazarus.freepascal.org/RichMemo

but without the need for LCL.

In fpc 3.0 there is a RTF reader, but i have not been able to find a writer.

Kind regards,
Torsten

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal