DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22014>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22014

wordDocument.writeAllText() return null





------- Additional Comments From [EMAIL PROTECTED]  2003-07-31 09:49 -------
Bellow is a method that could be use to replicate the condition


public String convertToText(String theWordDoc) throws java.lang.Exception {
        StringWriter out=null;
        String result=null;
        
        try {
            wordDocument=new WordDocument(theWordDoc);
            out=new StringWriter();
            wordDocument.writeAllText(out);
            out.flush();
            result=out.getBuffer().toString();

        }
        finally {
            if(out!=null) {
                out.close();
            }
        }
        return result; // null is being returned
    }


I could send the word doc as well. Please let me know id required

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to