PHPPresentation
PHPPresentation copied to clipboard
Style & layout is not copied while creating new pptx from pptx in PHPPresentation
https://stackoverflow.com/questions/63677747/style-layout-is-not-copied-while-creating-new-pptx-from-pptx-in-phppresentatio
having the same issue as you. all style and layout does not copy over well and when open the generated pptx file, microsoft powerpoint will attempt to repair the files but still the layout and styling breaks.
can try this library, works well for me to replace texts in presentation while conserving the original powerpoint file template: https://github.com/CristalTeam/pptx
@niloyniloy Have you got a sample file and a sample code ?