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

Regina Henschel 176 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.

Office Open Specifications
Office Open Specifications
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.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.
129 questions
{count} votes

Accepted answer
  1. Mike Bowen 1,591 Reputation points Microsoft Employee
    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

    0 comments No comments

0 additional answers

Sort by: Most helpful