Page 1 of 1

Exporting DOC or PPT not working with Charts!

Posted: Mon Jan 11, 2021 7:00 pm
by kelusk
Hello,
I am trying to compile a report template containing a chart with Stimulsoft Report JS in Node.js. Using PDF format the export works properly, but just changing the format in DOC or PPT something goes wrong:
- DOC: the output document does not contain the chart (and without showing errors during the process);
- PPT: fails the process without producing an output file showing various errors.

This problem happens even with other report templates. I am pretty sure the cause is related to the chart, indeed, if I try to edit the same mrt file removing the chart only, I can produce the ppt file correctly (even if the process always is interrupted showing some errors finally). Although, by the Stimulsoft Designer any exporting format works perfectly, so there should be a problem in stimulsoft-reports-js library.

I prepared a very simple code to show you the problem:
- index.js, the main execution file, which creates all the possible output documents (doc, ppt, pdf);
- reports, a directory which contains the mrt files with and without the chart;
- exports, a directory where will be stored the output documents.
Pay attention: the code contains the lines to produce ppt documents, but I just commented them to avoid the interruption of the execution (since both cases produces some errors).

I hope you should figure out how to solve this problem.
Thank you!
Best regards,
Michele

Re: Exporting DOC or PPT not working with Charts!

Posted: Sun Jan 17, 2021 6:20 pm
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.

Re: Exporting DOC or PPT not working with Charts!

Posted: Tue Jan 26, 2021 4:52 pm
by kelusk
Thank you too,
I will wait your next answer.

Best regards,
Michele

Re: Exporting DOC or PPT not working with Charts!

Posted: Thu Jan 28, 2021 9:54 pm
by Lech Kulikowski
Hello,

We are working on the problem. We will let you know when the solution is available.

Thank you.

Re: Exporting DOC or PPT not working with Charts!

Posted: Tue Mar 16, 2021 9:05 am
by salexn
Any updates about this issue?

Thanks!

Re: Exporting DOC or PPT not working with Charts!

Posted: Tue Mar 16, 2021 8:40 pm
by Lech Kulikowski
Hello,

We work hard on this problem and do our best to do it as fast as possible. We will let you know when the solution is available.

Thank you.
#3745

Re: Exporting DOC or PPT not working with Charts!

Posted: Wed Mar 17, 2021 12:08 pm
by Lech Kulikowski
Hello,

JS technology is designed to work in browsers, so it does not have a built-in library for working with graphics.
When working in browsers, we convert graphics using the browser. In NodeJs these methods do not work, we can only use third-party libraries.
When last year we studied the question, we could not find suitable libraries, some technical nuances interfered everywhere. So, unfortunately, this issue has not been resolved at the moment.

Thank you.

Re: Exporting DOC or PPT not working with Charts!

Posted: Wed Mar 17, 2021 3:06 pm
by salexn
It's very sad!

Is it possible to generate PPT, Word, Excel use .net in the backend, without browser?

Re: Exporting DOC or PPT not working with Charts!

Posted: Wed Mar 17, 2021 6:41 pm
by Lech Kulikowski
Hello,

Yes, you can use Web or NET products for that task.

Thank you.

Re: Exporting DOC or PPT not working with Charts!

Posted: Thu Apr 15, 2021 11:16 am
by Lech Kulikowski
Hello,

The issue is fixed. The fix will be available in the next major release build.

Thank you.