You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/07/14 00:38:05 UTC

DO NOT REPLY [Bug 47523] New: Cannot open output with MS Word

https://issues.apache.org/bugzilla/show_bug.cgi?id=47523

           Summary: Cannot open output with MS Word
           Product: POI
           Version: 3.5-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P1
         Component: HWPF
        AssignedTo: dev@poi.apache.org
        ReportedBy: skaredla@yahoo.com
                CC: skaredla@yahoo.com


I am trying to use HWPFDocument Java class to read/write a simple Word
document. After writing with the HWPFDocument.write(OutputStream) method the
word doc is unreadable by MS Word. It is just hanging there and not able to
open the output file.

This is how I am writing the doc:

        HWPFDocument doc = new HWPFDocument(new FileInputStream(inputFile));
        FileOutputStream fos = new FileOutputStream(outputFile);
        doc.write(fos);
        fos.flush();
        fos.close();


Any help with this is greatly appreciated.
Can someone help me with this issue? I saw a similar issue in bugzilla with
number #44431. Is there any resolution or workaround for this problem?

Please help.

Thanks
Srinivas

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 47523] Cannot open output with MS Word

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47523

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2011-06-25 12:38:38 UTC ---
Please attach the problematic file, without it we can't do much to help you.

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org