On Fri, Aug 5, 2016 at 3:11 AM, Torsten Bonde Christiansen <t...@epidata.info>
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

Reply via email to