Created attachment 181314 [details] File with SmartArt WedgeRectCallout Open attached document in PowerPoint and in LibreOffice. Notice the notch in the right shape in LibreOffice. The problem is, that LibreOffice is not really wrong, but we need a workaround for an error in PowerPoint. I have reported the problem to MicroSoft (see URL), but have not got a solution yet.
Created attachment 181315 [details] File from bugreport to Microsoft The problem exists with normal shapes too as we use the custGeom for import from pptx. Only that for a normal shape it is unlikely, that the user drags the handle to inside the rectangle. But the SmartArt uses the default handle position 0,0 and it cannot be changed by the user.
Created attachment 181342 [details] The first example file in current nightly and PP 2010 Confirming in Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 21a31eefab1401d288dbb8220f3df3365be9efaf CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: en-US (hu_HU); UI: en-US Calc: threaded Colors of the left shape are also off.
Created attachment 181499 [details] Explanation from Microsoft, source see comment I have reported the problem in Microsoft Forum https://docs.microsoft.com/en-us/answers/questions/928553/actual-rendering-of-wedgerectcallout-is-different.html According there answer, the definition in presetShapeDefinitins.xml needs a correction. It points me to https://mailman.vse.cz/pipermail/sc34wg4/2018-November/004555.html That has a document attached with proposed changes. <http://mailman.vse.cz/pipermail/sc34wg4/attachments/20181108/da981efc/attachment-0001.docx> I have that document attached here.
The proposed changes in the custGeom work in PowerPoint. If we use this changes, it might be necessary to adapt the calculations in EnhancedCustomShape2d.cxx. I have not tested that.