Exporting DOC or PPT not working with Charts!

Stimulsoft Reports.JS discussion
Post Reply
kelusk
Posts: 2
Joined: Mon Jan 11, 2021 5:17 pm

Exporting DOC or PPT not working with Charts!

Post 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
Attachments
chart-problem.zip
(104.16 KiB) Downloaded 114 times
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Exporting DOC or PPT not working with Charts!

Post by Lech Kulikowski »

Hello,

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

Thank you.
kelusk
Posts: 2
Joined: Mon Jan 11, 2021 5:17 pm

Re: Exporting DOC or PPT not working with Charts!

Post by kelusk »

Thank you too,
I will wait your next answer.

Best regards,
Michele
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Exporting DOC or PPT not working with Charts!

Post by Lech Kulikowski »

Hello,

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

Thank you.
salexn
Posts: 12
Joined: Wed Feb 17, 2021 1:21 pm

Re: Exporting DOC or PPT not working with Charts!

Post by salexn »

Any updates about this issue?

Thanks!
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Exporting DOC or PPT not working with Charts!

Post 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
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Exporting DOC or PPT not working with Charts!

Post 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.
salexn
Posts: 12
Joined: Wed Feb 17, 2021 1:21 pm

Re: Exporting DOC or PPT not working with Charts!

Post by salexn »

It's very sad!

Is it possible to generate PPT, Word, Excel use .net in the backend, without browser?
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Exporting DOC or PPT not working with Charts!

Post by Lech Kulikowski »

Hello,

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

Thank you.
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Exporting DOC or PPT not working with Charts!

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply