comp.lang.ada
 help / color / mirror / Atom feed
* convert Word to PDF via GNATCOM
@ 2006-02-12 14:21 Stephen Leake
  2006-02-12 17:21 ` Jeffrey Creem
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Stephen Leake @ 2006-02-12 14:21 UTC (permalink / raw)


I have several Microsoft Word documents that are updated occasionally,
and I'd like to automate converting them to PDF for publication on a
Web page. (Yes, I'd rather they were in LaTeX or some other source,
but I'm stuck with MS Word for now).

I have Adobe Acrobat installed. It adds a button to Word that does the
conversion nicely. 

I'd like to use Gnu make to automate things, but I'm open to other
suggestions.

I don't know how to invoke a Word button (or the underlying macro)
from a command line. 

So I'm trying to use GNATCOM to generate a binding, and write a simple
Ada main that invokes the Word macro that does the PDF conversion.

I've run bindcom on MSWORD.TLB, and generated lots of Ada code, but I
don't see anything that looks like "call a macro".

Any suggestions?

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-14  3:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-12 14:21 convert Word to PDF via GNATCOM Stephen Leake
2006-02-12 17:21 ` Jeffrey Creem
2006-02-12 17:42 ` Pascal Obry
2006-02-13  9:16 ` Rod Chapman
2006-02-14  3:06   ` Stephen Leake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox