PptxGenJS
PptxGenJS copied to clipboard
[BUG|] Table Auto-Paging Error
We appreciate your feedback - to help the team understand your needs please complete the following template to ensure we have the details to help.
Submission Guidelines
- If you are not using the latest release, please update and see if the issue is resolved before submitting an issue
- General questions or high-level topics should be posted in Discussions
- Please browse the online Documentation to see if your question is already addressed there
Issue Category
- [ ] Enhancement
- [X] Bug
- [ ] Question
- [ ] Documentation gap/issue
Product Versions
- Please specify what version of the library you are using......: [pptxgen.bundle.js vers 3.10.0 and 3.11.0]
- Please specify what version(s) of PowerPoint you are targeting: [2019]
- Please specify what web browser you are using.................: [Chrome & Edge ]
Desired Behavior
Create a PPTX file that does not produce a "repair" dialogue.
Observed Behavior
The PptxGenJS code produces a PowerPoint "repair" dialogue when auto-paging a table of data that extends to 2 or more slides. It occurs under the following conditions:
- A table row's text is split between 2 slides by the auto-paging feature AND
- The first column's text on the 2nd slide is only 1 line and does not wrap to a 2nd line in the cell AND
- The second column's text ends on the 1st slide so the cell is blank on the 2nd slide
Making the first column's text string longer so that it wraps to a second line on the second slide does not generate the powerpoint error.
Making the second column's text string longer so that it extends to the second slide also does not generate the error.
Steps to Reproduce
A test HTML file that reproduces the error is attached below: