Graphic issues in Word 2010 and 2013

The problem is it reformats your original image to fall within this shape below. Everything within that triangle is white and your original image only shows through the remaining part of the oval. I have attached a Word document with a few examples. It cuts off part of the logo, signatures, etc. 

So far, we have found this occurring in 2 situations:

1. .docx is generated in third party application. We open this in Word 2003 and save as .doc. Then if that .doc is then opened by someone else using Word 2010 or 2013, it has this issue.

2. The other situation was just a .doc created (outside of the third party application) that is used as a VBA component. If they open that .doc in Word 2013 it has this issue but other .doc files are fine.

One other note, we can open these files in Word 2003 and 2007 and the images look fine. It only happens when opening in Word 2010 or 2013.

Has anyone experienced this or have any suggestions? I have tested both .tif & .jpg to see if the original image format made a difference and it doesnt appear to. Unfortunately, its impacting tens of thousands of Word docs stored in archive.

I don't see where I could upload a file, but I do have example documents.

Thanks,

Dawn









March 4th, 2015 4:28pm

Hi Dawn:

After testing from myside, I found if you change the picture format, it will fix the display issue. You can manually changing the format of the Graphic: select the graphic->select format tab on the Ribbon->change to any format you want. You can also use VBA code to change the format of the picture, for detailed information you can refer to This article.

Below are some findings for your reference.

I checked the documents you sent to me, as the issue occurred when if the file saved as .docx or opened with word 2010/2013, so I zipped the file and compared the xml files, I found something might be the cause of this issue.

  1. The pictures in media folder were all fine no missing parts even for those ones displayed wrongly in Word.
    1. I compared the document.xml file under .\Graphic issue\Issue.docx\word(where I stored the zip file), I found the documents.xml of issue.docx file has section called <a:custGeom> </a:custGeom>, which contains data like below,  maybe its inherited from the design tool, somehow, change formatting can get rid of the custGeom. So we suggest you change the format of the picture.

-      Definition of custGeom (Custom Geometry)This element specifies the existence of a custom geometric shape. Detailed Defination

-<a:custGeom>

<a:avLst/>

-<a:gdLst>

<a:gd name="G0" fmla="+- 0 0 0"/>

<a:gd name="G1" fmla="+- 0 0 0"/>

<a:gd name="G2" fmla="+- 0 0 0"/>

<a:gd name="G3" fmla="+- 10800 0 0"/>

<a:gd name="G4" fmla="+- 0 0 0"/>

<a:gd name="T0" fmla="*/ 360 256 1"/>

<a:gd name="T1" fmla="*/ 0 256 1"/>

<a:gd name="G5" fmla="+- G2 T0 T1"/>

<a:gd name="G6" fmla="?: G2 G2 G5"/>

<a:gd name="G7" fmla="+- 0 0 G6"/>

<a:gd name="G8" fmla="+- 0 0 0"/>

<a:gd name="G9" fmla="+- 0 0 0"/>

same type of data

<a:gd name="T31" fmla="*/ 10800 h 21600"/>

<a:gd name="T32" fmla="*/ 10800 w 21600"/><a:gd name="T33" fmla="*/ 10800 h 21600"/>

<a:gd name="T34" fmla="*/ 3163 w 21600"/>

<a:gd name="T35" fmla="*/ 3163 h 21600"/>

<a:gd name="T36" fmla="*/ 18437 w 21600"/>

<a:gd name="T37" fmla="*/ 18437 h 21600"/></a:gdLst><a:ahLst/>

-<a:cxnLst>

-<a:cxn ang="0"><a:pos y="T5" x="T4"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T7" x="T6"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T9" x="T8"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T11" x="T10"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T13" x="T12"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T15" x="T14"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T17" x="T16"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T19" x="T18"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T21" x="T20"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T23" x="T22"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T25" x="T24"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T27" x="T26"/></a:cxn>

-<a:cxn ang="0"><a:pos y="T29" x="T28"/></a:cxn>

-<a:cxn ang="0">

<a:pos y="T31" x="T30"/>

</a:cxn>

-<a:cxn ang="0">

<a:pos y="T33" x="T32"/>

</a:cxn>

</a:cxnLst>

<a:rect r="T36" b="T37" t="T35" l="T34"/>

+<a:pathLst>

</a:custGeom>



Free Windows Admin Tool Kit Click here and download it now
March 9th, 2015 9:23am

Hi Chloe,

I am not able to apply a Word built-in picture style to a graphic using VBA. From what I've read online, it may be that the picture styles are not exposed to VBA.

I can use VBA to manipulate any style attribute, but doing this only applies the attributes to the circle and triangle that are overlayed  on top of the graphic.

Manually applying a built-in picture style removes the circle and triangle and restores/corrects the graphic issue.

Do you know of a way set the picture style using VBA? Or, of another way to programmatically fix this scenario?

Thank you,

Dawn


  • Edited by Dawn Cox 12 hours 46 minutes ago
March 23rd, 2015 2:03pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics