Image Content Controls and Custom XML

J

John

Hi there,

I've been getting to grips with Content Controls in Word over the last
couple of days but need some advice on how to handle images.

Background - I'm trying to produce documents based on a template whose
content controls are mapped to some custom xml. I'm intending to swap out
the custom xml part to create each new document and while I'm happy on how
this works for text I'm not clear on how to tackle this for images.

Can any recommend what the best approach is? For example, can I stream the
bitmap data in or out of the xml or will I have to have two separate files
(ie the xml and the image)?

Thanks in advance.

Best regards

John
 
J

John

Well I just thought I'd post back the results of some of my searching. I
didn't want to go down the OpenXML route in this project so I've ended up
approaching the problem as per this post:

http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/417eaf66-5863-4b21-b024-bb214e96aac5/

A couple of other interesting links are:

http://www.codeproject.com/KB/office/Word_2007_Images.aspx

http://msdn.microsoft.com/en-us/library/bb497430.aspx

http://openxmldeveloper.org/forums/thread/2983.aspx

Hope that helps someone.

Best regards

John
 

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