altChunk html img alt text
- This topic has 2 replies, 2 voices, and was last updated 7 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › WordprocessingML › altChunk html img alt text
The import of HTML by Word via altChunk is a black box. As developers, we have no control over what Word does. So yes, if you need the alt text, you have to get creative.
Creative route nearly solved.
Turns out you can make word parse HTML or openXML inside the same AltChunk content. Docs exported to html or mhtml contain the correct formatting to do so. Not only that, but footnotes, for example, export with a particular html structure and attribute set that allow you to reimport them perfectly via AltChunk.
Maybe you were aware of this, but I just thought I’d contribute back.
My last remaining bit is getting it to accept base64 image data via this route