2.1.162 Part 1 Section 17.4.57, tblpPr (Floating Table Positioning)

For additional notes that apply to this portion of the standard, please see the notes for tblPr, §17.7.6.3(a); tblPr, §17.7.6.4(a).

a.   The standard says that horizontal floating table positioning flips which edge it is relative to in right to left paragraphs versus left to right paragraphs.

In Word, horizontal floating table positioning is always relative to the left edge.

b.   The standard does not specify any conditions under which tblpPr is ignored.

Word ignores the tblpPr element if all attributes are omitted. It also ignores this element if the table is contained in a textbox, footnote, endnote, or comment, or if all of the following conditions are met:

  • The tblpX attribute value is 0.

  • The tblpY attribute value is 0.

  • The horzAnchor attribute value is text.

  • The vertAnchor attribute value is not text.

c.   The standard states that the default values of vertAnchor and horzAnchor are page.

In Word, the default value for vertAnchor is margin and the default value for horzAnchor is text.

d.   The standard allows any integer for leftFromText, rightFromText, topFromText, bottomFromText, tblpX, and tblpY.

Word only allows integers between 0 and 32767 for leftFromText, rightFromText, topFromText, bottomFromText, tblpX, and tblpY.

e.   The standard does not specify that tblpX and tblpY should be changed before display.

To avoid the condition where the tblpPr element is ignored, Word adds 1 twentieth of a point to the actual distance value when it saves a file and subtracts 1 twentieth of a point to the actual distance value when it opens a file. For example, if the value of attribute tblpX or tblpY is supposed be 0 twentieths of a point, then Word writes 1 instead, and if Word reads the value 1 for tblpX or tblpY it interprets that value as 0 instead.