[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] OLE exception with docX

Hello
I have created an RCP application. I can open microsoft office documents 2007 inside, with the docx extension. But if I modify the document and save it, the save operation corrupts the document somehow. Next time I try to open it from the RCP application, I got an OLE exception "cannot create the in place editor". If I try to open the document directly with microsoft office, the error is "the file is corrupted". If I try to open the file with winzip the error is "start of central directory not found; zip file corrupt". And now the weird thing is that the size of the document after the save from the RCP application is changing from 20ko to 99ko. It looks like some garbage is added in the docx document.
I got exactly the same error if I try the same thing directly in the eclipse IDE.
I have eclipse 3.3.2 and jre1.6.0_05.
Thanks for any help