Using negative values for effectExtent of a DrawingML object in Word

Regina Henschel 151 Reputation points
2021-05-20T13:40:10.963+00:00

The OOXML standard specifies type ST_Coordinates as type of the attributes of the effectExtent element (§20.4.2.6). The type ST_Coordinates can have negative values, see §20.1.10.16, then ST_CoordinateUnqualified simple type (§20.1.10.19) or ST_UniversalMeasure simple type (§22.9.2.15).
But when I use a negative value, Word does not interpret it correctly. Instead all DrawingML objects are removed from the document when loading it.

It seems, that Word does not support negative values. In that case, it should
a) replace the negative value by zero.
b) only change the affected DrawingML object instead of deleting all of them
c) document the behaviour in [MS-OI29500].

Kind regards
Regina Henschel

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.
127 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Bowen 1,516 Reputation points Microsoft Employee
    2021-05-27T23:41:20.63+00:00

    Hi @Regina Henschel ,

    Thanks for finding this, I filed a bug with the team in that covers Oart integration in Word. I do not currently have an ETA for when the fix will be deployed, if I receive one, I will let you know.

    Best,
    -Mike

    0 comments No comments