altChunk html img alt text

Home Forums WordprocessingML altChunk html img alt text

This topic contains 2 replies, has 2 voices, and was last updated by  awptimus 5 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7814

    awptimus
    Participant

    When word imports html from an altChunk, it fails to set the alt text for the image with the alt text that was in the html. Does anyone have a simple workaround or do I gotta get creative?

    #7815

    Eric White
    Keymaster

    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.

    #7826

    awptimus
    Participant

    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

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.