File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes generating word document using java??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "generating word document using java???" Watch "generating word document using java???" New topic

generating word document using java???

Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hello guys.. I've got a question.
I have a "template" word document that must be customized according to the user's requirements.
The word document contains fields that need to be accommodate, for example:
Loan amount <<credit_amount_field>>
The amount of cretid to you,
<<middle1>> <<surname>>
something like this.
does anyone how to create a java class that takes up this document and adapt it creating the m$$ document??
thanks in advance

I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
hmm. Looks like the POI word subproject hasn't gotten too far yet. They may someday.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
I think you are better off doing something like that using MS Tools. The fact is that MS can change their Word document format any time they feel like it and your program will fail.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
hhmm... so I guess this means that I should learn visual basic...
I agree. Here's the link:
subject: generating word document using java???
It's not a secret anymore!