Hi everyone,

      I am reading a word file and writing into another file.
      I am using following code

      FileOutputStream stream = new
FileOutputStream("D:\\testWord\\test.doc");
      HWPFDocument doc = new HWPFDocument(new
FileInputStream("D:\\testWord\\report.doc"));
      doc.write(stream);

     what i want is after reading the file how i put all those read data
into JEditor.
    I tried without success.

    Actually my purpose is opening doc file if system is not having MSoffice
tools.  
    After opening i have to paste the content in any editor.

Please help me how can i do that.

 
-- 
View this message in context: 
http://www.nabble.com/How-open-Doc-files-in-MyEditor-tp19991351p19991351.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to