locked
Graphic issues in Word 2010 and 2013 RRS feed

  • Question

  • 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 doesn’t appear to. Unfortunately, it’s 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

    

    





    Wednesday, March 4, 2015 4:28 PM

Answers

  • 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 it’s 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>



    • Edited by Chloe Wang Monday, March 9, 2015 9:26 AM
    • Marked as answer by Chloe Wang Tuesday, March 17, 2015 3:18 AM
    Monday, March 9, 2015 9:23 AM

All replies

  • Hi Dawn,

    Since this forum is discussing about developing Word and your issue is more related about product of Word, I will move this thread to the more related forum.

    Thanks for your understanding.

    Best Regards,

    Edward


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Thursday, March 5, 2015 9:46 AM
  • Hi Dawn:

    As you mentioned in situation 1 of third party tools, do you mind to tell me what’s the third party tool you were using to create the document? Also in situation 2,  by “used as a VBA components”, do you mean the document contains VBA code or it was created by VBA code?

    I agree that we’d better have the samples to isolated the issue, please send the samples through mail to: ibsofc@microsoft.com.

    Meanwhile, we may try some general steps:

    • Go to File -> Options-> Advanced: Show document content and make sure that “Show drawings and text boxes on screen” is checked and that “Show picture placeholders” is unchecked.
    • On the Home tab of the Ribbon, go to the Paragraph group and click arrow in the bottom right corner to open the Paragraph dialog; in that dialog, make sure that line spacing of the paragraph the picture is in is not set to an Exact value.
    • If the graphic was inserted as background,  it will not be displayed unless you check the box for “Show background colors and images in Print Layout view” which is in File->Options->Advanced: Show document content, also please check the box for “Print background colors and images” at File-> Options-> Display: Printing options.
    Friday, March 6, 2015 8:34 AM
  • Thank you, Chloe.

    I verified the settings you have suggested, but the issue still exists.

    I will email you the examples and additional information you requested.

    Thanks!

    Friday, March 6, 2015 7:26 PM
  • 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 it’s 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>



    • Edited by Chloe Wang Monday, March 9, 2015 9:26 AM
    • Marked as answer by Chloe Wang Tuesday, March 17, 2015 3:18 AM
    Monday, March 9, 2015 9:23 AM
  • Hi Chloe,

    Thank you very much for the response.

    Please allow me a couple/few days to review and respond.

    Dawn

    Tuesday, March 10, 2015 3:34 PM
  • Hi Dawn:

    Did it work for you? Let me know the result, thank you.

    Friday, March 13, 2015 6:47 AM
  • Hi Chloe,

    Yes, this manual fix that you provided did fix the issue.

    I still need to work with the VBA code that will change the format of a picture so we automate this on the files in our archive.

    Thanks so much for your help.

    Dawn

    Thursday, March 19, 2015 2:43 PM
  • 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 Monday, March 23, 2015 6:39 PM
    Monday, March 23, 2015 6:03 PM