Bold BI®Unlock stunning dashboards with Bold BI®: 35+ widgets, 150+ data sources, AI agent & more. Try it for free!
Hi Akash,
The release has fixed the issue that has been sent from Christiano in the zip file, but unfortunately we found some more while trying to convert some more ppts files into images.
I've been trying a work around, by converting them into pdf and then into images, still using syncfusion, but with no success.
Attached you can find the code & the files that are causing issues.
If this can please be looked into and advice if there is any other way in order to avoid these issues.
Looking forward to hearing from you
Thanks
Anxhela
Attachment: SyncfusionApp_19102022_e45dc045.zip
Hi Anxhela,
We have reproduced the following reported issues while converting a PowerPoint
slide to Image at our end.
Presentation document name |
Issues |
Recruitment agency Managed Service supply components (1) (1) |
NullReferenceException throws |
2022-02-24 Nutreco Category Report MRO v1.0 |
Hanging occurs |
Category Plan_L&D_R&B_detailed_Nationwide BS (1) (1) |
Text overlapped in first page |
Logo missing in third page |
We suspect it to be a defect. We will validate this issue and update you with
more details on 26th October 2022.
Regards,
Anto Nihil S
Hi Anxhela,
Presentation document name | Issues |
Recruitment agency Managed Service supply components (1) (1) | NullReferenceException throws while parsing the Picture bullet of SmartArt shape: |
2022-02-24 Nutreco Category Report MRO v1.0 | Hanging occurs while converting a PowerPoint slide to Image |
Category Plan_L&D_R&B_detailed_Nationwide BS (1) (1) | Text overlapped while converting a PowerPoint slide to Image |
Logo missing while converting a PowerPoint slide to Image |
Regards,
Akash A.
Hi Anxhela
Presentation document name |
Issues |
Category Plan_L&D_R&B_detailed_Nationwide BS (1) (1) |
Text overlapped while converting a PowerPoint slide to Image |
2022-02-24 Nutreco Category Report MRO v1.0 |
Hanging occurs while converting a PowerPoint slide to Image |
Regards,
Akash A.
Regarding Hanging occurs while converting a PowerPoint
slide to Image :
The reported hanging issue occurs when the value axis is set with minimum and
maximum values and major and minor units are set to auto, as shown in the image
below. This is because in XLSIO when the major and minor units are set to auto
with minimum and maximum values set, the interval starts at 1 and goes up to
the maximum value. Because of this, looping occurs until the maximum values are
reached. This can be fixed by resetting the values in major and minor units as
shown below.
The value axis from the input document:
This Can be changed to:
This can also be fixed by using the code snippet provided below.
Code Snippet:
FileStream fileStreamInput = new FileStream( "Sample.pptx", FileMode.Open, FileAccess.Read);
//Open the existing PowerPoint presentation with loaded stream. IPresentation pptxDoc = Presentation.Open(fileStreamInput);
ISlide slide = pptxDoc.Slides[0];
IPresentationChart chart = slide.Shapes[0] as IPresentationChart;
chart.PrimaryValueAxis.MajorUnit = 2.0E7; chart.PrimaryValueAxis.MinorUnit = 4.0E6;
//Create the MemoryStream to save the converted PDF. MemoryStream pdfStream = new MemoryStream();
//Convert the PowerPoint document to PDF document. PdfDocument pdfDocument = PresentationToPdfConverter.Convert(pptxDoc);
//Save the converted PDF document to MemoryStream. pdfDocument.Save(pdfStream); pdfStream.Position = 0;
//Create the output PDF file stream FileStream fileStreamOutput = File.Create("Output.pdf");
//Copy the converted PDF stream into created output PDF stream pdfStream.CopyTo(fileStreamOutput); |
Hi Akash
Thanks for the update and the code snippet.
I will apply that and let you know if it's okay.
Is it confirmed that the release will be done on the 15th?
Thanks
Anxhela
Issues |
Feedback |
Details |
NullReferenceException throws while parsing the Picture bullet of SmartArt shape |
We have confirmed that the both fixes will include in the Weekly NuGet release on 15th November 2022. |
|
Placeholder is not positioned properly while converting a PowerPoint slide to Image |
Issues |
Details |
NullReferenceException throws while parsing the Picture bullet of SmartArt shape |
As promised earlier, we have included the fixes for this reported
issue in our latest weekly NuGet release (v20.3.0.57). |
Placeholder is not positioned properly while converting a PowerPoint slide to Image |
Hello,
I have updated the nuget package to the latest version, but unfortunately it doesn't seem to have solved the problem.
They are still happening.
The code snippet you have sent above is in cases of chart. But at that ppt if fails on the second slide where it has only texts and no charts to fix axis.
What about the EMF image, which of them is one?
Could I have more assistance on this?
Thanks
Anxhela
Please find the
details below,
Queries |
Answers |
||
I have updated the nuget package to the latest version, but unfortunately it doesn't seem to have solved the problem. They are still happening. |
The
following two reported problems are fixed in our weekly NuGet release v20.3.0.57
and works properly at our end.
|
||
What about the EMF image, which of them is one? |
Logo
missing in 3rd slide in the given PPTX “Category Plan_L&D_R&B_detailed_Nationwide
BS (1) (1).pptx” is the EMF image as shown below,
|
||
The code snippet you have sent above is in cases of chart. But at that ppt if fails on the second slide where it has only texts and no charts to fix axis. |
The hanging
issue is due to the chart in the slide 4 in the given PPTX “2022-02-24
Nutreco Category Report MRO v1.0.pptx” as shown below,
|
Hello,
Thanks for you detailed reply.
One of the documents though still throws exception. I can't attach the document here so I was wondering if I may have an email where I can fw that in order to have a look.
Also about the EMF, is there anyway that can be checked if the slide contains an img like this? If you could advice which way would be best for this case?
Thanks
Please find the answers for your queries,
Queries |
Answers |
One of the documents though still throws exception. I can't attach the document here so I was wondering if I may have an email where I can fw that in order to have a look. |
Please create
ticket and send the documents. It will be private. |
Also about the EMF, is there anyway that can be checked if the slide contains an img like this? If you could advice which way would be best for this case? |
Yes, it is
feasible to identify the Presentation slide contains EMF image like this. |
Hi Suriya,
Thanks for this. I have already updated the ticket by attaching the document and adding a little more description. It basically happens as soon as the process starts.
Please let me know as soon as you have an update, thanks.
In the meantime I'll have a look at the zip you have attached and let you know if I have any questions.
Thanks
Anxhela
Hello,
We are still experiencing errors when opening certain presentation files. The exception is thrown right at the moment when we call "Presentation.Open(fileStream)":
System.NotImplementedException: 'The method or operation is not implemented.'
We are using the latest version available:
<PackageReference Include="Syncfusion.Presentation.Net.Core" Version="25.1.35" />
<PackageReference Include="Syncfusion.PresentationRenderer.Net.Core" Version="25.1.35" />
I am attaching a VS solution with 2 files, one that works and another one that fails.
Kind regards,
Christiano
Hi Anxhela,
We have reproduced the reported issue of "Exception occurs while
converting a PPTX to image" on our end. We will validate the issue and
provide you with more details by mid of this week.
Regards,
Sneha.
Thank you for the update Sneha.
Kind regards,
Christiano
Anxhela, we have confirmed that the reported issue “Not
Implemented exception thrown while parsing series line properties with
extension tag” is a defect and we have logged a
defect report. We will include the fix for this defect in our Weekly NuGet release which is estimated to be
available on the start of April.
The status of this bug can be tracked through the below link:
https://www.syncfusion.com/feedback/51920/not-implemented-exception-thrown-while-parsing-series-line-properties-with
Disclaimer:
“Inclusion of this solution in the weekly release may change due to other
factors including but not limited to QA checks and works reprioritization.”
Hello Akash,
I just tested in the new version (v25.1.38) and it worked as expected.
Thank you for your assistance on this matter.
Kind regards,
Christiano