PresentationEx newPresentation = new PresentationEx();
I get…
Test method TestFramework.UnitTest1.TestGeneratingPptxDeck threw exception: Aspose.Slides.PptReadException: Error reading “/ppt/theme/theme1.xml” xml part —> System.Xml.Schema.XmlSchemaException: The ‘http://schemas.openxmlformats.org/markup-compatibility/2006:Ignorable’ attribute is not declared…
Here is the problem that I am actually trying to solve…
I am trying to automate the creation of a pptx file from a potx file. I cant seem to do this the same way I would with ppt and pot files. Any help you can provide would be great. I have tried using…
new PresentationEx(TemplateFile);
and
new PresentationEx();
Neither seems to work. If you take a look at the other couple threads I started today I have provided some additional sample code.
This works now, but I am still having the root problem. When I create a file I get the following error message:
“Powerpoint cannot open the file because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file”.
This is a .pptx file generated by opening 3 other pptx files and cloning their slides into 1 master file.