<allowSpaceOfSameStyleInTable>
(Allow Contextual Spacing of Paragraphs in Tables)
This element specifies whether the suppression of additional space (contextual spacing) defined using the <contextualSpacing>
element (§2.3.1.9) shall be applied to paragraphs contained within tables.
Typically, the rules for the removal of additional paragraph spacing via the <contextualSpacing>
element are applied to all paragraphs in a WordprocessingML document. This element, when present with a @val
attribute value of true
(or equivalent), specifies that this setting shall always be ignored for paragraphs in table cells (and additional spacing shall be allowed).
<w:style w:name="Normal" w:default="1"> … <w:pPr> <w:spacing w:after="200" /> <w:contextualSpacing /> </w:pPr> </w:style>
The default presentation would have the spacing suppressed between all paragraphs, since they are all of the default paragraph style defined above (contextual spacing applies):
However, if this compatibility setting is turned on:
<w:compat> <w:allowSpaceOfSameStyleInTable /> </w:compat>
Then the paragraphs in the table will never have their spacing suppressed, resulting in the following output:
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies a binary value for the property defined by the parent XML element. A value of A value of example:
<w:… w:val="off"/> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>