Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

AltChunks gives corrupted document.

$
0
0

Hi,

My Company generates a very large amount of Word documents that are assembled via OpenXML from data in a database. Some of the content is database fields which contains RTF text, which we add as AltChunks. This is very standard use of OpenXML, and it has been running along nicely for months. Recently, however, we discovered that some of the generated documents fail to open in Word.

When we try to open one of the bad documents, Word will complain and ask if we want to fix it, if we agree to that, Word fixes the document, but the content of the AltChunk is gone.

The issue is a bit of a headscratcher for us, because;

  • Some of the documents with RTF AltChunks open just fine,
  • All documents open fine with Word 2010 v.14.0.4760, but with Word 2010 v.14.0.6023, they won't.

So, it appears as if there's some RTF that Word doesn't like, not all, and that the dislike was introduced in a patch or update recently. Has anyone else experienced this issue?


Viewing all articles
Browse latest Browse all 1288


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>