Bug 61168

Summary: Text with newline and wrapping overflows textbox
Product: POI Reporter: François Beaune <dictoon>
Component: XSLFAssignee: POI Developers List <dev>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 3.16-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Java repro case
PowerPoint file generated by repro case

Description François Beaune 2017-06-09 09:24:20 UTC
Created attachment 35039 [details]
Java repro case

When using the XSLF API, text containing newlines (\n) and wrapping at the right edge of a textbox overflows the textbox. I've also tested with \r instead of \n and the problem remains.

Please find attached to this bug a small, standalone repro case that uses the default font, font size and style, and sticks to Latin left-to-right text.
Comment 1 François Beaune 2017-06-09 09:24:48 UTC
Created attachment 35040 [details]
PowerPoint file generated by repro case