title: Prevent Word 2010 from saving o:gfxdata base64 or uuencoded VML?
body: <p>I am working with .docx files containing several drawing canvases with images inserted and some lines and arrows drawn in Word 2010. I am using 2010 format with no compatibility mode. </p>
  
  <p>Word inserts an <code>o:gfxdata</code> attribute into each <code>v:shape</code> and <code>v:group</code> element and fills it with ascii encoded something. From what I have read it may be a copy of the VML describing the <code>v:shape</code> or <code>v:group</code>. I don't know if I just don't know what to look for, but I cannot determine what this data is for as its removal has no apparent effect on my ability to read or edit the document in Word 2003, 2007, or 2010. </p>
  
  <p>It does swell the document.xml to almost twice the (apparent) necessary size. This <strong>considerably</strong> slows OpenTBS' processing so I would like to remove it, if possible. Does anyone know of a way to tell Word 2010 to quit saving this extra data? Or what it is for? I have really struggled to find any documentation on it beyond <a href="http://answers.microsoft.com/en-us/office/forum/office_2010-word/word-2010-file-bloat/80f77059-10fa-4cb7-8bd2-ffd67e260761" rel="nofollow">this post</a>.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Here is a <a href="http://www.sarahkempdesigns.com/now/wp-content/uploads/2013/01/ogee_washer_example.docx" rel="nofollow">sample .docx</a>. The document.xml is ~141KB and OpenTBS takes an average of 10.35 seconds to create a file that includes this as a subtemplate 21 times. If I remove all of the o:ogfxdata attributes, the file size is reduced to ~37KB and OpenTBS takes only 2.99 seconds to produce the same file.</p>
  
  <p><strong>Edit 2:</strong></p>
  
  <p>After further investigation, it appears the removal of the o:gfxdata may cause Word 2003 with an older Compatibilty Pack installed, to object to the file with the following error:</p>
  
  <blockquote>
    <p>"This is a pre-release version of the Compatibility Pack and can open
    pre-release Office 2007 files only. Do you want to check for a newer
    version of the Compatibility Pack?"</p>
  </blockquote>
  
  <p>I have been able to open the file by installing a newer compatibility pack - though it prompts the user about the incompatibility and converts the file in order to open it. This does not damage my file, but it is something to look out for.</p>