Group:  General ยป microsoft.public.office.xml
Thread: What is

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

What is <w:pict><w:binData w:name='wordml://08000001.wmz'>
David Thielen <david[ at ]windward.net> 18.10.2005 13:52:49
Hi;

When there is an OLE object in a WordML file, along with the data that
is understood only by the application that created the object, there
is also a bitmap of the the drawn object - so it can display on
systems that do not have the program that created the object
installed.

I created an example (using the equation editor) and the result is:

<w:p>
<w:pict>
<v:shapetype ...
<w:binData w:name="wordml://08000001.wmz">H4sIAAAA ...
qAEAAA==</w:binData>
<v:shape ...
<o:OLEObject ...
</w:pict>
</w:p>

The binData is probably uuencoded. But I decoded it and it doesn't
seem to be any know format - I even tried it as a metafile. (My tests
were to decode it and then try to load it in PaintShop Pro using each
format. I also looked for the EMF signature bytes - they aren't in
there.)

So my question is, what is the format of this image?

thanks - dave



david[ at ]at-at-at[ at ]windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
Page 2 Stage -- http://www.Page2Stage.com
Enemy Nations -- http://www.EnemyNations.com
me -- http://dave.thielen.com
Barbie Science Fair -- http://www.BarbieScienceFair.info
(yes I have lots of links)
Re: What is <w:pict><w:binData w:name='wordml://08000001.wmz'>
"Bob Buckland ?:-\)" <75214.226(At Beautiful Downtown)compuserve.com> 19.10.2005 13:59:03
Hi David,

The .WMZ file type (not Windows Media Player Skin files <g> but Office Metafile)
is usually a zipped version of a Metafile (vector graphic)that is in
the Word document. You used to be able to open them with
Winzip, but newer versions seem to compressed a bit differently.

The viewer/converter at http://www.konvertor.net can still extract
and show the content
========
<<"David Thielen" <david[ at ]windward.net> wrote in message news:5gv9l1559tnjm7c3ou9ms4ollimefcfs59[ at ]4ax.com...
Hi;

When there is an OLE object in a WordML file, along with the data that
is understood only by the application that created the object, there
is also a bitmap of the the drawn object - so it can display on
systems that do not have the program that created the object
installed.

I created an example (using the equation editor) and the result is:

<w:p>
<w:pict>
<v:shapetype ...
<w:binData w:name="wordml://08000001.wmz">H4sIAAAA ...
qAEAAA==</w:binData>
<v:shape ...
<o:OLEObject ...
</w:pict>
</w:p>

The binData is probably uuencoded. But I decoded it and it doesn't
seem to be any know format - I even tried it as a metafile. (My tests
were to decode it and then try to load it in PaintShop Pro using each
format. I also looked for the EMF signature bytes - they aren't in
there.)

So my question is, what is the format of this image?

thanks - dave >>
--
Let us know if this helped you,

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

For Everyday MS Office tips to "use right away" -
http://microsoft.com/events/series/administrativetipsandtricks.mspx



Re: What is <w:pict><w:binData w:name='wordml://08000001.wmz'>
David Thielen <david[ at ]windward.net> 22.10.2005 01:44:52
Getting closer... Any idea how to decompress it?

thanks - dave


On Wed, 19 Oct 2005 06:59:03 -0700, "Bob Buckland ?:-\)"
<75214.226(At Beautiful Downtown)compuserve.com> wrote:

[Quoted Text]
>Hi David,
>
>The .WMZ file type (not Windows Media Player Skin files <g> but Office Metafile)
>is usually a zipped version of a Metafile (vector graphic)that is in
>the Word document. You used to be able to open them with
>Winzip, but newer versions seem to compressed a bit differently.
>
>The viewer/converter at http://www.konvertor.net can still extract
>and show the content
>========
> <<"David Thielen" <david[ at ]windward.net> wrote in message news:5gv9l1559tnjm7c3ou9ms4ollimefcfs59[ at ]4ax.com...
>Hi;
>
>When there is an OLE object in a WordML file, along with the data that
>is understood only by the application that created the object, there
>is also a bitmap of the the drawn object - so it can display on
>systems that do not have the program that created the object
>installed.
>
>I created an example (using the equation editor) and the result is:
>
><w:p>
> <w:pict>
> <v:shapetype ...
> <w:binData w:name="wordml://08000001.wmz">H4sIAAAA ...
>qAEAAA==</w:binData>
> <v:shape ...
> <o:OLEObject ...
> </w:pict>
></w:p>
>
>The binData is probably uuencoded. But I decoded it and it doesn't
>seem to be any know format - I even tried it as a metafile. (My tests
>were to decode it and then try to load it in PaintShop Pro using each
>format. I also looked for the EMF signature bytes - they aren't in
>there.)
>
>So my question is, what is the format of this image?
>
>thanks - dave >>


david[ at ]at-at-at[ at ]windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
Page 2 Stage -- http://www.Page2Stage.com
Enemy Nations -- http://www.EnemyNations.com
me -- http://dave.thielen.com
Barbie Science Fair -- http://www.BarbieScienceFair.info
(yes I have lots of links)
Re: What is <w:pict><w:binData w:name='wordml://08000001.wmz'>
"Bob Buckland ?:-\)" <75214.226(At Beautiful Downtown)compuserve.com> 22.10.2005 06:32:15
Hi David,

Did you use the 'Konverter' mentioned in the prior message?

=======
<<"David Thielen" <david[ at ]windward.net> wrote in message news:1c6jl1hs69m9p4t7n3ss5soqcph49lh5hk[ at ]4ax.com...
Getting closer... Any idea how to decompress it?

thanks - dave >>
--
Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*


Re: What is <w:pict><w:binData w:name='wordml://08000001.wmz'>
David Thielen <david[ at ]windward.net> 24.10.2005 01:02:39
On Fri, 21 Oct 2005 23:32:15 -0700, "Bob Buckland ?:-\)"
<75214.226(At Beautiful Downtown)compuserve.com> wrote:

[Quoted Text]
>Hi David,
>
>Did you use the 'Konverter' mentioned in the prior message?

Yep - it did great. However, I need to be able to decompress it in our
java engine. I sent them an email asking if they could tell me how to
do it - but no answer yet.

thanks - dave


>=======
> <<"David Thielen" <david[ at ]windward.net> wrote in message news:1c6jl1hs69m9p4t7n3ss5soqcph49lh5hk[ at ]4ax.com...
>Getting closer... Any idea how to decompress it?
>
>thanks - dave >>


david[ at ]at-at-at[ at ]windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
Page 2 Stage -- http://www.Page2Stage.com
Enemy Nations -- http://www.EnemyNations.com
me -- http://dave.thielen.com
Barbie Science Fair -- http://www.BarbieScienceFair.info
(yes I have lots of links)
Re: What is <w:pict><w:binData w:name='wordml://08000001.wmz'>
David Thielen <david[ at ]windward.net> 26.10.2005 02:47:15
Success!!!!!!!!!!!

Thanks to the gzip info from someone on the Word team, I have this
figured out for WordML (still working through rtf). I placed the
solution on my weblog so I can edit it as I learn more -
http://thielen.typepad.com/programming/2005/10/anatomy_of_a_wm.html

Also, I was never able to find the wmf (not emf) structures documented
on msdn or the microsoft web site - it's referenced, but never listed.

thanks - dave


On Tue, 18 Oct 2005 07:52:49 -0600, David Thielen <david[ at ]windward.net>
wrote:

[Quoted Text]
>Hi;
>
>When there is an OLE object in a WordML file, along with the data that
>is understood only by the application that created the object, there
>is also a bitmap of the the drawn object - so it can display on
>systems that do not have the program that created the object
>installed.
>
>I created an example (using the equation editor) and the result is:
>
><w:p>
> <w:pict>
> <v:shapetype ...
> <w:binData w:name="wordml://08000001.wmz">H4sIAAAA ...
>qAEAAA==</w:binData>
> <v:shape ...
> <o:OLEObject ...
> </w:pict>
></w:p>
>
>The binData is probably uuencoded. But I decoded it and it doesn't
>seem to be any know format - I even tried it as a metafile. (My tests
>were to decode it and then try to load it in PaintShop Pro using each
>format. I also looked for the EMF signature bytes - they aren't in
>there.)
>
>So my question is, what is the format of this image?
>
>thanks - dave


david[ at ]at-at-at[ at ]windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
Page 2 Stage -- http://www.Page2Stage.com
Enemy Nations -- http://www.EnemyNations.com
me -- http://dave.thielen.com
Barbie Science Fair -- http://www.BarbieScienceFair.info
(yes I have lots of links)
Re: What is <w:pict><w:binData w:name='wordml://08000001.wmz'>
"Bob Buckland ?:-\)" <75214.226(At Beautiful Downtown)compuserve.com> 26.10.2005 15:02:48
Hi Dave,

Cool :) I knew it used gzip, but wasn't sure what changed
from Office 2000 to later that made Winzip/PKZip and some others
not be able to open the archives to extract the files.

On your second point, could you clarify what it is you're
looking for within the WMF (16 bit) file you extracted that
you're not finding? My understanding was that it was just the
physical WMF you were looking to use.

==========
<<"David Thielen" <david[ at ]windward.net> wrote in message news:4hrtl19jui49a5b9eo9oie41ad0s3qp88j[ at ]4ax.com...
Success!!!!!!!!!!!

Thanks to the gzip info from someone on the Word team, I have this
figured out for WordML (still working through rtf). I placed the
solution on my weblog so I can edit it as I learn more -
http://thielen.typepad.com/programming/2005/10/anatomy_of_a_wm.html

Also, I was never able to find the wmf (not emf) structures documented
on msdn or the microsoft web site - it's referenced, but never listed.

thanks - dave >>
--
Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*


Re: What is <w:pict><w:binData w:name='wordml://08000001.wmz'>
David Thielen <david[ at ]windward.net> 27.10.2005 04:00:32
Hi;

If only it were so easy. Our engine runs in java (.net version using
J#) so for the java version I have to read the records and create a
bitmap so I can then place the bitmap of the OLE object in the final
report.

I have it all working well now except that I can't get java to not map
chars to unicode when writing a string to Graphics2D. In other words,
I get byte 0xe5 for the SUM symbol in the symbol font - but the
unicode value 0xE5 is undefined in symbol so I get that little box.

thanks - dave


On Wed, 26 Oct 2005 08:02:48 -0700, "Bob Buckland ?:-\)"
<75214.226(At Beautiful Downtown)compuserve.com> wrote:

[Quoted Text]
>Hi Dave,
>
>Cool :) I knew it used gzip, but wasn't sure what changed
>from Office 2000 to later that made Winzip/PKZip and some others
>not be able to open the archives to extract the files.
>
>On your second point, could you clarify what it is you're
>looking for within the WMF (16 bit) file you extracted that
>you're not finding? My understanding was that it was just the
>physical WMF you were looking to use.
>
>==========
> <<"David Thielen" <david[ at ]windward.net> wrote in message news:4hrtl19jui49a5b9eo9oie41ad0s3qp88j[ at ]4ax.com...
>Success!!!!!!!!!!!
>
>Thanks to the gzip info from someone on the Word team, I have this
>figured out for WordML (still working through rtf). I placed the
>solution on my weblog so I can edit it as I learn more -
>http://thielen.typepad.com/programming/2005/10/anatomy_of_a_wm.html
>
>Also, I was never able to find the wmf (not emf) structures documented
>on msdn or the microsoft web site - it's referenced, but never listed.
>
>thanks - dave >>


david[ at ]at-at-at[ at ]windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
Page 2 Stage -- http://www.Page2Stage.com
Enemy Nations -- http://www.EnemyNations.com
me -- http://dave.thielen.com
Barbie Science Fair -- http://www.BarbieScienceFair.info
(yes I have lots of links)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net