I'm trying to create charts in code using the Cells API, then put those charts into a Document using the Words API.
If I use Office to create a Word document, create another Excel document, copy a chart from Excel into Word, and save the Word document I can open it (and save it again) using the Words API. The elements for the chart appear to be DrawingML objects, and the chart information is preserved when I save the document.
I can create a chart using the Cells API (and save as an Excel document), but I can't figure out how to programatically put one of those charts into a Word document using the Words API (putting it in Words as an image isn't enough, the chart data must be preserved).
Is there a way to do this?