Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Graphics / May 2005

Tip: Looking for answers? Try searching our database.

Insert Image to Word from XML image binary string

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marcel Grieder - 26 May 2005 10:01 GMT
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
Cindy M  -WordMVP- - 30 May 2005 14:45 GMT
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 :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.