I have html report with images in base64 format like <IMG src="data:image/gif;base64,R0lGODlhWAL6APcAA.../> ? now I try to insert this html into Word document by altChankIn result I have docx package with my html, but Word display image in document as box with [x].
How I can solve this task? All images must be works in offline. I think that i need to parse result document, find and replace img base64 to image files but how?
One possibility is that you do a transfrom of your html to mht format. You can then import by altChunk. You can check out the MHT format by doing File / Save As, and specify 'Single File Web Page' as the format.
You can find more information about MHT here: en.wikipedia.org/.../MHTML
Also here: msdn.microsoft.com/.../ms526265.aspx
-Eric
Eric White www.ericwhite.com Follow on Twitter