Do Not AutoFit Tables To Fit Next To Wrapped Objects.When the object is serialized out as xml, its qualified name is w:doNotAutofitConstrainedTables.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
'Declaration Public Class DoNotAutofitConstrainedTables _ Inherits OnOffType 'Usage Dim instance As DoNotAutofitConstrainedTables
public class DoNotAutofitConstrainedTables : OnOffType
[ISO/IEC 29500-1 1st Edition]
18.104.22.168 doNotAutofitConstrainedTables (Do Not AutoFit Tables To Fit Next To Wrapped Objects)
This element specifies whether applications shall allow tables to be resized to the remaining available line width when they are using the AutoFit algorithm and part of that line is filled by a shape with a wrapping type with a value of square or tight.
Typically, a table which is AutoFit and has a preferred width shall have its width reduced in order to allow a floating shape to wrap around its contents within the document, as that shape simply reduces the width of the line and the AutoFit algorithm applies to the remaining line width. This element, when present with a val attribute value of true (or equivalent), specifies that tables shall never have any preferred width overridden to allow them to wrap around that floating object, and shall instead be pushed to the next full width line in the document to be displayed.
[Example: Consider a WordprocessingML document with a floating shape centered in the document, followed by a table with preferred cell widths of 2.22", as follows:
The default presentation of this document overrides the preferred cell widths to force the table to fit on the line next to the floating shape with tight wrapping.
However, if this compatibility setting is turned on:
<w:compat> <w:doNotAutofitConstrainedTables /> </w:compat>
Then that table is not resized, so it cannot fit and must be pushed to the next full width line, resulting in the following output:
compat (Part 1, §22.214.171.124)
This element’s content model is defined by the common boolean property definition in Part 1, §17.17.4.
© ISO/IEC29500: 2008.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.