When saving a pptx file, I noticed part of one slide missing so I removed all code except loading the original pptx and then saving a copy and it still happens. Here is the code I am using and I'll attach the source and resulting documents. I also updated to the latest version 4.4.0 of Slides component.
I have worked with the presentation shared by you and have been able to correctly save the presentation using Aspose.Slides for .NET 4.4.0. The generated presentation has no missing shapes and for your kind reference, I have attached the generated presentation.
Did you open the file and save it as a stream or just directly to/from a file? In production the documents are in Sharepoint so I have to work with Streams. The code I included is basically the same I have used in testing out Word, PDF's, Excel, and standard PPT documents for Watermarking with Aspose. Is there any difference creating a presentation from the stream object vs reading it from a file system directly?
I have used the code snippet shared by you and have accessed the presentations using streams and still able to generate the presentation file with no autoshape missing. There is no difference in creating presentation either from file path or from streams. Can you please verify the things on your end please.
Thanks for your response. I have verified that on a computer running Office 2007, no problem, but on what I believe to be the standard for my production users, Office 2003 this issue occurrs. I've confirmed this on two different VM's.
The graphic on the second slide should have 3 small circles with text connected radially to a larger central circle with text. The bottom left small circle's text is centered under the whole object, but the small circle itself is missing. Below is the OS build info and Powerpoint build info:
Microsoft Powerpoint Version 11.0 Build 8318
XP Professional Version 5.1.2600 SP2 Build 2600 running as a VM in VMWare.
I have verified the issue by opening the generated presentation in PowerPoint 2003. An issue with ID 21546 has been created in our issue tracking system to further investigate and resolve the issue. This thread has also been linked with the issue, so that you may be automatically notified, once the issue is resolved.
Another issue I have found is in the PDF Conversion has a border around the watermark along with a fill color. From the code above I added to following line to export to .pdf and attached the result.
I have tried to reproduce the issue on my end by adding a watermark text box inside your source presentation. The presentation exported fine to PDF using Aspose.Slides for .NET 4.4.2. Can you please verify using the mentioned version. If the the problem still persists then please share the source presentation with watermark for further investigation.
I uninstalled all the Aspose.Slides .dlls and just used the .Net 2.0 Aspose.Slides.dll ver 4.4.2 binary and I'm back up and running. I still get the border around the Watermark Shape though when converted to .pdf using the PresendationEx.Save(string location, Aspose.Slides.Export.SaveFormat.Pptx).
I get the same results if I open the .pdf in a newer version of adobe on a Windows 7 box as well. Adobe Reader 9.3.4
I have tried to understand the issue specified by you. It will be really appreciable if you may please share the generated PDF along with the source presentation that you are using. We will try to reproduce the issue on our end to help you out further. We really appreciate your cooperation in advance.