text rectangle in pie shape has top and right value exchanged in the standard

Regina Henschel 406 Reputation points
2024-07-22T10:00:33.49+00:00

Start PowerPoint. Draw a Pie shape (UI Partial Circle) that is wider than high. Add some text to the shape with alignment left. Copy that shape and insert it. Save the file.

Now open the file markup and replace in one of the shapes the prstGeom with a custGeom and the markup from presetShapeDefinitions.xml from the ISO_IEC_29500 standard.

Reopen the file in PowerPoint. Notice that the text is out of place.

The markup from presetShapeDefinitions.xml has in node <pie> the child element <rect l="il" t="ir" r="it" b="ib" xmlns="http://schemas.openxmlformats.org/drawingml/2006/main" />

But it should be

<rect l="il" t="it" r="ir" b="ib" xmlns="http://schemas.openxmlformats.org/drawingml/2006/main" />.

You can test it, when you manually correct it in the file markup.

I could provide the provide a test file. Sadly I cannot attach it here.

Microsoft 365 and Office | Open Specifications
Microsoft 365 and Office | Open Specifications

Technical documents for protocols, computer languages, standards support, and data portability. The goal with Open Specifications is to help developers open new opportunities to interoperate with Windows, SQL, Office, and SharePoint.


Answer accepted by question author
Mike Bowen 2,311 Reputation points Microsoft Employee Moderator
2024-07-22T19:51:50.1566667+00:00

Hi Regina Henschel,

Thanks for finding this! No need to send a file. I tested your repro and you're right. The rect should be <rect l="il" t="it" r="ir" b="ib" xmlns="http://schemas.openxmlformats.org/drawingml/2006/main" />

We'll fix this in an upcoming release of the document.

Best regards,

Michael Bowen

Sr. Escalation Engineer

Microsoft Open Specifications

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.