0

I need to open a word doc template from a java application
and i also need to dynamically update the fields
in the template with some values from the java application..
Can anybody help me????......

Thanks in advance..........

3
Contributors
3
Replies
5
Views
12 Years
Discussion Span
Last Post by tigerxx
0

Opening the document is the easy part, it's just a file after all ;)

Interpreting it is hard. There's a library by the Apache group (Jakarta project) which offers partial capabilities to read and write Word documents http://jakarta.apache.org/poi/index.html but if that is not enough you're pretty much on your own (I think they'd be happy to accept contributions towards completing their work).

0

hmmm. I think when you name your fields you want to fill like this "<[(myfield1)]>" etc you have a great chance to fill your document without any word interpreter. Only stupid string-replacement. Try it.

Its interessting wether it works for me, too.

Let me know.

Greetings from Germany

Ben

0

hmmm. I think when you name your fields you want to fill like this "<[(myfield1)]>" etc you have a great chance to fill your document without any word interpreter. Only stupid string-replacement. Try it.

Its interessting wether it works for me, too.

Let me know.

Greetings from Germany

Ben

no u misunderstood i wann to create some template and fill
them with correct data ..............

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.