https://bugs.documentfoundation.org/show_bug.cgi?id=155327

--- Comment #4 from Regina Henschel <[email protected]> ---
The problem with these examples is, that the character properties in the file
do not define a fill property. PowerPoint uses the "tx1" from the theme in such
case.  But on import the "moFillType" member of the FillProperties is not set
and the "maFillColor" member has "meMode = COlOR_UNUSED".

The effect of not set moFillType is, that in the call of
rCharProps.maFillProperties.pushToPropMap in [1] it returns immediately without
doing anything [2]. But even if it would be set to XML_solidFill for example,
it would still not work, because "if( maFillColor.isUsed() )" in line #423
would fail. 

[1]
https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/shape.cxx?r=60bce1af#732
[2]
https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/fillproperties.cxx?r=1df0565f#408

Perhaps it is needed to copy the rCharProps.maFillProperties and tweak them.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to