Share via

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

Vlado 40 Reputation points
Oct 24, 2024, 9:55 AM

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.
903 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,795 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

Accepted answer
  1. Tom Jebo 2,076 Reputation points Microsoft Employee
    Oct 24, 2024, 6:15 PM

    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 40 Reputation points
    Oct 25, 2024, 8:30 AM

    (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 40 Reputation points
    Dec 10, 2024, 3:18 PM

    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 Answers by the question author, which helps users to know the answer solved the author's problem.