Bug 65551 - Incorrect fetching paragraph and text runs props from master shape
Summary: Incorrect fetching paragraph and text runs props from master shape
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSLF (show other bugs)
Version: 5.0.0-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-04 08:48 UTC by savinskiy.konstantin
Modified: 2021-10-11 19:45 UTC (History)
0 users



Attachments
Test document (33.24 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2021-09-04 08:48 UTC, savinskiy.konstantin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description savinskiy.konstantin 2021-09-04 08:48:59 UTC
Created attachment 38018 [details]
Test document

Paragraph and text runs properties don't fetch from the master slide.

https://github.com/apache/poi/blob/REL_5_0_0/src/ooxml/java/org/apache/poi/xslf/model/ParagraphPropertyFetcher.java#L75

In this case, receives default master properties. See the attached document and pay attention to the text alignment of copyright in the footer.
Comment 1 PJ Fanning 2021-09-08 18:22:30 UTC
Thanks for reporting the issue. POI is a volunteer project and not many of the
existing community are active on pptx support. Would it be possible that you
or your team could contribute a patch?
Comment 2 Andreas Beeker 2021-10-11 19:45:23 UTC
Thank you for the test file.
Fixed via r1894140