question

ReginaHenschel-4160 avatar image
0 Votes"
ReginaHenschel-4160 asked MikeBowen-1599 edited

Using negative values for effectExtent of a DrawingML object in Word

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

openspecs-office
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ReginaHenschel-4160 ,

Thank you for your question. One of our engineers will respond soon to assist.

Mike Bowen
Microsoft Open Specifications

0 Votes 0 ·

Hi @ReginaHenschel-4160 ,

I will investigate this question, and let you know what I find.

Thanks,

-Mike

0 Votes 0 ·

Hi @ReginaHenschel-4160 ,

I have been trying to repro your scenario, but I don't see the same effects. When I add a negative value to the ST_Coordinates attributes of effectExtent, I see the visible image cut off by the negative amount and Word allows me to type in that area as if there was no image, but the other images are not effected. Could you please send an example .docx file with the behavior you describe to DocHelp or a link to download, whichever is easier for you.

Thanks!
-Mike

0 Votes 0 ·

Hi Mike,

could you please post the exact email address for "DocHelp"? I'll sent a document then.

Please try it not with images but with shapes.

Kind regards
Regina

0 Votes 0 ·

Hi Regina,

Please send the document to dochelp@microsoft.com and mention it's for "Mike Bowen" in the email.

Thanks!

-Mike

0 Votes 0 ·
Show more comments

1 Answer

MikeBowen-1599 avatar image
0 Votes"
MikeBowen-1599 answered MikeBowen-1599 edited

Hi @ReginaHenschel-4160 ,

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.