InlineShape.AlternativeText not being written

D

David Thielen

Hi;

Ok, this is really weird. I have a bitmap that is an InlineShape. When
I right click, bring up the properties, and go to Alt Text I see:
<wr:import select='/order/file' type='BITMAP' image-size='fill-width'
height='3210' width='2655' nickname='dav'/>

I click save, open the docx file in WinZip, open document.xml and I
have:
<v:shape id="_x0000_file7460" o:spid="_x0000_i1025" type="#_x0000_t75"
alt="&lt;wr:import select='/order/file' type='BITMAP'
image-size='specified-width' height='3210' width='2655'
nickname='dav'/&gt;"
style="width:132.75pt;height:160.5pt;visibility:visible">

Note that the image-size= in my internal tag does not match. What I've
found is I have to set it several times for it to take on a save. But
it is the string I set it to if I read it back in my AddOn.

But it does not write the new value. Any idea why?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
D

David Thielen

Ok, here's some more. If after I apply my change I resize the bitmap
in Word - then the change takes. But if I resize it in my AddOn code -
it does not take. So it looks like id needs to have the Word UI do
something for changes made in the AddOn to take.

Is there a way to make this work from the AddOn? If not, I can delete
and insert the bitmap on each change.

thanks - dave



Hi;

Ok, this is really weird. I have a bitmap that is an InlineShape. When
I right click, bring up the properties, and go to Alt Text I see:
<wr:import select='/order/file' type='BITMAP' image-size='fill-width'
height='3210' width='2655' nickname='dav'/>

I click save, open the docx file in WinZip, open document.xml and I
have:
<v:shape id="_x0000_file7460" o:spid="_x0000_i1025" type="#_x0000_t75"
alt="&lt;wr:import select='/order/file' type='BITMAP'
image-size='specified-width' height='3210' width='2655'
nickname='dav'/&gt;"
style="width:132.75pt;height:160.5pt;visibility:visible">

Note that the image-size= in my internal tag does not match. What I've
found is I have to set it several times for it to take on a save. But
it is the string I set it to if I read it back in my AddOn.

But it does not write the new value. Any idea why?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
C

Colbert Zhou [MSFT]

I researched but did not find ways to achieve this objective via codes. OK,
let me do some more researches and consultings. I will get back if I get
any progress.


Best regards,
Ji Zhou
Microsoft Online Community Support
 
D

David Thielen

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