Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Is there any API in java to dynamically generate a word document.

  Asked By: Trupti    Date: Oct 17    Category: Java    Views: 993
  

Is there any API in java to dynamically generate a word document.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Josie Roberts     Answered On: Oct 17

I am fairly new java  Technology, but I will try to help.

I did not find a direct creation mechanism for a word  document in the API's, but
I did finf the Class RTFEditorKit.

java.lang.Object
javax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyleEditorKit
javax.swing.text.rtf.RTFEditorKit

I think that this will give you a lot of Inner classes to use which could be
used to dynamically  create an RTF document  that Microsoft word editors could
then open.

 




Tagged: