You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have a pptx template file that is opened without any errors by MS PowerPoint 365. We render that file using the Clojure API (using stencil version 0.5.7). The rendered file opens in LibreOffice Impress 7.4.7, but some visual elements and styles are missing. The same file is considered corrupt when we try to open it in MS PowerPoint 365, and it has to be fixed by PowerPoint before we can do anything with it.
We have used the "Open XML SDK 2.5 Productivity Tool"[1] to validate the rendered file, and it reports several errors about missing references. Here below there is an screenshot of the tool with the error report.
We have tried with different template files and we always got the same kind of errors. The attached template is just a very simple template to be able to reproduce the issue. We don't even have any placeholder to be rendered.
I did some investiation and it looks like the ability to rendering PPTX broke with the refactors of model.clj around early 0.5.x versions. The changes there were necessary to be able to implement some more complex logics (regarding reusing numbering and custom styling between document fragments), but they made the data model rigid and unable to render PPTX files.
I will continue research on how to represent PPTX files properly. There is a bit of a complication with the circular references between slideMaster and slideLayout files.
Describe the bug
We have a pptx template file that is opened without any errors by MS PowerPoint 365. We render that file using the Clojure API (using stencil version 0.5.7). The rendered file opens in LibreOffice Impress 7.4.7, but some visual elements and styles are missing. The same file is considered corrupt when we try to open it in MS PowerPoint 365, and it has to be fixed by PowerPoint before we can do anything with it.
We have used the "Open XML SDK 2.5 Productivity Tool"[1] to validate the rendered file, and it reports several errors about missing references. Here below there is an screenshot of the tool with the error report.
We have tried with different template files and we always got the same kind of errors. The attached template is just a very simple template to be able to reproduce the issue. We don't even have any placeholder to be rendered.
[1] https://github.com/dotnet/Open-XML-SDK/releases/tag/v2.5
To Reproduce
Expected behavior
The rendered file is considered valid by both MS PowerPoint 365 and the Open XML SDK 2.5 Productivity Tool.
Documents
Template file: document-template.pptx
Rendered file: document-rendered.pptx
Office versions:
Environment where template is rendered:
The text was updated successfully, but these errors were encountered: