Compartir a través de


TableLook Class

Defines the TableLook Class.When the object is serialized out as xml, its qualified name is w:tblLook.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.TableLook

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

Syntax

'Declaración
Public Class TableLook _
    Inherits OpenXmlLeafElement
'Uso
Dim instance As TableLook
public class TableLook : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1ª edición]

17.4.55 tblLook (Table Style Conditional Formatting Settings Exception)

This element specifies the components of the conditional formatting of the referenced table style (if one exists) which shall be applied to the set of table rows with the current table-level property exceptions. A table style can specify up to six different optional conditional formats [Example: Different formatting for first column. end example], which then can be applied or omitted from individual table rows in the parent table.

The default setting is to apply the row and column banding formatting, but not the first row, last row, first column, or last column formatting.

[Example: Consider a table which must use the following conditional formatting properties from the referenced table style:

  • First row conditional formatting

  • Last row conditional formatting

  • No row banding formatting

  • No column banding formatting

The resulting WordprocessingML would be specified as follows:

<w:tblPrEx>
<w:tblLook w:firstRow="true" w:lastRow="true" w:noHBand="true"  w:noVBand="true" />
</w:tblPrEx>

The tblLook element specifies which components of the table style are applied to the current table. end example]

Parent Elements

tblPrEx (§17.4.61); tblPrEx (§17.4.62)

Attributes

Description

firstColumn (First Column)

Specifies that the first column conditional formatting shall be applied to the table.

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

firstRow (First Row)

Specifies that the first row conditional formatting shall be applied to the table.

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

lastColumn (Last Column)

Specifies that the last column conditional formatting shall be applied to the table.

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

lastRow (Last Row)

Specifies that the last row conditional formatting shall be applied to the table.

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

noHBand (No Horizontal Banding)

Specifies that the horizontal banding conditional formatting shall not be applied to the table.

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

noVBand (No Vertical Banding)

Specifies that the vertical banding conditional formatting shall not be applied to the table.

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

[Note: The W3C XML Schema definition of this element's content model (CT_TblLook) is located in §A.1. end note]

[ISO/IEC 29500-1 1ª edición]

17.4.56 tblLook (Table Style Conditional Formatting Settings)

This element specifies the components of the conditional formatting of the referenced table style (if one exists) which shall be applied to the current table. A table style can specify up to six different optional conditional formats [Example: Different formatting for first column. end example], which then can be applied or omitted from individual tables in the document.

The default setting is to apply the row and column banding formatting, but not the first row, last row, first column, or last column formatting.

[Example: Consider a table which must use the following conditional formatting properties from the referenced table style:

  • First row conditional formatting

  • Last row conditional formatting

  • No row banding formatting

  • No column banding formatting

The resulting WordprocessingML would be specified as follows:

<w:tblPr>
<w:tblLook  w:firstRow="true" w:lastRow="true" w:noHBand="true" w:noVBand="true" />
</w:tblPr>

The tblLook element specifies which components of the table style are applied to the current table. end example]

Parent Elements

tblPr (§17.4.60); tblPr (§17.4.59); tblPr (§17.7.6.4); tblPr (§17.7.6.3)

Attributes

Description

firstColumn (First Column)

Specifies that the first column conditional formatting shall be applied to the table.

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

firstRow (First Row)

Specifies that the first row conditional formatting shall be applied to the table.

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

lastColumn (Last Column)

Specifies that the last column conditional formatting shall be applied to the table.

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

lastRow (Last Row)

Specifies that the last row conditional formatting shall be applied to the table.

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

noHBand (No Horizontal Banding)

Specifies that the horizontal banding conditional formatting shall not be applied to the table.

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

noVBand (No Vertical Banding)

Specifies that the vertical banding conditional formatting shall not be applied to the table.

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

[Note: The W3C XML Schema definition of this element's content model (CT_TblLook) is located in §A.1. end note]

© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

Thread Safety

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

See Also

Reference

TableLook Members

DocumentFormat.OpenXml.Wordprocessing Namespace