Export Chart in a word file

Hello!

Is there any way to export a chart as image in a word template file?

Something like using a placeholder for the image and then replace it with a graph/pie chart?

Thanks a lot!

  Discussion posts and replies are publicly visible

Parents
  • Where would the chart come from?  Would the image size be known?

    I can't help with respect to generating the chart, but if you already have a way to get it as an image file, then you can use a template .docx with a same-size image already inserted, and use the ZIP utilities plug-in to replace the image file itself inside the .docx (which is actually a ZIP package).  Just note that the size has to be the same or similar; if the new image has a different aspect ratio, it will be squished to fit the aspect ratio of the original image.

Reply
  • Where would the chart come from?  Would the image size be known?

    I can't help with respect to generating the chart, but if you already have a way to get it as an image file, then you can use a template .docx with a same-size image already inserted, and use the ZIP utilities plug-in to replace the image file itself inside the .docx (which is actually a ZIP package).  Just note that the size has to be the same or similar; if the new image has a different aspect ratio, it will be squished to fit the aspect ratio of the original image.

Children