[fpc-pascal] RTF writer

Dmitry Boyarintsev skalogryz.lists at gmail.com
Fri Aug 5 14:00:41 CEST 2016


On Fri, Aug 5, 2016 at 3:11 AM, Torsten Bonde Christiansen <tc at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160805/afc912b1/attachment.html>


More information about the fpc-pascal mailing list