Learning Apache POI

Go To StackoverFlow.com

1

I am working on a project which requires manipulation of MS word document using Java. I have found that Apache POI is the best API to do that. But I could not properly understand the use of POI from this link . Also, I was not able to SVN check-out the source from here. Can anyone please help me with using POI or some sample code. Thanks.

EDIT: Can I edit an existing Word template document and replace the place holders with the text I want using POI?

2012-04-04 05:58
by Sunmit Girme
See also this example - trashgod 2012-04-04 06:07
possible duplicate http://stackoverflow.com/questions/2253779/learning-apache-poi-for-jav - Balaswamy Vaddeman 2012-04-04 06:09


13

1) You can download POI as a .zip or .tar.gz file (WinZip should understand both formats) here.

2) The Quick Guide is here.

3) This Quick Guide points to the unit tests, which make for excellent sample code.

4) Here's another good howto (it's for Excel, but applicable to Word).

2012-04-04 06:07
by paulsm4


8

You need busy developer's guide .

2012-04-04 06:02
by Jayan


2

Apache POI actually contains many APIs, each API provide ability to operate particular file. Manual of each API can be found at Apache POI, you can see a list of API at left which link to the individual pages. You can find quick guide in it.

Last, you can just download source distribution at download page.

2012-04-04 06:07
by Rangi Lin


1

Try this site: http://www.roseindia.net/java/poi/

It contains code samples.

2012-04-04 06:05
by Udi Cohen
roseIndia does not maintain standard example - Balaswamy Vaddeman 2012-04-04 06:08
Thank you. Can be helpful. - Sunmit Girme 2012-04-04 06:37
Ads