coffeycathal_cp
4c7d23faf1
Fixed a weird bug with insertDocument.
Reinserting the same document a large number of time > 100 caused the styles table to explode.
This should not have happened because each iteration contributes no new style. This has been fixed and tested with reinsertion as large as 1,000 times.
Word 2007 and 2010 has no problem opening these documents... apart from the fact that they are massive > 100MB uncompressed.