• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Create Word Document from simple java file  RSS feed

 
deepak kukreja
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends.
Could ne one tell me that how to create Word document from java file?
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mr. deepak,
Welcome to JavaRanch, the absolute best site on the www for Java information. We don't have many rules around here, but we do have one. Please change your display name to a first and last name to comply with the JavaRanch Naming Policy. You can change it here. Thank you for your cooperations.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Short answer: probably not.
Longer answer: try checking out Jakarta's POI project, specifically HDF.
 
Don Kiddick
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could create a text file and give it the .doc extension -> this would give you an unformatted word file. Alternatively you could look at the RTFEditorKit and try to use it to create a rich text format file which Word can read. Never done it so that's as much as I can help.
D.
 
deepak kukreja
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Don Kiddick
That worked for me.
Thanx for the help.
Deepak Nagpal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!