DoNotAutofitConstrainedTables Class
Do Not AutoFit Tables To Fit Next To Wrapped Objects.When the object is serialized out as xml, its qualified name is w:doNotAutofitConstrainedTables.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.DoNotAutofitConstrainedTables
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class DoNotAutofitConstrainedTables _
Inherits OnOffType
'Применение
Dim instance As DoNotAutofitConstrainedTables
public class DoNotAutofitConstrainedTables : OnOffType
Remarks
[ISO/IEC 29500-1 редакция 1]
9.7.3.8 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:
end example]
Parent Elements |
---|
compat (Part 1, §17.15.1.21) |
This element's content model is defined by the common boolean property definition in Part 1, §17.17.4.
© ISO/IEC29500: 2008. Приведенный выше текст переведен с английского языка на русский корпорацией Майкрософт (или ее подрядчиками) и ISO не несет ответственности за эти переводы.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.