Exporting DOC or PPT not working with Charts!
Exporting DOC or PPT not working with Charts!
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
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 162 times
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting DOC or PPT not working with Charts!
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
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!
Thank you too,
I will wait your next answer.
Best regards,
Michele
I will wait your next answer.
Best regards,
Michele
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting DOC or PPT not working with Charts!
Hello,
We are working on the problem. We will let you know when the solution is available.
Thank you.
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!
Any updates about this issue?
Thanks!
Thanks!
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting DOC or PPT not working with Charts!
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
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
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting DOC or PPT not working with Charts!
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.
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!
It's very sad!
Is it possible to generate PPT, Word, Excel use .net in the backend, without browser?
Is it possible to generate PPT, Word, Excel use .net in the backend, without browser?
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting DOC or PPT not working with Charts!
Hello,
Yes, you can use Web or NET products for that task.
Thank you.
Yes, you can use Web or NET products for that task.
Thank you.
-
- Posts: 6431
- Joined: Tue Mar 20, 2018 5:34 am
Re: Exporting DOC or PPT not working with Charts!
Hello,
The issue is fixed. The fix will be available in the next major release build.
Thank you.
The issue is fixed. The fix will be available in the next major release build.
Thank you.