N
Nasir Khan - VSTS Team
Content controls inside <w:body> tag are only allowing us to press enter
keys, custom elements, <list> tags formatting. This scenario is mentioned in
the attached document “New Approach – Array and Statement tag.docxâ€. Content
controls inside body are extendable.
OpenXML for this scenario would be.
<w:body>
<w:customXml w:uri="http://schemas.microsoft.com/office" w:element="array">
<w:sdt>
<w:sdtPr>
<w:id w:val="90283052"/>
<wlaceholder>
<w:docPart w:val="DefaultPlaceholder_22675703"/>
</wlaceholder>
</w:sdtPr>
<w:sdtContent>
<w w:rsidR="00506299" w:rsidRDefault="00506299"
w:rsidP="00506299">
…
<w w:rsidR="00506299" w:rsidRDefault="00506299"
w:rsidP="00506299">
…
</w>
</w:sdtContent>
</w:sdt>
</w:customXml>
</w:body>
Content controls inside <w> tag(s) is not allowing to press enter key.
Its behaviour is like inline content control. In this scnerio we are unable
to support custom tags inside <w>. This scenario is mentioned in the
attached document “Statement inside p.docxâ€. In most of the PubMed XML we
require nesting of <p> tags and inside <p> we would required content controls.
<w:body>
<w>
<w:sdt>
<w:sdtPr>
<w:id w:val="90283052"/>
<wlaceholder>
<w:docPart w:val="DefaultPlaceholder_22675703"/>
</wlaceholder>
</w:sdtPr>
<w:sdtContent>
…
</w:sdtContent>
</w:sdt>
</w>
</w:body>
We would like to achieve:
Add content controls inside <w> where user should able to press enter key,
add bulleted list.
Let us know wheter you have any other approach for such scenarios.
As an example we want to generate custom tags content controls (OpenXML) for
below XML:
<sec sec-type="subsection" id="subsec2.2">
<title>2.2. Definitions of different repeats in DNA
sequences</title>
<p>
<statement id="d1">
<p> Some Test </p>
</statement>
<p> tttt </p>
</p>
</sec>
<sec> and <statement> custom tag requires content controls.
keys, custom elements, <list> tags formatting. This scenario is mentioned in
the attached document “New Approach – Array and Statement tag.docxâ€. Content
controls inside body are extendable.
OpenXML for this scenario would be.
<w:body>
<w:customXml w:uri="http://schemas.microsoft.com/office" w:element="array">
<w:sdt>
<w:sdtPr>
<w:id w:val="90283052"/>
<wlaceholder>
<w:docPart w:val="DefaultPlaceholder_22675703"/>
</wlaceholder>
</w:sdtPr>
<w:sdtContent>
<w w:rsidR="00506299" w:rsidRDefault="00506299"
w:rsidP="00506299">
…
<w w:rsidR="00506299" w:rsidRDefault="00506299"
w:rsidP="00506299">
…
</w>
</w:sdtContent>
</w:sdt>
</w:customXml>
</w:body>
Content controls inside <w> tag(s) is not allowing to press enter key.
Its behaviour is like inline content control. In this scnerio we are unable
to support custom tags inside <w>. This scenario is mentioned in the
attached document “Statement inside p.docxâ€. In most of the PubMed XML we
require nesting of <p> tags and inside <p> we would required content controls.
<w:body>
<w>
<w:sdt>
<w:sdtPr>
<w:id w:val="90283052"/>
<wlaceholder>
<w:docPart w:val="DefaultPlaceholder_22675703"/>
</wlaceholder>
</w:sdtPr>
<w:sdtContent>
…
</w:sdtContent>
</w:sdt>
</w>
</w:body>
We would like to achieve:
Add content controls inside <w> where user should able to press enter key,
add bulleted list.
Let us know wheter you have any other approach for such scenarios.
As an example we want to generate custom tags content controls (OpenXML) for
below XML:
<sec sec-type="subsection" id="subsec2.2">
<title>2.2. Definitions of different repeats in DNA
sequences</title>
<p>
<statement id="d1">
<p> Some Test </p>
</statement>
<p> tttt </p>
</p>
</sec>
<sec> and <statement> custom tag requires content controls.