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

Vlado 20 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

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
877 questions
Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,699 questions
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.
139 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Tom Jebo 1,996 Reputation points Microsoft Employee
    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. Vlado 20 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

Your answer

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