Re: Creating PDF from MS Word Document
Re: Creating PDF from MS Word Document
- Subject: Re: Creating PDF from MS Word Document
- From: Ondra Cada <email@hidden>
- Date: Wed, 18 May 2005 01:11:27 +0200
Albert,
On 18.5.2005, at 0:53, Sacha Mallais wrote:
Without getting into too many details I have the need to generate
PDF documents from MS Word documents. There are thousands of Word
documents and some change very frequently, yet only a few are
accessed from the web on any given day. What I am looking for is
a method using a WebObjects application to convert the document to
a PDF on the fly when a user requests the document from the web.
Does anyone have a suggestion on how to accomplish this using a
WebObjects application deployed on a Mac OS X server (Panther). I
am wondering if I installed Word on the server if I could just
script something to generate the PDF, it would need to run as the
WO application user and run headless. In my searching I have only
found windows based solutions, or converters that strip out the
formatting. Has anyone ever done anything like this with
WebObjects on Mac OS X, or have any suggestions.
In theory, you could use AppleScript to print the MeSsWord document
to PDF on OS X from the GUI.
As for using Java to convert MSWord to PDF, good luck: the format
is undocumented, so the best company to do it would be MS
themselves, but given their stance on Java, I wouldn't hold my
breath for that.
If it so happens the Cocoa support for Word formatting is sufficient
for your needs (that is what TextEdit can do with a DOC), it is
pretty easy to make a simple commandline tool to be called from the
WO application.
Otherwise, I guess controlling Word through AppleScript would indeed
be the best option.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden