LayoutRawTableWidth class

Office 2013 and later

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.

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

public class LayoutRawTableWidth : OnOffType

[ISO/IEC 29500-1 1st Edition]

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:

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:

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:

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: