LayoutRawTableWidth Class

Ignore Space Before Table When Deciding If Table Should Wrap Floating Object.When the object is serialized out as xml, its qualified name is w:layoutRawTableWidth.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.LayoutRawTableWidth

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class LayoutRawTableWidth _
    Inherits OnOffType
'Usage
Dim instance As LayoutRawTableWidth
public class LayoutRawTableWidth : OnOffType

Remarks

[ISO/IEC 29500-1 1st Edition]

9.7.3.23 layoutRawTableWidth (Ignore Space Before Table When Deciding If Table Should Wrap Floating Object)

This element specifies how tables which have been indented from the margin using the tblInd element (Part 1, §17.4.51) shall be wrapped around floating objects.

Typically, when a table is positioned next to a floating object, the table shall only remain next to the object if it can fit in the remaining space on the line when considering the full width needed for the table: the space before the table, plus the width of the table. This element, when present with a val attribute value of true (or equivalent), specifies that the calculation determining whether the table shall fit next to the object shall not include the space before the table, even if that means that the table is actually clipped by the object.

[Example: Consider a WordprocessingML document with a floating shape using square wrapping, next to a table which has been indented one inch from the left margin:

<w:tbl>
<w:tblPr>
<w:tblInd w:w="1440" w:type="dxa" />
</w:tblPr>
…
</w:tbl>

The resulting presentation would place the table next to the object:

DocumentFormat.OpenXml.Wordprocessing.LayoutRawTab

If this object is then moved to the left, such that it would clip the table, the default presentation would have the entire table moved below the shape, since it does not fit in the remaining space on the line:

DocumentFormat.OpenXml.Wordprocessing.LayoutRawTab

However, if this compatibility setting is turned on:

<w:compat>
<w:layoutRawTableWidth />
</w:compat>

Then the determination to move the table is done ignoring the spaced needed before the table, resulting in the following output:

DocumentFormat.OpenXml.Wordprocessing.LayoutRawTab

The resulting table is clipped behind the object, as the fit calculation ignores the space needed before the table. 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.

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.

See Also

Reference

LayoutRawTableWidth Members

DocumentFormat.OpenXml.Wordprocessing Namespace