0

I am working on an application that generates a xdoc output with a series of charts and tables, whose data comes from a given excel file. Currently I have been able to generate the necessary charts and tables managing the data with Apache Poi and generating the actual charts in a separate excel file using GCExcel, nevertheless, Apache does not include support to turn XSSFChart objecs into images in order to insert them into the document, and GCexcel's unlicensed version doesn't allow me to exoprt charts to images either. Anybody knows a way in which I can work around this issue?

1 Answers1

0

Check out Spire.XLS library.

Download the free version here

Read what you can do using the library (features)

Official tutorial

Convert the excel file to image

I am not sure if this will actually work because I did not implement something like this before.

Mohsen
  • 312
  • 4
  • 10
  • Thanks for your answer, I tried it but the free libraries of Spire only include Spire.pdf. – Diego Echenique Nov 06 '20 at 13:47
  • UPDATE: I tried using Spire, but the excel libraries were very expensive for me, although they provide very good solutions. I think the only possible way to achieve this using Apache is by copy-pasting manually the charts to the document. – Diego Echenique Nov 20 '20 at 16:27