Categories > OpenTBS with DOCX >

Images in Word 2007 vs. 2010

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Sarah
Date: 2012-05-24
Time: 19:17

Images in Word 2007 vs. 2010

When I use OpenTBS to insert and switch images, they work fine in Word 2007. If I later open a file that was made with OpenTBS and saved in Word 2007 in Word 2010, the images do not display. If I open the OpenTBS file directly in 2010 without saving it in 2007 first, the images don't display and I get this text:

{ SHAPE \* MERGEFORMAT }{ SHAPE \* MERGEFORMAT }{ SHAPE \* MERGEFORMAT }

Other fields merged in TBS work ok, it seems to only be the images and, randomly, a date field that produce this issue (swap 'SHAPE' for 'DATE' in the error text), and only in Word 2010.

Do you have any idea what might be causing it? Should I provide some portion of my code? I am using MergeBlock to populate several text fields, a date, and these images.

Thank you,
Sarah
By: Skrol29
Date: 2012-05-25
Time: 12:39

Re: Images in Word 2007 vs. 2010

Hi Sarah,

That's the first time such a bug is reported.
Could you send to me the Word 2007 merged document that produce the error, and also its template?
A piece of data is also welcome, but you don't need to send the code for now, just a var_export() of the merged data.