[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

tcPr (Table Style Conditional Formatting Table Cell Properties)

This element specifies the set of table cell properties which shall be applied to all regions within a table which match the conditional formatting type specified on the parent tblStylePr element. These properties are applied in the order specified via the style hierarchy.

[Example: Consider a table style which contains conditional formatting for its firstRow, defined as follows:

<w:style w:type="table" w:styleId="exampleTableStyle">

<w:tblStylePr w:type="firstRow">
<w:tcPr>
<w:tcBorders>
<w:top w:val="nil" />
<w:left w:val="nil" />
<w:bottom w:val="nil" />
<w:right w:val="nil" />
<w:insideH w:val="nil" />
<w:insideV w:val="nil" />
</w:tcBorders>
</w:tcPr>

</w:tblStylePr>
</w:style>

The tcPr element specified within the tblStylePr element specifies the set of table cell properties which shall be applied to all parts of the table which meet the criteria specified by the type value of firstRow - all of the header rows of the table. In this example, the single table cell property applied is a set of table cell borders via the tcBorders element (§2.4.63). In this case, these cell borders simply reset any previous cell borders to nil. end example]

Parent Elements

tblStylePr2.7.5.6)

 

Child Elements

Subclause

cellDel (Table Cell Deletion)

§2.13.5.1

cellIns (Table Cell Insertion)

§2.13.5.2

cellMerge (Vertically Merged/Split Table Cells)

§2.13.5.3

cnfStyle (Table Cell Conditional Formatting)

§2.4.7

gridSpan (Grid Columns Spanned by Current Table Cell)

§2.4.13

hideMark (Ignore End Of Cell Marker In Row Height Calculation)

§2.4.15

hMerge (Horizontally Merged Cell)

§2.4.16

noWrap (Don't Wrap Cell Content)

§2.4.28

shd (Table Cell Shading)

§2.4.33

tcBorders (Table Cell Borders)

§2.4.63

tcFitText (Fit Text Within Cell)

§2.4.64

tcMar (Single Table Cell Margins)

§2.4.65

tcPrChange (Revision Information for Table Cell Properties)

§2.13.5.38

tcW (Preferred Table Cell Width)

§2.4.68

textDirection (Table Cell Text Flow Direction)

§2.4.69

vAlign (Table Cell Vertical Alignment)

§2.4.80

vMerge (Vertically Merged Cell)

§2.4.81

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_TcPr">

   <complexContent>

   <extension base="CT_TcPrInner">

   <sequence>

   <element name="tcPrChange" type="CT_TcPrChange" minOccurs="0"/>

   </sequence>

   </extension>

   </complexContent>

</complexType>