Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am trying to create Word document using java. most of the forums refers docx4j.jar (apache poi). But in that library file does't having some functions or methods like WordprocessingMLPackage(),getMainDocumentPart(). Anyone can tel the way to create word document using Java.

Any answer could be appreciated..

thanks in advance

kumar
Posted

As far as I know, manipulations with Word documents are included as a part of OpenOffice UNO (Universal Network Object), Java binding is available. (After all, the OpenOffice application can work with all version of Microsoft Word documents, and the product is Open Source.)



See:
http://en.wikipedia.org/wiki/OpenOffice.org[^],
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide[^].



There is a number of commercial products, you can Google to find them.

—SA
 
Share this answer
 
Comments
Espen Harlinn 4-Jan-12 16:28pm    
5'ed!
Sergey Alexandrovich Kryukov 4-Jan-12 18:50pm    
Thank you, Espen.
--SA
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Jan-12 18:51pm    
My 5.
--SA
RaviRanjanKr 5-Jan-12 8:09am    
Thanks SA :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900