Insert Image to Word from XML image binary string

M

Marcel Grieder

Hi,

I have an XML structure with several images as binary strings in it. These
images should now be entered into word, but i don't cannot use vba. I am only
able to insert (paste) strings into word.

Is there a possibility to insert this image into word, maybe with some
control characters leading, that indicate, that a picture is coming?

Thanks for Help,
Marcel
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?TWFyY2VsIEdyaWVkZXI=?=,
I have an XML structure with several images as binary strings in it. These
images should now be entered into word, but i don't cannot use vba. I am only
able to insert (paste) strings into word.

Is there a possibility to insert this image into word, maybe with some
control characters leading, that indicate, that a picture is coming?
No, Word has no way of interpreting graphics data coming in that way. Word needs
to use a graphics filter to insert a picture into a document. The graphics
filter is only available when inserting a picture from a file saved to disk, or
when pasting from the clipboard.

Word 2003 is capable of exporing graphics to Base64 and, I suppose, of picking
them up that way if they're properly embedded in a WordProcessingML string,
using VBA. But how to do this isn't documented.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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