Thanks Bart,

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.  

I appreciate the suggestions,
-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 Barton Bresnik
Sent: Saturday, February 26, 2011 5:48 PM
To: delphi-talk@elists.org
Subject: Re: How to generate PDFs with tables...

Rich,
You might try a two-step process:
1. Copy tables and other text to a MS Word COM object. Word has many VBA
methods to help do so. Perhaps Open Office or Libre Office offer similar
options.
2. Print the Word document as PDF using a tool such as PDF Creator (but
beware malware browser add-ins in the installation dialogs).
Bart
--- On Fri, 2/25/11, Rich Cooper wrote:
Hi Delphians,

Using D7, I once found a tutorial on the web re using Adobe PDF component
TAdobePDF to generate a document.  Now, with all the ads on Google, I can
only find the ads, not the good stuff like that old tutorial I once found.

I iterate through a table, with each cell presently represented in
TRichEdits.  There are several fonts used, including various colors of text,
in the table I want to create as a PDF.  

Does anyone have a good link for tutorials on how to generate a PDF document
with the text from a TRichEdit, and to create tables, like in Word, to hold
the cells, each containing a TRichEdit text blob?

TIA,
-Rich
 
Sincerely,
Rich Cooper
EnglishLogicKernel.com
Rich AT EnglishLogicKernel DOT com
9 4 9 \ 5 2 5 - 5 7 1 2


      
__________________________________________________
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