Description: 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 Actual Results: The rectangle has transparent background. Expected Results: The rectangle should have white background. Reproducible: Always User Profile Reset: Yes Additional Info: 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
Confirmed in Version: 5.4.0.0.alpha1+ 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: oox/source/drawingml/fillproperties.cxx
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: > https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/ > fillproperties.cxx#669 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): cui/source/tabpages/tphatch.cxx
Hi guys, Export part of the same hatch (pattern fill) background is implemented now: https://cgit.freedesktop.org/libreoffice/core/commit/?id=54dfb9ff07a41d9249302ac2ed0a005d0a8114d4 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": http://cgit.freedesktop.org/libreoffice/core/commit/?id=232251e11aecf051bc0e2a915e5af6c0d3650469 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: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.