Created attachment 175288 [details] prstGeom 'funnel' plus image of it Open attached document. It has the autoshape 'funnel' on the left side and an image of it on the right side. Notice, that a point right,top and a point left,bottom is wrong. I have replaced the prstGeom with a custGeom, as provided by the standard. PowerPoint shows both the same. Therefore I think, that the custGeom definition of the standard has no error.
Created attachment 175289 [details] needed change in oox-drawingml-cs-presets.diff There is an error in oox-drawingml-cs-presets, see attached diff. It has as 11. and 12. equation (count from 0) "10800000+2-0" which should corresponds to <gd name="swAng1" fmla="+- cd2 2da 0" /> and which should corresponds to <gd name="swAng3" fmla="+- cd2 0 2da" /> 2da is calculated in 9. equation So the equations should be 10800000+?9-0 10800000+0-?9 I thought this file was generated. So I wonder how this error comes in. From which source has the file been generated?
Reproduced in Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: ac34bafb6cad056f843ff3ff0dee293bf1e18c56 CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
The problem in oox-drawingml-cs-presets is only a symptom of a deeper problem. If a guide has a name, that starts with a digit, then this digit is used as constant value where it has to be a reference to the guide. The preset shapes "mathEqual" and "mathNotEqual" are affected too. They have a guide with name "2a1". The original shape has a handle on the right side, which movement is constraint, so that the top of the rectangle of the equal sign does not move outside the snap rectangle of the shape. After import by LibreOffice this restriction fails. The problem is not only in preset shapes but with custGeom too. If you use a guide name with starting digit, then this digit is used instead of a reference to the guide.
Created attachment 175438 [details] preset shapes with guide name with starting digit The presentation contains all preset shapes, which have guide names that start with a digit. That are "funnel", "mathEqual" and "mathNotEqual".
Created attachment 175439 [details] custGeom element with guide with name starting with digit The presentation contains on the left side a shape with as custGeom element with the markup of preset shape "triangle". On the right side is a shape, where I have replaced all occurrences of guide name "x2" with "7x2". This effects the handle at the tip of the triangle. If you inspect the handle position you will find a constant value "7" for its x-coordinate. You can test with PowerPoint, that the handle in the right shape should work same as in the left shape.
*** Bug 162241 has been marked as a duplicate of this bug. ***