thatidiotguy
thatidiotguy

Reputation: 9011

PPTX Passes Validation, but PowerPoint Still Repairs

I am building out a PowerPoint presentation by using some XML templates from an example presentation. So far it has gone pretty smoothly, but in my last iteration I ran into the following problem:

1) PPTX file opens up fine in both LibreOffice and Google Slides.

2) Passing it through the Open XML Productivity Tool validator shows no errors.

3) Opening file in PowerPoint results in the file being "repaired". When I compare the repaired file to the original in the productivity tool, the repaired file just stripped all the content out of 3 of the slides.

How can I go about figuring out what the actual PowerPoint program does not like about my PPTX file? How can the program have problems with the file when the validator gives no errors?

Any advice or direction is appreciated.

Upvotes: 1

Views: 1413

Answers (2)

Jehy
Jehy

Reputation: 4899

It is natural that even official SDK from Microsoft can't cover all possible errors that Microsoft PowerPoint can produce. What you can do in this case:

  1. Try making minor changes to your document and save it again with Google Slides or with LibreOffice.
  2. Try opening file in different versions of PowerPoint.
  3. Debug problematic slides manually. Open XML in some text editor and check them.
  4. Just recreate those slides in PowerPoint via copy-paste.

Most errors in PowerPoint relate to:

  1. Mismatch between slide layout and master slide layout. <- this one is more common when writing to different templates.
  2. Relationship Ids (rId) don't match.
  3. Incorrect entries in [Content_Types].xml.

Upvotes: 3

mrmemio29
mrmemio29

Reputation: 398

Open the file again in libreoffice and add a new slide. Then SAVE AS and create a new slideshow. Then try opening it in powerpoint and it should work. I have had similar issues be fixed this way.

Upvotes: 0

Related Questions