• Post Reply Bookmark Topic Watch Topic
  • New Topic

BufferedWriter.write() formating  RSS feed

 
age spets
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Does anyone know how to do formatting on the text if you write it to a doc document. Its ok, if you write it to html, but if I want to write it as .doc and cant figure out how to get bold, colours, type of text and size on it. Everything becomes default.
Do I have to use a different method or is it possible using BufferedWriter to do this?
regards Age
 
Jeff Langr
author
Ranch Hand
Posts: 799
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to create a Microsoft Word document from Java?
I know of two options:
Jakarta POI--I'm not sure how far along this project is.
Another option would be to write to RTF format, which Word readily reads. Here's a spec document.
Good luck.
-Jeff-
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!