<tblpPr>
(Floating Table Positioning)
This element specifies information about the current table with regard to floating tables. Floating tables are tables in a document which are not part of the main text flow in the document, and are instead absolutely positioned with a specific size and position relative to non-frame content in the current document.
The first piece of information specified by the <tblpPr>
element is that the current table is actually a floating table. This information is specified simply by the presence of the <tblpPr>
element in table's properties. If the <tblpPr>
element is omitted, the table shall not floating in the document.
The second piece of information is the positioning of the table, which is specified by the attribute values stored on the <tblpPr>
element. In all absolute positioning cases, the positioning of the table is relative to its top-left corner position. For relative positioning (e.g. center), the positioning of the table is relative to its entire frame.
Note that the table still has a logical position in the file (its location within the block-level elements in the document). This logical location shall be used to calculate the position of the table relative to a paragraph, using the next regular (non-table, non-frame) paragraph in the document.
<w:tbl> <w:tblPr> <w:tblpPr w:leftFromText="144" w:rightFromText="144" w:topFromText="144" w:bottomFromText="144" w:vertAnchor="page" w:horzAnchor="page" w:tblpX="4320" w:tblpY="4320"/> … </w:tblPr> …</w:tbl>
The presence of the <tblpPr>
element dictates that this table is a floating table, and its attributes specify that the floating table shall be anchored 4320
twentieths of a point (3 inches) from the top and left edges of the current page
. ]
Attributes |
Description |
---|---|
|
Specifies the minimum distance which shall be maintained between the current floating table and the top of text in the paragraph which is below this floating table. This distance is expressed in twentieths of a point. If this attribute is omitted, its value shall be assumed to be <w:tblPr> <w:tblpPr … w:bottomFromText="720" /> </w:tblPr> The The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105). |
|
Specifies the base object from which the horizontal positioning in the A floating table may be horizontally positioned relative to:
If this attribute is omitted, then its value shall be assumed to be <w:tblPr> <w:tblpPr … w:tblpX="1440" w:horzAnchor="column" /> </w:tblPr> These table properties specify that they are relative to the current The possible values for this attribute are defined by the ST_HAnchor simple type (§2.18.40). |
|
Specifies the minimum distance which shall be maintained between the current floating table and the edge of text in the paragraph which is to the left of this floating table. This distance is expressed in twentieths of a point. If this attribute is omitted, its value shall be assumed to be <w:tblPr> <w:tblpPr … w:leftFromText="720" /> </w:tblPr> The The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105). |
|
Specifies the minimum distance which shall be maintained between the current floating table and the edge of text in the paragraph which is to the right of this floating table. This distance is expressed in twentieths of a point. If this attribute is omitted, its value shall be assumed to be <w:tblPr> <w:tblpPr … w:rightFromText="720" /> </w:tblPr> The The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105). |
|
Specifies an absolute horizontal position for the floating table. This absolute position is specified relative to the horizontal anchor specified by the This value is expressed in twentieths of a point. If it is positive, then the floating table is positioned after the anchor object in the direction of horizontal text flow in this document. If it is negative, then the floating table is positioned before the anchor object in the direction of horizontal text flow in this document. If the <w:tbl> <w:tblPr> <w:tblpPr … w:horizAnchor="page" w:tblpX="1643"/> </w:tblPr> … </w:tbl> This floating table specifies that it should be located exactly The possible values for this attribute are defined by the ST_SignedTwipsMeasure simple type (§2.18.88). |
|
Specifies a relative horizontal position for the floating table. This relative position is specified relative to the horizontal anchor specified by the If omitted, this attribute is not specified and the value of the <w:tbl> <w:tblPr> <w:tblpPr … w:horizAnchor="page" w:tblpX="1643" w:tblpXSpec="left"/> </w:tblPr> … </w:tbl> This floating table specifies that it has a horizontal placement of exactly The possible values for this attribute are defined by the ST_XAlign simple type (§2.18.114). |
|
Specifies an absolute vertical position for the floating table. This absolute position is specified relative to the vertical anchor specified by the This value is expressed in twentieths of a point. If it is positive, then the floating table is positioned after the anchor object in the direction of vertical text flow in this document. If it is negative, then the floating table is positioned before the anchor object in the direction of vertical text flow in this document. If the <w:tbl> <w:tblPr> <w:tblpPr … w:vertAnchor="text" w:tblpY="73" /> </w:tblPr> … </w:tbl> This floating table specifies that it should be located exactly The possible values for this attribute are defined by the ST_SignedTwipsMeasure simple type (§2.18.88). |
|
Specifies a relative vertical position for the floating table. This relative position is specified relative to the vertical anchor specified by the If omitted, this attribute is not specified and the value of the <w:tbl> <w:tblPr> <w:tblpPr … w:vertAnchor="margin" w:tblpY="73" w:tblpYSpec="center"/> </w:tblPr> … </w:tbl> This floating table specifies that it has a vertical placement of exactly The possible values for this attribute are defined by the ST_YAlign simple type (§2.18.115). |
|
Specifies the minimum distance which shall be maintained between the current floating table and the bottom edge of text in the paragraph which is above this floating table. This distance is expressed in twentieths of a point. If this attribute is omitted, its value shall be assumed to be <w:tblPr> <w:tblpPr … w:topFromText="720" /> </w:tblPr> The The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105). |
|
Specifies the base object from which the vertical positioning in the A floating table may be horizontally positioned relative to:
If this attribute is omitted, then its value shall be assumed to be <w:tblPr> <w:tblpPr … w:tblpY="2880" w:vertAnchor="page" /> </w:tblPr> These floating table properties specify that they are relative to the anchor The possible values for this attribute are defined by the ST_VAnchor simple type (§2.18.109). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_TblPPr">
<attribute name="leftFromText" type="ST_TwipsMeasure"/>
<attribute name="rightFromText" type="ST_TwipsMeasure"/>
<attribute name="topFromText" type="ST_TwipsMeasure"/>
<attribute name="bottomFromText" type="ST_TwipsMeasure"/>
<attribute name="vertAnchor" type="ST_VAnchor"/>
<attribute name="horzAnchor" type="ST_HAnchor"/>
<attribute name="tblpXSpec" type="ST_XAlign"/>
<attribute name="tblpX" type="ST_SignedTwipsMeasure"/>
<attribute name="tblpYSpec" type="ST_YAlign"/>
<attribute name="tblpY" type="ST_SignedTwipsMeasure"/>
</complexType>