Bug 66040 - XSLFTextParagraph uses the wrong text body when text shapes are copied from other slides
Summary: XSLFTextParagraph uses the wrong text body when text shapes are copied from o...
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: XSLF (show other bugs)
Version: 5.2.0-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-28 06:11 UTC by Axel Richter
Modified: 2022-04-28 07:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Richter 2022-04-28 06:11:25 UTC
Since apache poi 4 the apache developers decided using org.apache.poi.xddf.usermodel.text.* for text paragraphs and text runs also in XSLF. Up to apache poi 3.17 XSLF had have it's own classes for text paragraphs and text runs. Those are further present (maybe for backwards compatibility) but in versions greater than apache po 3.17 they are using the wrong text body when text shapes are copied from other slides. 

See https://stackoverflow.com/questions/72017058/apache-poi-changes-applied-to-the-wrong-slide for a complete example.