Hi,
I have to save some pptx into html.
Using the following simple code :
PresentationEx pres2 = new PresentationEx(@“C:\PKCS\PKCS_Online\PKCS_Online\Results\miot_ber.pptx”);
pres2.Save(@“C:\PKCS\PKCS_Online\PKCS_Online\Results\miot_ber_test.html”, Aspose.Slides.Export.SaveFormat.Html);
I get an HTML file but not everything is rendered correctly…
If we have 2 charts on the same slide, the first one is rendered twice and the second is not there…
As you can see on the example attached :
+ the markers on the linewithmarkers chart are not rendered.
+ the Axis Options are not taken into account (Max, Major Unit, Secondary Unit…)
Can You please help on this ?
Thanks in advance,
Bertrand.
Hi Bertrand,
I have worked with the presentation file shared by you and have been able to observe the wrong chart being rendered in generated html for chart 2. An issue with ID SLIDESNET-34744 has been created in our issue tracking system to further investigate and resolve the issue. I have also been able to observe the missing chart series markers in generated HTMLand issue with ID SLIDESNET-34745 has been created in our issue tracking system to resolve the issue.
I have not been able to observe the axis issues in generated HTML. For your kind reference, I have attached the generated html as well. I have used Aspose.Slides for .NET 7.9.0 on my end. I suggest you to please try using the specified version on your end.
We are sorry for your inconvenience,
Dear Mussadir,
Thanks for your quick answer,
I downloaded and installed 7.9.0 dll and still see this problem…
After digging a little bit, I found why :
when I look at the file you sent me, the numbers have this format :
0 / 0.5 / 1 / 1.5 on the axis
4.18 / 4.15 / 4.11 as values
when I look at the file I sent you, the numbers have this format : (I’m in France and need to keep this format which is correctly generated in pptx)
0 / 0,5 / 1 / 1,5 on the axis
4,18 / 4,15 / 4,11 as values
Then, we can really suspect that the decimal separator (. or ,) is the problem leading to this bug, it’s correctly interpreted by the dll for the values but not for the axis properties…
Furthermore, this problem exist when saving presentation as PDF as well.
Please let me know if you need more details or if it’s not clear (frenchies do their best to speak english but… ;-))
Best Regards,
Bertrand.
Hi Bertrand,
Hi Mussadir,
I see that on your side the files are correctly generated…
Would you do a test for me ? As I’m quite sure it comes from Regional settings…
If you had a chance to :
1) change your system regional settings to French (France)
2) take the Original PPTX I sent You and run the following code on it to see if it works
PresentationEx pres2 = new PresentationEx(@“C:\filepath\miot_ber.pptx”);
pres2.Save(@“C:\Filepath\miot_ber_test.html”, Aspose.Slides.Export.SaveFormat.Html);
Best Regards,
Bertrand.
Hi Bertrand,
Hi Mussadir,
Thank You very much for your reply and the test you did for me!
This helps me troubleshooting this.
I’ll try, as you suggest, on some other machine(s)…
There is, for sure, something different with OS language or regional settings…
Even with the test you did in French configuration… The decimal separator should not be a point but a comma…
Thank you very much again, I’ll investigate further and keep you informed.
BR,
Bertrand.
Hi Bertrand,
The issues you have found earlier (filed as SLIDESNET-34744) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.