https://bugs.documentfoundation.org/show_bug.cgi?id=155389
Bug ID: 155389
Summary: MCGR FILESAVE PPTX fill style is erroneously set to
NONE
Product: LibreOffice
Version: 7.6.0.0 alpha1+ Master
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 187373
--> https://bugs.documentfoundation.org/attachment.cgi?id=187373&action=edit
Shape with multi-step transparency gradient
Open attached document and save it as pptx.
Open saved file in PowerPoint.
Error: The shape fill is set to "none".
The error is likely in
5370 if (aFillStyle == FillStyle_SOLID && GetProperty( xPropSet,
"FillTransparenceGradient"))
5371 {
5372 awt::Gradient aTransparenceGradient;
5373 mAny >>= aTransparenceGradient;
5374 if (aTransparenceGradient.StartColor == 0xffffff &&
aTransparenceGradient.EndColor == 0xffffff)
5375 aFillStyle = FillStyle_NONE;
5376 }
https://opengrok.libreoffice.org/xref/core/oox/source/export/drawingml.cxx?r=438f0752#5370
The test is not yet adapted to the fact, that transparency gradient now can
have more than two stops.
--
You are receiving this mail because:
You are the assignee for the bug.