# PTPivotData element

Contains a description of the state of PivotTable data, including whether members are expanded and the position of a view.

## Usage

    <PTPivotData />

## Element Information

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

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
Top | Specifies the vertical position of an object within a chart area or Chart component, or for a PivotList component, the row index visible at the top of a cell or view.
Left | Specifies the horizontal position of an object within the chart area or Chart component, or for a PivotList component, the column index of the first visible detail column, or the index of the member visible at the left of a view.
InvertedRowMember | Specifies whether a row member has a different expanded state than its default state.
InvertedColumnMember | Specifies whether a column member has a different expanded state than its default state.
LeafRowMember | Contains the properties of a leaf row member that has been expanded or collapsed since the view's state changed.
LeafColumnMember | Contains the properties of a leaf column member that has been expanded or collapsed since the view's state changed.
Column | Specifies the index of a row page break in a worksheet, or for a PivotList component, represents a column of cells.

### Attributes

None.

## Definition

    <xsd:element name="PTPivotData" >
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="Top" type="xsd:int" minOccurs="0">
          </xsd:element>
          <xsd:element name="Left" type="xsd:int" minOccurs="0">
          </xsd:element>
          <xsd:element name="InvertedRowMember" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
          </xsd:element>
          <xsd:element name="InvertedColumnMember" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
          </xsd:element>
          <xsd:element name="LeafRowMember" type="LeafRowMemberType" minOccurs="0" maxOccurs="unbounded">
          </xsd:element>
          <xsd:element name="LeafColumnMember" type="LeafColumnMemberType" minOccurs="0" maxOccurs="unbounded">
          </xsd:element>
          <xsd:element name="Column" type="ColumnType" minOccurs="0" maxOccurs="unbounded">
          </xsd:element>
        </xsd:sequence>
      </xsd:complexType>
    </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