none
What does instrText inside document.xml mean with the following construct? RRS feed

  • Question

  • I see that the document.xml in a Docx file contains the following XML construct: 

    <w:r>
    <w:rPr>
    <w:rFonts w:ascii="平成明朝"/>
    <w:color w:val="000000"/>

    <w:sz w:val="28"/>
    </w:rPr>
    <w:fldChar w:fldCharType="begin"/>
    </w:r>
    <w:r>
    <w:rPr>
    <w:rFonts w:ascii="平成明朝"/>
    <w:color w:val="000000"/>
    <w:sz w:val="28"/>
    </w:rPr>
    <w:instrText xml:space="preserve"> eq \o\ac(\s\up 13(
    </w:instrText>
    </w:r>
    <w:r>
    <w:rPr>
    <w:rFonts w:ascii="平成明朝" w:hint="eastAsia"/>
    <w:color w:val="000000"/>
    <w:sz w:val="14"/>
    </w:rPr>
    <w:instrText>もう
    </w:instrText>
    </w:r>
    <w:r>
    <w:rPr>
    <w:rFonts w:ascii="平成明朝"/>
    <w:color w:val="000000"/>
    <w:sz w:val="14"/>
    </w:rPr>
    <w:instrText>),
    </w:instrText>
    </w:r>
    <w:r>
    <w:rPr>
    <w:rFonts w:ascii="平成明朝" w:hint="eastAsia"/>
    <w:color w:val="000000"/>
    <w:sz w:val="28"/>
    </w:rPr>
    <w:instrText>申
    </w:instrText>
    </w:r>
    <w:r>
    <w:rPr>
    <w:rFonts w:ascii="平成明朝"/>
    <w:color w:val="000000"/>
    <w:sz w:val="28"/>
    </w:rPr>
    <w:instrText>)
    </w:instrText>
    </w:r>
    <w:r>
    <w:rPr>
    <w:rFonts w:ascii="平成明朝"/>
    <w:color w:val="000000"/>
    <w:sz w:val="28"/>
    </w:rPr>
    <w:fldChar w:fldCharType="end"/>
    </w:r>

    Can I know what does the instrText of "eq \o\ac(\s\up 13(" mean? 


    • Edited by Deepcompsci Tuesday, September 4, 2012 10:06 AM Updated the file format as "Docx"
    Tuesday, September 4, 2012 10:05 AM

Answers

  • Hi Deepcompsci, the information that you are looking for is contained in the ISO/IEC 29500 specification documents.

    Part 1 section 17.16.23 contains the definition for instrText, which states that the field contains field codes which are defined in section 17.16.5. However, EQ is covered in Part 4 section 14.9.4.6. The contents of the field from your example break down as follows:

    eq - Computes the specified mathematical equation.

    \o - Using an arbitrary number of arguments, displays each successive argument on top of the previous one. Each character is displayed within an invisible character box, with the switches being available to align the boxes on top of one another.

    \ac - Alignment is centered in each array column.

    \s - Creates a subscript or superscript. One or more arguments are permitted. If more than one element is specified, the elements are stacked and left-aligned.

    \up 13 - Moves a single argument above the adjacent text by the integral number of points specified by text in this switch's field-argument.


    Please refer to Part 4 section 14.9.4.6 for a complete description of the EQ field and the respective switches. You can also find additional information about the EQ field in MS-IO29500, section 2.1.1759.

    Please let me know if that helps.


    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

    Tuesday, September 4, 2012 7:26 PM
    Moderator

All replies

  • Thank you for your question.

    An engineer from the Protocols team will contact you soon.


    Bryan S. Burgin Senior Escalation Engineer Microsoft Protocol Open Specifications Team

    Tuesday, September 4, 2012 4:55 PM
    Moderator
  • Hi Deepcompsci, I am the engineer who will be working with you on this issue. I am currently researching the problem and will provide you with an update soon. Thank you for your patience.


    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

    Tuesday, September 4, 2012 5:12 PM
    Moderator
  • Hi Deepcompsci, the information that you are looking for is contained in the ISO/IEC 29500 specification documents.

    Part 1 section 17.16.23 contains the definition for instrText, which states that the field contains field codes which are defined in section 17.16.5. However, EQ is covered in Part 4 section 14.9.4.6. The contents of the field from your example break down as follows:

    eq - Computes the specified mathematical equation.

    \o - Using an arbitrary number of arguments, displays each successive argument on top of the previous one. Each character is displayed within an invisible character box, with the switches being available to align the boxes on top of one another.

    \ac - Alignment is centered in each array column.

    \s - Creates a subscript or superscript. One or more arguments are permitted. If more than one element is specified, the elements are stacked and left-aligned.

    \up 13 - Moves a single argument above the adjacent text by the integral number of points specified by text in this switch's field-argument.


    Please refer to Part 4 section 14.9.4.6 for a complete description of the EQ field and the respective switches. You can also find additional information about the EQ field in MS-IO29500, section 2.1.1759.

    Please let me know if that helps.


    Josh Curry (jcurry) | Escalation Engineer | Open Specifications Support Team

    Tuesday, September 4, 2012 7:26 PM
    Moderator