# PTLineItem element

Describes the layout of one row or column line in the PivotTable view.

## Usage

    <PTLineItem />

## Element Information

Element type | PTLineItemType
Namespace | urn:schemas-microsoft-com:office:excel
Schema name | XML Spreadsheet 2000

## Elements and Attributes

### Parent Elements

Element | Description
--- | ---
PTLineItems | Contains information describing the detailed layout of a PivotTable view.

### Child Elements

Element | Description
--- | ---
ItemType | Specifies the type of data that is to appear in this row or column in the PivotTable view.
DataField | Specifies which data field (of the PivotField items) this PTLineItem represents.
BlockTotal | Contains a Boolean indicating if this PTLineItem is for a block total (a special type of subtotal displayed at the bottom of the PivotTable view).
CountOfSameItems | Indicates how many repetitions of the outside header are required where columns or rows have multiple headers.
Item | Contains the index for PivotItems.

### Attributes

None.

## Definition

    <xsd:element name="PTLineItem" type="PTLineItemType" maxOccurs="unbounded" >
    </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