col element

Represents a column in a section. If all columns are not of equal width, a col element is required for each column and the space and num attributes of the cols element should not exist.

Usage

      
<col
	w="twipsMeasureType"
	space="twipsMeasureType"
/>

    

Element Information

Element type columnType
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name XML Document 2003

Elements and Attributes

Parent Elements

Element Description
cols Specifies the column properties for this section. If all the columns are of the same width, you need only to specify the number of columns (in the num attribute) and the space between columns (in the space attribute).

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
w twipsMeasureType optional Gets or sets the width of the column.
space twipsMeasureType optional Gets or sets the space between this column and the next column. Not required for the last column.

Definition

      
<xsd:element name="col" type="columnType" minOccurs="2" maxOccurs="45" >
</xsd:element>


    
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp