| Summary: | Shadow imported from a PPTX file is not overriden by the settings while saving back to PPTX | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Tamás Zolnai <zolnaitamas2000> |
| Component: | Impress | Assignee: | Martin Bakos <bakosmartin> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mentoring, xiscofauli |
| Priority: | medium | Keywords: | difficultyBeginner, easyHack, filter:pptx, skillCpp |
| Version: | 6.0.0.0.alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:6.1.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 108226 | ||
| Attachments: |
PPTX file exported from MSO, import this file first while testing
PPTX file exported by LO after changes was made An other test case created in MSO |
||
|
Description
Tamás Zolnai
2017-08-14 03:56:07 UTC
Created attachment 135536 [details]
PPTX file exported from MSO, import this file first while testing
Created attachment 135537 [details]
PPTX file exported by LO after changes was made
Same attributes are there and same value as in the first attached document. Only the order is different, as LO writes out the properties in this order.
Confirmed in Version: 6.0.0.0.alpha0+ Build ID: ef2e6260fad38e26c8591ea88ded348db618270d CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group Let's turn it into a easy hack. The code is here: oox/source/export/drawingml.cxx Check DrawingML::WriteShapeEffect(...) method for export and oox/source/drawingml/effectpropertiescontext.cxx for import part Created attachment 138598 [details]
An other test case created in MSO
martinb214 committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7f42b0f96a2798ae99aa65b84b0db3b2af2b282b tdf#111790: Shadow imported from a PPTX file is not overriden 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. This bug was created as an easy hack and the easy part is fixed now, which makes the second test case (attachment 138598 [details]) working while the first one (attachment 135536 [details]) still shows an issue. Fixing the first test case would be more complicated as an easy hack, so better to close this bug with after the partail fix. |