Forum


Replies: 1   Views: 36
How to handle overflowing content in ppt slides

Posted by khwla  · 26-09-2024 - 15:10

Hey,

I'm a phpdocx user and have successfully created many Word documents using its features. Now, I’m trying to export the same data to PPT format. I’m working with dynamic data, so I don't know beforehand how long or short the content will be.

In Word, when the content exceeds a page, it automatically moves to the next page. However, in PPT, I am facing an issue where the content overflows beyond the slide or overlaps with the footer.

I would like to know if there's any workaround for this issue to ensure that my content is fully visible on a slide without overflowing. Any advice on how to handle dynamic content in PPT slides using phppptx will be highly appreciated!

Thanks in advance.

Posted by admin  · 27-09-2024 - 06:07

Hello,

Please note that Word and PowerPoint don't include the same content types. Word generates pages when adding content, but PowerPoint uses shapes (text boxes) to add content. There's no option in the current stable version of phppptx to avoid overflowing if the text exceeds the shape's size.

Regards.