Using getOoXML in Word Online results in a RichApi.Error: ooxmlIsMalformated error

Viewed 34

I have started Word Online with an empty document (https://office.live.com/start/Word.aspx)

I start by inserting an equation, e.g. 1+1 with the equation editor (Insert/Equation)

Word online document with a simple equation

I sideloaded a Word Addin in which I can invoke the getOoxml() method. When I invoke this command the following error appears in the console.

word-web-16.00.js:25 Uncaught (in promise) RichApi.Error: ooxmlIsMalformated at new n (word-web-16.00.js:25:324636) at o.processRequestExecutorResponseMessage (word-web-16.00.js:25:388802) at word-web-16.00.js:25:386865

Note that when I delete the equation the command works correctly and it returns the Ooxml with the content of the document.

Does anybody know a way to retrieve the Ooxml including the math equations from a Word document in the Word Online environment?

0 Answers
Related