Discussion:
Bug in .docx format - link embedding.
(too old to reply)
Jameson
2009-11-02 10:00:11 UTC
Permalink
Hi,

If someone could point me towards the appropriate MSDN forum I'd appreciate
it. I'll post the issue below here just in case someone knows the
answer.......

I embed an OLE object into Word 2007 and, with that object in-place active,
right click and "copy" an entity on it, using "paste special" to paste it
somewhere else in the document. As expected, thereafter whenever I move the
entity in-place in the object, the linked text changes at the other location
in the document. When the document is saved and then re-loaded, the linked
item has been converted by word into an object itself, with no binding to
the original object (which is still in the document of course). Looking at
the XML generated in the .docx document, I can see that the linked item is
pointing to an invalid ObjectID thus:

<o:OLEObject Type="Embed" ProgID="OurLibrary.Image" ShapeID="_x0000_i1025"
DrawAspect="Content" ObjectID="_1318421229" r:id="rId5">
...
<w:instrText xml:space="preserve"> LINK OurLibrary.Image "Document1"
"_1318421201\\Diff. 1" \a \t </w:instrText>

The original object has ID _1318421229, the link object is making reference
to ID _1318421201. This seems to me to be a bug in Word 2007. My question
is therefore:

(1) is there an existing bug tracking reference for this issue and

(2) will this issue be fixed in 2010? It's kind-of critical to some of our
application functionality.

Thanks.

Edit: btw, this functionality worked through Office 2K, XP and 2003. The
new .docx writer in 2007 seems to break OLE link embedding.
Ken Hagan
2010-01-11 15:48:01 UTC
Permalink
Post by Jameson
(1) is there an existing bug tracking reference for this issue and
If you haven't already found them, KB961244 and KB961102 describe similar
problems.
Post by Jameson
(2) will this issue be fixed in 2010? It's kind-of critical to some of our
application functionality.
Neither is fixed in the December beta. :(

Loading...