Group:  Microsoft Word ยป microsoft.public.word.oleinterop
Thread: Automation

Geek News

Automation
Dan Oren 5/6/2007 12:04:02 PM
Hi,

Is there away to do Word automation on a machine that does not have Office
installation ?
I want to generate a word document without enforcing the user to have Office
installation on the machine the document is generated on it, is it possible
and if so - Should i install some Dlls that will enable me to do so on the
user machine?

10'X
Dan Oren
Re: Automation
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 5/6/2007 3:04:49 PM
Not possible

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Dan Oren" <Dan Oren[ at ]discussions.microsoft.com> wrote in message
news:79CFF97B-FC56-4600-9145-558A3E843AA7[ at ]microsoft.com...
[Quoted Text]
> Hi,
>
> Is there away to do Word automation on a machine that does not have Office
> installation ?
> I want to generate a word document without enforcing the user to have
> Office
> installation on the machine the document is generated on it, is it
> possible
> and if so - Should i install some Dlls that will enable me to do so on the
> user machine?
>
> 10'X
> Dan Oren


Re: Automation
nagoff <nagoff[ at ]gmail.com> 5/29/2007 4:42:50 PM
Doug Robbins - Word MVP wrote:
[Quoted Text]
> Not possible
>

Not quite impossibe, but at the very least tricky:

Jakarta POI offers a pure java API called HWPF for reading/editing word
documents:

http://jakarta.apache.org/poi/hwpf/index.html

HWPF appears unable to create a new document from scratch, but you can
take an empty document, edit it and then write it out to a new file
which achieves moreor less the same thing. The API is pretty basic but
has worked for me on simple tasks before. The HWPF project seems to have
stagnated recently though, so I'd be wary of using it as the base of
anything large and/or mission critical.

Alternatively, I believe you can use OpenOffice's UNO API to perform
Word automation without Word. I've never tried this approach and would
be interested to hear how it turns out if you try it.

http://udk.openoffice.org/

Nagoff


Re: Automation
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 5/29/2007 9:09:47 PM
I said ''Not Possible" because I am particularly wary of saying that
something is "Impossible" though, I guess I am not sure of the difference
<G>.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"nagoff" <nagoff[ at ]gmail.com> wrote in message
news:eKY6i.2874$E9.1428[ at ]newsfe6-gui.ntli.net...
[Quoted Text]
> Doug Robbins - Word MVP wrote:
>> Not possible
>>
>
> Not quite impossibe, but at the very least tricky:
>
> Jakarta POI offers a pure java API called HWPF for reading/editing word
> documents:
>
> http://jakarta.apache.org/poi/hwpf/index.html
>
> HWPF appears unable to create a new document from scratch, but you can
> take an empty document, edit it and then write it out to a new file which
> achieves moreor less the same thing. The API is pretty basic but has
> worked for me on simple tasks before. The HWPF project seems to have
> stagnated recently though, so I'd be wary of using it as the base of
> anything large and/or mission critical.
>
> Alternatively, I believe you can use OpenOffice's UNO API to perform Word
> automation without Word. I've never tried this approach and would be
> interested to hear how it turns out if you try it.
>
> http://udk.openoffice.org/
>
> Nagoff
>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net