https://issues.apache.org/ooo/show_bug.cgi?id=125189
Armin Le Grand <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |ACCEPTED Assignee|[email protected] |[email protected] |g | Target Milestone|--- |4.2.0 --- Comment #1 from Armin Le Grand <[email protected]> --- Grepping. Reason is that the 0xff transparency value in SvxBrushItem's Color is used in a special way. Transparency there is only allowed for 0x00 to 0xfe. The value 0xff is 'no fill' and means to derive the color from parent. The change to full DrawingLayer FillStyle already does a good conversion, 0xff creates a XFILL_NONE and other values create XFILL_COLOR (or as needed) with 100% transparency. The decision if the fill is derivated from it's parent frame is based on SdrAllFillAttributesHelper which already has optimized 100% transparence to no fill, thus being correct for painting but not for evaluating the derivation condition. Thus two changes needed: - Base the derivation condition on XFillStyleItem directly - Adapt helpers getSvxBrushItemFromSourceSet/setSvxBrushItemAsFillAttributesToTargetSet to transparency values in the range [0x00 .. 0xfe] -- You are receiving this mail because: You are the assignee for the issue. You are watching all issue changes.
