<tcTxStyle> (Table Cell Text Style)

This element defines the text properties associated with the text contained within a table cell.

example:
<tcTxStyle b="on">
  <fontRef idx="minor">
    <scrgbClr r="0" g="0" b="0"/>
  </fontRef>
  <schemeClr val="lt1"/>
</tcTxStyle>

In this example, we define the text within the cell to be bold and reference the themed minor font and to also be the light 1 color. ]

Parent Elements

<band1H>5.1.4.2.1); <band1V>5.1.4.2.2); <band2H>5.1.4.2.3); <band2V>5.1.4.2.4); <firstCol>5.1.4.2.11); <firstRow>5.1.4.2.12); <lastCol>5.1.4.2.16); <lastRow>5.1.4.2.17); <neCell>5.1.4.2.20); <nwCell>5.1.4.2.21); <seCell>5.1.4.2.23); <swCell>5.1.4.2.24); <wholeTbl>5.1.4.2.34)

Child Elements

Subclause

<extLst> (Extension List)

§5.1.2.1.15

<font> (Font)

§5.1.4.2.13

<fontRef> (Font Reference)

§5.1.4.1.17

<hslClr> (Hue, Saturation, Luminance Color Model)

§5.1.2.2.13

<prstClr> (Preset Color)

§5.1.2.2.22

<schemeClr> (Scheme Color)

§5.1.2.2.29

<scrgbClr> (RGB Color Model - Percentage Variant)

§5.1.2.2.30

<srgbClr> (RGB Color Model - Hex Variant)

§5.1.2.2.32

<sysClr> (System Color)

§5.1.2.2.33

Attributes

Description

<b> (Bold)

Specifies if the text is to be bolded.

The possible values for this attribute are defined by the ST_OnOffStyleType simple type (§5.1.12.36).

<i> (Italic)

Specifies if the text is to be italicized.

The possible values for this attribute are defined by the ST_OnOffStyleType simple type (§5.1.12.36).

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

<complexType name="CT_TableStyleTextStyle">
	<sequence>
	<group ref="EG_ThemeableFontStyles" minOccurs="0" maxOccurs="1"/>
	<group ref="EG_ColorChoice" minOccurs="0" maxOccurs="1"/>
	<element name="extLst" type="CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="b" type="ST_OnOffStyleType" use="optional" default="def"/>
	<attribute name="i" type="ST_OnOffStyleType" use="optional" default="def"/>
</complexType>