From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,666bab5bfbdf30c2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,CP1252 Path: g2news2.google.com!postnews.google.com!n10g2000yqd.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: Generating PDFs with Ada Date: Wed, 12 Jan 2011 01:44:46 -0800 (PST) Organization: http://groups.google.com Message-ID: <229d8cdb-4055-46a8-b415-47b37e0f04f9@n10g2000yqd.googlegroups.com> References: <4d2908c7$0$22120$742ec2ed@news.sonic.net> <9f23e50a-2c2c-4ccc-bd56-f6ffdc6c7ee7@37g2000prx.googlegroups.com> <82aaj73jsr.fsf@stephe-leake.org> NNTP-Posting-Host: 20.133.0.13 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1294825486 23613 127.0.0.1 (12 Jan 2011 09:44:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 12 Jan 2011 09:44:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n10g2000yqd.googlegroups.com; posting-host=20.133.0.13; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:17361 Date: 2011-01-12T01:44:46-08:00 List-Id: On Jan 12, 9:00=A0am, Maciej Sobczak wrote: > On Jan 11, 9:51=A0am, Stephen Leake > wrote: > > > > As long as we're on sort of a similar subject, I've wondered several > > > times if there are Ada libraries for creating Microsoft Word > > > documents. > > > I hope not :) > > Without getting involved into the discussion that follows, I would > propose everybody to read this: > > http://www.joelonsoftware.com/items/2008/02/19.html > > The most important part starts with "Let Office do the heavy work for > you", but the whole article is worth reading. I especially liked this bit: "If you really want to generate fancy formatted Word documents, your best bet is to create an RTF document. Everything that Word can do can be expressed in RTF, but it=92s a text format, not binary, so you can change things in the RTF document and it=92ll still work. You can create a nicely formatted document with placeholders in Word, save as RTF, and then using simple text substitution, replace the placeholders on the fly. Now you have an RTF document that every version of Word will open happily."