Freigeben über


TableLayout-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
Public Class TableLayout _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As TableLayout
public class TableLayout : OpenXmlLeafElement

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

17.4.53 tblLayout (Table Layout)

This element specifies the algorithm which shall be used to lay out the contents of this table within the document. When a table is displayed in a document, it can either be displayed using a fixed width or autofit layout algorithm (each discussed in the simple type referenced by the val attribute).

If this element is omitted, then the value of this element shall be assumed to be auto.

[Example: Consider a table which must use the fixed width table layout algorithm. This requirement is specified using the following WordprocessingML:

<w:tblPr>
<w:tblLayout w:type="fixed"/>
</w:tblPr>

The tblLayout element specifies that the table must use the fixed layout algorithm. end example]

Parent Elements

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

Attributes

Description

type (Table Layout Setting)

Specifies the algorithm which shall be used to lay out the contents of the parent table (see simple type definition for details on each algorithm used).

[Example: Consider a table which must use the AutoFit width table layout algorithm. This requirement is specified using the following WordprocessingML:

<w:tblPr>
<w:tblLayout w:type="autofit"/>
</w:tblPr>

The tblLayout element specifies that the table must use the auto layout algorithm. end example]

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

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

[ISO/IEC 29500-1 1. Ausgabe]

17.4.54 tblLayout (Table Layout Exception)

This element specifies the algorithm which shall be used to lay out the contents of all rows with this table within the table which have the set of table-level property exceptions specified by the parent element. When a table is displayed in a document, it can either be displayed using a fixed width or autofit layout algorithm (each discussed in the simple type referenced by the val attribute).

If this element is omitted, then the value of this element shall be assumed to be auto.

[Example: Consider a table which must use the fixed width table layout algorithm. This requirement is specified using the following WordprocessingML:

<w:tblPrEx>
<w:tblLayout w:type="fixed"/>
</w:tblPrEx>

The tblLayout element specifies that the table must use the fixed layout algorithm. end example]

Parent Elements

tblPrEx (§17.4.61); tblPrEx (§17.4.62)

Attributes

Description

type (Table Layout Setting)

Specifies the algorithm which shall be used to lay out the contents of the parent table (see simple type definition for details on each algorithm used).

[Example: Consider a table which must use the AutoFit width table layout algorithm. This requirement is specified using the following WordprocessingML:

<w:tblPr>
<w:tblLayout w:type="autofit"/>
</w:tblPr>

The tblLayout element specifies that the table must use the auto layout algorithm. end example]

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

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

TableLayout-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace