WordML, object binary data changes after re-saving the same docume

D

David Portabella

Hello,

I have a MsWord document, and I save it using the WordML language (.xml).
For each object (for example, an Equation object), WordML has a binary data
section.

If I open a document containing an equation object, and re-save it (without
changing that equation in any way), the binary data section of that equation
object changes.
(However, the equation looks the same if I re-open the document)
In example below, the "pkg:binaryData" data keeps changing, even if I did
not modify the equation at all.
Why is that?


I am writing a program that reads the MsWord document (.xml), and the
program cannot know whether an equation object is the same as the previous
version of the document, or not.
How to get around of it?

Many thanks,
DAvid Portabella

+++++++++++++++++++
<w:r>
<w:eek:bject w:dxaOrig="200" w:dyaOrig="200">
<v:shape ...
<o:OLEObject Type="Embed" ProgID="Equation.3" ShapeID="_x0000_i1025"
DrawAspect="Content" ObjectID="_1248701608" r:id="rId12"/>
</w:eek:bject>
</w:r>

<Relationship Id="rId12"
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject" Target="embeddings/oleObject1.bin"/>

<pkg:part pkg:name="/word/embeddings/oleObject1.bin"
pkg:contentType="application/vnd.openxmlformats-officedocument.oleObject">
<pkg:binaryData>
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAA
EAAAAgAAAAEAAAD+////AAAAAAAAAAD/////////////////////////////////////////////
....
</pkg:binaryData>
</pkg:part>
+++++++++++++++++++
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top