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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6071f84396b8f5aa X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.204.156.155 with SMTP id x27mr46684bkw.7.1318841073331; Mon, 17 Oct 2011 01:44:33 -0700 (PDT) Path: l23ni9217bkv.0!nntp.google.com!news2.google.com!postnews.google.com!v8g2000vbe.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: Writing PDF files Date: Mon, 17 Oct 2011 01:44:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 206.122.158.4 Mime-Version: 1.0 X-Trace: posting.google.com 1318841073 13348 127.0.0.1 (17 Oct 2011 08:44:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 17 Oct 2011 08:44:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v8g2000vbe.googlegroups.com; posting-host=206.122.158.4; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKUARELSC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1,gzip(gfe) Xref: news2.google.com comp.lang.ada:14003 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2011-10-17T01:44:32-07:00 List-Id: On Oct 17, 4:31=A0am, Bill Findlay wrote: > I'd be happy to write my own similar package, if I could find PDF > documentation that did not threaten to make my head explode. > Existing Ada code (or even C, at a pinch) might serve that purpose. Hi Bill, I am often tempted to begin one in the same fashion as Excel Writer ( http://excel-writer.sourceforge.net/ ). But probably you'll be faster... The ingredients: - a documentation, like from OpenOffice - a small existing code in whatever language - stick to a version of PDF where things were simple - begin to implement only what you need (don't expect to be ever complete anyway, and contributions will come naturally!) With that you can get a nice PDF Writer in ~10 hours. If you re-use the type system of Excel Writer with streams, etc. it will be even faster. Have fun! ___________________________________________________________________________= ___ Gautier's Ada programming -- http://gautiersblog.blogspot.com/search/label/= Ada NB: follow the above link for a valid e-mail address