Where is the parameter <w10:wrap> located in the binary file doc?

Vlado 80 Reputation points
2024-10-24T09:55:44.73+00:00

Hello,
I am trying to convert a binary doc file to docx. When I did the conversion using MS Word, I see inside the docx (in document.xml) parameter: w10:wrap, located inside <v:shape> group.

I can't find where is this parameter in binary file.
At first I thought it couldn't be 2.9.253 Spa parameter (page 425), but it doesn't fit exactly, and also there are no "keywords" like page, margin, etc., but only descriptive text.

I searched in the documentation (ECMA-376-1:2016) and I found only one line with w10:wrap:
<w10:wrap type="square" anchorx="page" anchory="margin" /> (page 4988) and no details.
I can't find connection with binary doc specification ([MS-DOC] - v20150904)
Can you please help me?

Thank you,
Vlado Popelka

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.
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | Word | For business | Windows
{count} votes

Answer accepted by question author
  1. Tom Jebo 2,346 Reputation points Microsoft Employee Moderator
    2024-10-24T18:15:25.5766667+00:00

    Hi Vlado,

    The w10:wrap element maps to the complex type CT_Wrap described in 19.3.2.6 wrap (Text Wrapping) in ISO 29500-4 (part 4). This is part of the VML (Vector Markup Language) support for WordprocessingML Drawing.

    For the binary counterpart, this is described in MS-ODRAW 2.3.21.6 WrapText.

    Best regards,
    Tom Jebo
    Microsoft Open Specifications Support


2 additional answers

Sort by: Most helpful
  1. Vlado 80 Reputation points
    2024-10-25T08:30:42.9166667+00:00

    (doubled - Problem, when I send a message, I don't see it and when I send another one, I see the previous one.)

    0 comments No comments

  2. Vlado 80 Reputation points
    2024-12-10T15:18:07.4966667+00:00

    Thank you Tom,
    I think I have already solved my problem, I tried different settings and I found a solution on how to set this parameter in my case.

    0 comments No comments

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.