Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
Defines a workbook that will contain one or more Worksheet elements.
Contains the style definitions for the current worksheet. This element is required for custom formatting; otherwise, it is optional.
Defines a single style in the current workbook. This element is required for custom formatting; otherwise, it is optional.
Defines the collection of named ranges within a workbook.
Defines a worksheet within the current workbook. At least one instance of this element is required for a valid XML spreadsheet.
Defines the collection of named ranges within a workbook or worksheet.
Defines a single named range within this workbook.
Specifies the name of a named range.
Specifies the range to which the name applies.
Defines a collection of font alignment attributes.
Specifies the left-to-right alignment of text within a cell.
Specifies the default right-to-left text entry mode for a cell.
Specifies the number of indents. This attribute is not supported by the Spreadsheet component.
Specifies the rotation of text within a cell.
Specifies whether text size should be shrunk so that all of the text fits within a cell.
Specifies the top-to-bottom alignment of text within a cell.
Specifies whether text characters are positioned to read vertically.
Specifies whether the text in a cell should wrap at the cell boundary.
Defines a single style in the current workbook. This element is required for custom formatting; otherwise, it is optional.
Specifies the font alignment attributes to use for cells to which the defined style is applied.
Defines the border properties to use for cells to which the defined style is applied.
Defines the font characteristics to use for cells to which the defined style is applied.
Defines the fill properties to use for cells to which the defined style is applied.
Defines the number format to use for cells to which the defined style is applied.
Defines the protection properties of cells to which the defined style is applied.
Defines a name that identifies a particular style. The special value of "Default" indicates that this style represents the default formatting in the workbook.
Specifies the name for a defined style. Duplicate names for different styles are not permitted.
Specifies a parent style from which the defined style should inherit format settings.
Defines the protection properties that should be used for cells to which the defined style is applied.
Specifies whether a cell is protected. When the worksheet is unprotected, enabling protection on individual cells has no effect.
Defines a container for individual Border elements.
Specifies the properties of a particular border within the Borders element.
Specifies the number format that should be in cells. The default value is General. All other number formats require a custom format code.
Specifies a number format code in the Excel number format syntax.
Defines the fill properties to use in a style.
Specifies the fill color of a cell.
Specifies the fill pattern of a cell.
Specifies the secondary fill color of a cell when the Pattern attribute does not equal Solid.
Contains an enumeration of the values that may appear in the Pattern attribute of the Interior element.
Defines the font attributes to use in a style.
Specifies whether a font is bold.
Specifies the color of a font.
Specifies the name of the font.
Specifies whether a font is italic.
Specifies whether a font is rendered as an outline. This property is used only on the Macintosh.
Specifies whether a font is shadowed. This property is used only on the Macintosh.
Specifies the size of a font in points.
Specifies whether a font is displayed using the strikethrough style.
Specifies whether a font is displayed underlined.
Specifies the vertical alignment of a font.
Specifies the properties of a particular border within the Borders element.
Specifies one of the six possible borders to use for cells.
Specifies the color of a border.
Specifies the style of a border.
Specifies the weight (or thickness) in points of a border.
Contains an enumeration of the values that may appear in the Position attribute of the Border element.
Defines the table to contain the cells that constitute a worksheet.
Defines the formatting and properties for one or more adjacent columns.
Specifies whether a column is automatically resized to fit numeric and date values. Columns are not resized to fit text data.
Specifies whether a column is hidden.
Specifies the position of a column in a table.
Specifies the number of adjacent columns with the same formatting as the defined column.
Contains a reference to an ID attribute previously defined in a Style element. Used to apply that defined style to a column.
Specifies the width of a column in points. This value must be greater than or equal to zero.
Defines the formatting and properties for one or more adjacent rows.
Specifies whether the height of a row is automatically resized to fit the contents of cells.
Specifies the height of a row in points. This value must be greater than or equal to zero.
Specifies whether a row is hidden.
Specifies the position of a row within a table.
Specifies the number of adjacent rows with the same formatting as the defined row.
Contains a reference to an ID attribute previously defined in a Style element. Used to apply that defined style to a row.
Specifies the default width in points of columns in a table.
Specifies the default height in points of rows in a table.
Specifies the total number of columns in a table. If included in an XML document, this attribute must have a value that is equal to the actual number of columns in the table for the document to be valid.
Specifies the total number of rows in a table. If included in an XML document, this attribute must have a value that is equal to the actual number of rows in the table for the document to be valid.
Contains a reference to an ID attribute previously defined in a Style element. Used to apply that defined style to a table.
Specifies the index of the column in a spreadsheet that defines the first column of a table. This value must be greater than zero.
Specifies the index of the row in a spreadsheet that defines the top row of a table. This value must be greater than zero.
Specifies that the columns in this table should occupy the entire height (all rows) of the worksheet.
Specifies that the rows in this table should occupy the entire width (all columns) of the worksheet.
Defines the properties of a cell in a worksheet.
Specifies the range of cells to which an array formula applies.
Specifies a formula for a cell.
Specifies a URL to which to which a cell is linked.
Specifies the column index of a cell.
Specifies the number of adjacent cells to merge with the current cell. The cells to merge will be to the right of the current cell unless the worksheet is set to display left-to-right.
Specifies the number of adjacent cells below the current cell that are to be merged with the current cell.
Contains a reference to an ID attribute previously defined in a Style element. Used to apply that defined style to a cell.
Specifies the value of a cell. The value should be specified in the format appropriate for the Type attribute of the cell.
Specifies the type of data to be contained by the cell.
Contains a comment to be associated with a cell.
Presence of this tag indicates that this cell is a member of a user-defined named range. When saved from Excel, this tag is only present on cells that are non-empty or contain formatting. This tag can appear multiple times (one for each user-defined name that this cell lies in).
Specifies a user-defined named range to which the cell belongs.
Contains the comment to be associated with this cell
Specifies the contents of the comment that is associated with a cell.
Specifies the author of a comment.
Specifies whether a comment is always displayed or is displayed only when the user rests the curser on the cell.
Defines a worksheet within the current workbook. An document must contain at least one instance of this element to be a valid XML Spreadsheet document.
Defines a collection of named ranges within a workbook or worksheet.
Defines the table to contain the cells of the current worksheet. Only one instance of a Table element is valid for a single worksheet.
Specifies the name of a worksheet. This value must be unique within the list of worksheet names of a given workbook.
Specifies whether a worksheet is protected. When protection is not enabled for a worksheet, protection settings for individual cells have no effect.
Specifies whether the worksheet window displays information from left to right or from right to left. If this attribute is set to display from right to left, column A in a worksheet is the first column on the right.
Defines a data type restricted to two values: true or false.
Specifies whether an element is visible. The Hidden attribute can be applied to the NamedRange, Column, and Row elements.
Defines a data type restricted to positive values.