Hello,
I created a template in MS PowerPoint 2010 (PPTX) and assigned AlTText to all shapes as described in your tutorial. When i try to load the document using PresentationEx class i get the following exception.
Main Exception : {Aspose.Slides.Pptx.PptxUnsupportedFormatException: Not a Microsoft PowerPoint 2007 presentation
Inner Exception : [Aspose.Slides.Pptx.PptxReadException] = {“Error reading “/ppt/slides/slide1.xml” xml part”} : InnerException = {“The ‘title’ attribute is not declared.”}
However, when i remove the alttext from all the shapes, the document loads without any problem.
Please let me know if this is a bug and if so how to identify shapes within a template.
I am using the latest .NET aspose slides dll.
Thanks!
Hi Bala,
Thanks for your interest in Aspose.Slides.
I have observed the issue shared by you. Please try using the latest available product version of
Aspose.Slides for .NET for 6.2.0 and if there is still an issue then please share the source presentation along with sample code with us for necessary investigation on our end.
Many Thanks,
Mudasir,
Thank you for your quick response. Using the 6.2.0 version i am able to load the template with alternative text set correctly. A small issue i noticed though. I have to set the alternate text on the normal slide itself . But when i set the alternate text on the Master Slide, it does not pick it up. Is this by design? Is there any way to set the alt text on template and read it back as opposed to setting on the normal slide?
Thanks and i appreciate your help!
Hi Bala,
One can set the alternative property of the shapes. I request you to please share the sample presentation and sample project code with us for further investigation on my end to help you out further.
Many Thanks,