Hi Nick, On Wed, 2010-08-25 at 13:08 +0100, Nick Burch wrote: > On Fri, 20 Aug 2010, Cédric Bosdonnat wrote: > > I'm diving into the POI HWPF component to dump doc files. I'm > > encountering some difficulties with the PAPX object. I'ld like to dump > > the SPRMs contained in it. According to the spec the Grpprl contains > > starts with an SPRM, but it seems that POI at least reads the istd value > > from there. Even this way, I'm getting some weird opCode when using the > > SprmIterator. > > It's quite possibly a POI bug... HWPF has been in need of some TLC for a > while now, but alas no-one has had the time to dedicate much coding to it. > You could well have discovered an area where we're doing something wrong
Ok, it's "good" to know that the HWPF coding is kind of suspended. I may have some stuffs to contribute back from my dumper, but mostly for the reading aspect. > If you can see from the binary file docs that we should be doing one > thing, and discover that we're not quite doing it, do please fix and send > in a patch! If you could include a unit test that shows the newly correct > behaviour, that'd be great too :) Ok! Then I'll try to find some time to dive into that bug and see what's going wrong. Sometimes my understanding of the WW8 specs is wrong: that might be the bug too ;) Regards, -- Cédric Bosdonnat Go-oo hacker http://go-oo.org OOo Eclipse Integration developer http://cedric.bosdonnat.free.fr --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
