I was watching this
video. I created a PowerPoint file and extracted the code from the OpenXML productivity tool. After I reflected the Code: I see three .xml files with a thumbnail.jpege files under my .pptx file tree in Productivity tool as follows:
myPresentation.pptx ( there are many classes in each .xml file not showing here)
/docProps/core.xml
/docProps/thmbnail.jpeg
/ppt/presentation.xml
/docProps/app.xml\
I then created an empty C# project in visual studio and added the reference dependency "DocumentFormat.OpenXml". Then, I copied the whole source code and built the project with no error. But, I have two problems with it:
1. No PowerPoint .pptx was generated. I suppose It should generate identical .pptx as the one imported into the productivity tool.
2. There are 30 classes with 8996 lines of code inside the Program.cs.
I was hoping the productivity tool would split all these classes into separate files. I suppose it should do this myself. But how give the tree diagram above?
Any help would be appreciated.