Hello,
Slide caption is misplaced and embedded formula disappears during conversion from pptx to pdf. Please see the attached pictures. Slides version 1 image.png (164.0 KB) Pdf version1 image.png (125.0 KB) Slides version 2 image.png (193.8 KB)
This is the way we run the conversion in the code:
using (var stream = new MemoryStream(source))
using (MemoryStream outStream = new MemoryStream())
using (Presentation presentation = new Presentation(stream))
{
if (removeMetaData)
{
// Remove all built-in and Custom Properties
var properties = presentation.DocumentProperties;
properties.ClearCustomProperties();
properties.ClearBuiltInProperties(); //?
}
presentation.Save(outStream, Aspose.Slides.Export.SaveFormat.Pdf);
return outStream.ToArray();
}
This is the environment info:
OS: Windows 10, Microsoft Windows Server 2016 Standard
.Net version is 4.8
@YR1,
Thank you for describing the issue. It looks like you are not using the latest version of Aspose.Slides. Could you please test your result using the latest version and share your output PDF file?
Thank you for your response.
I tried to use the latest version.
Seems like it solved the problem with missing formula however the red header on the first page just disappeared.
The pdf file is attached. short_version3.pdf (209.6 KB)
@YR1,
I’ve reproduced the problem with disappearing the text when converting the presentation to PDF and added a ticket with ID SLIDESNET-43390 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate the case. You will be notified when the issue is resolved.
I have also found some problems with space reduction between some text items in the formulas and added a ticket with ID SLIDESNET-43389. Our developers will also work on this issue.
The issues you have found earlier (filed as SLIDESNET-43390) have been fixed in Aspose.Slides for .NET 22.9 (ZIP, MSI).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.