Thanks Francois,

I have put off using TWord stuff so far, and this solves my problem for now,
so I guess I will keep putting off that approach for now.  But thanks for
the suggestion - I was considering going that way, and will next time.  

-Rich
 
Sincerely,
Rich Cooper
EnglishLogicKernel.com
Rich AT EnglishLogicKernel DOT com
9 4 9 \ 5 2 5 - 5 7 1 2
-----Original Message-----
From: delphi-talk-boun...@elists.org [mailto:delphi-talk-boun...@elists.org]
On Behalf Of Francois PIETTE
Sent: Saturday, February 26, 2011 10:49 PM
To: Delphi-Talk Discussion List
Subject: Re: How to generate PDFs with tables...

> I figured out how to generate an HTML document from the rich edit cells, 
> and
> put a <font .. > ... </font> around it to make the highlighting work.  It
>  takes up a lot of space, probably more than the PDF will take, but I am 
> also
> able to open it with Word, and then save it as a *.doc file.  That takes
> care of the basic issues, so I can drop the PDF since it seems much harder
> to work with.

So your real problem is to create a word document, right ?
It is easy to call word directly from Delphi. You have everything you need 
to create a Word document directly by instructing word to do everything like

you would have done manually. It is very easy to use.
Look at TWordDocument and TWordApplication components. You'll find a lot of 
articles by searching with Google.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to