Sheet class
Sheet Information. When the object is serialized out as xml, its qualified name is x:sheet.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Spreadsheet.Sheet
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
sheet (Sheet Information)
This element defines a sheet in this workbook. Sheet data is stored in a separate part.
Parent Elements |
|---|
sheets (§18.2.20) |
Attributes | Description |
|---|---|
id (Relationship Id) Namespace: .../officeDocument/2006/relationships | Specifies the identifier of the sheet part where the definition for this sheet is stored. This attribute is required. The possible values for this attribute are defined by the ST_RelationshipId simple type (§22.8.2.1). |
name (Sheet Name) | Specifies the name of the sheet. This name shall be unique. This attribute is required. The possible values for this attribute are defined by the ST_Xstring simple type (§22.9.2.19). |
sheetId (Sheet Tab Id) | Specifies the internal identifier for the sheet. This identifier shall be unique. This attribute is required. The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype. |
state (Visible State) | Specifies the visible state of this sheet. The default value for this attribute is "visible." The possible values for this attribute are defined by the ST_SheetState simple type (§18.18.68). |
[Note: The W3C XML Schema definition of this element’s content model (CT_Sheet) is located in §A.2. end note]
© ISO/IEC29500: 2008.