Solved

Inserting image in word header by wordprocessingml

Posted on 2011-02-15
1
549 Views
Last Modified: 2012-05-11
when i am generating header.xml ,i am getting error:

the office open xml file item.docx cannot be opened because there are problems with the contents

Details: unspecified error

Location: Part:/word/header1.xml, Line:3, Column:1153


I became frustrated with this error.  Please reply



<w:pict>

- <v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">

  <v:stroke joinstyle="miter" />

- <v:formulas>

  <v:f eqn="if lineDrawn pixelLineWidth 0" />

  <v:f eqn="sum @0 1 0" />

  <v:f eqn="sum 0 0 @1" />

  <v:f eqn="prod @2 1 2" />

  <v:f eqn="prod @3 21600 pixelWidth" />

  <v:f eqn="prod @3 21600 pixelHeight" />

  <v:f eqn="sum @0 0 1" />

  <v:f eqn="prod @6 1 2" />

  <v:f eqn="prod @7 21600 pixelWidth" />

  <v:f eqn="sum @8 21600 0" />

  <v:f eqn="prod @7 21600 pixelHeight" />

  <v:f eqn="sum @10 21600 0" />

  </v:formulas>

  <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />

  <o:lock v:ext="edit" aspectratio="t" />

  </v:shapetype>

  <w:binData w:name="C:/inetpub/wwwroot/wss/VirtualDirectories/80/images/logo.gif" xml:space="preserve">R0lGODlh7QAzAPcAAAAAAAAAMwAAZgAAmQAAzAAA/wArAAArMwArZgArmQArzAAr/wBVAABVMwBVZgBVmQBVzABV/wCAAACAMwCAZgCAmQCAzACA/wCqAACqMwCqZgCqmQCqzACq/wDVAADVMwDVZgDVmQDVzADV/wD/AAD/MwD/ZgD/mQD/zAD//zMAADMAMzMAZjMAmTMAzDMA/zMrADMrMzMrZjMrmTMrzDMr/zNVADNVMzNVZjNVmTNVzDNV/zOAADOAMzOAZjOAmTOAzDOA/zOqADOqMzOqZjOqmTOqzDOq/zPVADPVMzPVZjPVmTPVzDPV/zP/ADP/MzP/ZjP/mTP/zDP//2YAAGYAM2YAZmYAm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TYcvEGPnoq121sm14gt5pRlC5IWe3F2hN7eNHrrUlxylpeWAsQX7N9CIHiapGEPsWKCQnDSyShSQDgIERqwUq6w5so6py3kU45jFSl+uj1SsXJbBvLOgPEGi8Rg2OUA9qMMXlrd/vGts3dFiKlCsgG6lZNbVFTiAj1MMCYCHr83PRIcJK6xiT14y7lNqMoI6qSgwo2KGMHlRjStcaJREMfBIE5yGcOFurIJuUpJ5BzQcbcishcID+nudB14228DHDoSE/6PDcprt06JOhKj/pugoeXY0v96lj31o9Y82mse13oRSHQUVpzna+b/ewXETna1872trv97XAIj7vc567TgAAAOw==</w:binData>

  <v:shape id="_x0000_i1025" type="#_x0000_t75" alt="XML Workshop Ltd." style="width:150pt;height:75pt" />

  </w:pict>
0
Comment
Question by:itsmeChamp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
steveoskh earned 250 total points
ID: 35387646
Try a smaller or lower resolution image.  If the image is huge and then you are dragging the image handle to make it fit in the header it is likely too large.  Use a different program to reduce the resolution/size to the exact size needed by the header.
That will solve your problem.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question