Bénigot Yves wrote: > Finally I found the cause of the problem : when OO does loadComponentFromURL > of a WordML (xml) file, > if the property FilterName is not set, no error is sent when reading the > document, > but on saving in RTF , StoreToURL displays "IOException". > > I put the property filterName to "swriter: writer_MS_Word_2003_XML" on > reading, > and the document can then be saved safely.
Strange. Did you pass a filter name in the storeToURL() call? > Also, the curious thing is that this does not happen every time. > > Still, I suggest that there should be a way to get the exception error code. You can get the error code from the exception (see its IDL definition). Then you will need the documentation that explains which meaning the codes have. Unfortunately we didn't put it online until now. <marks item on ToDo list> Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
