The rectangle in the middle has a pattern fill with white background in PowerPoint 2013.
In impress the rectangle has a transparent background.
Steps to Reproduce:
1. Open the attached PPTX in Impress
The rectangle has transparent background.
The rectangle should have white background.
User Profile Reset: Yes
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Created attachment 133051 [details]
PPTX created with PowerPoint 2013 showing the issue
Created attachment 133052 [details]
PDF exported from PowerPoint showing the expected result
Build ID: f12096272e684ddcd8ffa4e34dcb0a680cc594c2
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk2;
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Somewhere in 4.2 development the box changed from complete white to pattern without background
Let's turn this into a easy hack. The code is here:
I guess we need to add support for hatches with background: https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/fillproperties.cxx#669
(In reply to Xisco Faulí from comment #5)
> I guess we need to add support for hatches with background:
We already have support for that (check the area tab's hatch page). Those comments are obsolete.
More code pointer to find out how to set that background is here (hatch page):
Export part of the same hatch (pattern fill) background is implemented now:
Same two API properties (FillBackground,FillColor) should be used by the import code.
A polite ping, still working on this bug?
Sorry no. Have had too much work recently. I can be taken off.
Tamás Zolnai committed a patch related to this issue.
It has been pushed to "master":
tdf#107608: PPTX: Import pattern fill background color
It will be available in 6.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.