On Wed, 17 Oct 2007, Luiz Antonio Falaguasta Barbosa wrote:
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?
I don't think the POI stuff will play nicely with the XML stuff as-is. I'd really like to see some work refactoring the POI code so we can drop in the OOXML container stuff (probably with OpenXML4J, since it's ASL), and use much the same code for both OLE2 and OOXML. However, it's a lot of work, and no-one seems to be interested in sponsoring it :(
For your needs, you probably just want to grab the text streams, change and save. You probably just want to look at POI to spot which bits of the file holds the text streams of interest, then find their equivalents in OOXML (usually have the same names). Load those bits and change as needed
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
