Allow Contextual Spacing of Paragraphs in Tables. When the object is serialized out as xml, its qualified name is w:allowSpaceOfSameStyleInTable.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
allowSpaceOfSameStyleInTable (Allow Contextual Spacing of Paragraphs in Tables)
This element specifies whether the suppression of additional space (contextual spacing) defined using the contextualSpacing element (Part 1, §188.8.131.52) 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).
[Example: Consider a WordprocessingML document with a default paragraph style with additional spacing after and contextual spacing set, as follows:
<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 never have their spacing suppressed, resulting in the following output:
compat (Part 1, §184.108.40.206)
This element’s content model is defined by the common boolean property definition in Part 1, §17.17.4.
© ISO/IEC29500: 2008.