Pretty good, Nick!!! Thanks a lot for your help! Yeah, do you think the bits of the OLE2 file that POI uses, could be easily taken reading one XML-base file generated by the MS Word or should I look for it into some POI document?
Thanks in advance! Luiz On 10/17/07, Nick Burch <[EMAIL PROTECTED]> wrote: > > On Wed, 17 Oct 2007, Luiz Antonio Falaguasta Barbosa wrote: > > Yesterday, I discovered that my client can update his Microsoft Office > > to the Office 2003 version. So, it means that the files created on this > > version are XML-based, right? > > Sort of. You might need to use something like OpenXML4J[1] to actually get > the xml out of your files > > Then, it's basically an xml serialisation of the contents, rather than an > OLE2 one, so you need to see which bits of the OLE2 file POI uses, then > find their equivalent XML stream. Update those, then hope there aren't too > many nasty offset references in the files > > Nick > > [1] http://sourceforge.net/projects/openxml4j/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
