Categorygithub.com/xuri/excelize/v2
modulepackage
2.9.0
Repository: https://github.com/xuri/excelize.git
Documentation: pkg.go.dev

# README

Excelize logo

Build Status Code Coverage Go Report Card go.dev Licenses Donate

Excelize

Introduction

Excelize is a library written in pure Go providing a set of functions that allow you to write to and read from XLAM / XLSM / XLSX / XLTM / XLTX files. Supports reading and writing spreadsheet documents generated by Microsoft Excelâ„¢ 2007 and later. Supports complex components by high compatibility, and provided streaming API for generating or reading data from a worksheet with huge amounts of data. This library needs Go version 1.18 or later. There are some incompatible changes in the Go 1.21.0, the Excelize library can not working with that version normally, if you are using the Go 1.21.x, please upgrade to the Go 1.21.1 and later version. The full docs can be seen using go's built-in documentation tool, or online at go.dev and docs reference.

Basic Usage

Installation

go get github.com/xuri/excelize
  • If your packages are managed using Go Modules, please install with following command.
go get github.com/xuri/excelize/v2

Create spreadsheet

Here is a minimal example usage that will create spreadsheet file.

package main

import (
    "fmt"

    "github.com/xuri/excelize/v2"
)

func main() {
    f := excelize.NewFile()
    defer func() {
        if err := f.Close(); err != nil {
            fmt.Println(err)
        }
    }()
    // Create a new sheet.
    index, err := f.NewSheet("Sheet2")
    if err != nil {
        fmt.Println(err)
        return
    }
    // Set value of a cell.
    f.SetCellValue("Sheet2", "A2", "Hello world.")
    f.SetCellValue("Sheet1", "B2", 100)
    // Set active sheet of the workbook.
    f.SetActiveSheet(index)
    // Save spreadsheet by the given path.
    if err := f.SaveAs("Book1.xlsx"); err != nil {
        fmt.Println(err)
    }
}

Reading spreadsheet

The following constitutes the bare to read a spreadsheet document.

package main

import (
    "fmt"

    "github.com/xuri/excelize/v2"
)

func main() {
    f, err := excelize.OpenFile("Book1.xlsx")
    if err != nil {
        fmt.Println(err)
        return
    }
    defer func() {
        // Close the spreadsheet.
        if err := f.Close(); err != nil {
            fmt.Println(err)
        }
    }()
    // Get value from cell by given worksheet name and cell reference.
    cell, err := f.GetCellValue("Sheet1", "B2")
    if err != nil {
        fmt.Println(err)
        return
    }
    fmt.Println(cell)
    // Get all the rows in the Sheet1.
    rows, err := f.GetRows("Sheet1")
    if err != nil {
        fmt.Println(err)
        return
    }
    for _, row := range rows {
        for _, colCell := range row {
            fmt.Print(colCell, "\t")
        }
        fmt.Println()
    }
}

Add chart to spreadsheet file

With Excelize chart generation and management is as easy as a few lines of code. You can build charts based on data in your worksheet or generate charts without any data in your worksheet at all.

Excelize

package main

import (
    "fmt"

    "github.com/xuri/excelize/v2"
)

func main() {
    f := excelize.NewFile()
    defer func() {
        if err := f.Close(); err != nil {
            fmt.Println(err)
        }
    }()
    for idx, row := range [][]interface{}{
        {nil, "Apple", "Orange", "Pear"}, {"Small", 2, 3, 3},
        {"Normal", 5, 2, 4}, {"Large", 6, 7, 8},
    } {
        cell, err := excelize.CoordinatesToCellName(1, idx+1)
        if err != nil {
            fmt.Println(err)
            return
        }
        f.SetSheetRow("Sheet1", cell, &row)
    }
    if err := f.AddChart("Sheet1", "E1", &excelize.Chart{
        Type: excelize.Col3DClustered,
        Series: []excelize.ChartSeries{
            {
                Name:       "Sheet1!$A$2",
                Categories: "Sheet1!$B$1:$D$1",
                Values:     "Sheet1!$B$2:$D$2",
            },
            {
                Name:       "Sheet1!$A$3",
                Categories: "Sheet1!$B$1:$D$1",
                Values:     "Sheet1!$B$3:$D$3",
            },
            {
                Name:       "Sheet1!$A$4",
                Categories: "Sheet1!$B$1:$D$1",
                Values:     "Sheet1!$B$4:$D$4",
            }},
        Title: []excelize.RichTextRun{
            {
                Text: "Fruit 3D Clustered Column Chart",
            },
        },
    }); err != nil {
        fmt.Println(err)
        return
    }
    // Save spreadsheet by the given path.
    if err := f.SaveAs("Book1.xlsx"); err != nil {
        fmt.Println(err)
    }
}

Add picture to spreadsheet file

package main

import (
    "fmt"
    _ "image/gif"
    _ "image/jpeg"
    _ "image/png"

    "github.com/xuri/excelize/v2"
)

func main() {
    f, err := excelize.OpenFile("Book1.xlsx")
    if err != nil {
        fmt.Println(err)
        return
    }
    defer func() {
        // Close the spreadsheet.
        if err := f.Close(); err != nil {
            fmt.Println(err)
        }
    }()
    // Insert a picture.
    if err := f.AddPicture("Sheet1", "A2", "image.png", nil); err != nil {
        fmt.Println(err)
    }
    // Insert a picture to worksheet with scaling.
    if err := f.AddPicture("Sheet1", "D2", "image.jpg",
        &excelize.GraphicOptions{ScaleX: 0.5, ScaleY: 0.5}); err != nil {
        fmt.Println(err)
    }
    // Insert a picture offset in the cell with printing support.
    enable, disable := true, false
    if err := f.AddPicture("Sheet1", "H2", "image.gif",
        &excelize.GraphicOptions{
            PrintObject:     &enable,
            LockAspectRatio: false,
            OffsetX:         15,
            OffsetY:         10,
            Locked:          &disable,
        }); err != nil {
        fmt.Println(err)
    }
    // Save the spreadsheet with the origin path.
    if err = f.Save(); err != nil {
        fmt.Println(err)
    }
}

Contributing

Contributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature or change. XML is compliant with part 1 of the 5th edition of the ECMA-376 Standard for Office Open XML.

Licenses

This program is under the terms of the BSD 3-Clause License. See https://opensource.org/licenses/BSD-3-Clause.

The Excel logo is a trademark of Microsoft Corporation. This artwork is an adaptation.

gopher.{ai,svg,png} was created by Takuya Ueda. Licensed under the Creative Commons 3.0 Attributions license.

# Functions

CellNameToCoordinates converts alphanumeric cell name to [X, Y] coordinates or returns an error.
ColumnNameToNumber provides a function to convert Excel sheet column name (case-insensitive) to int.
ColumnNumberToName provides a function to convert the integer to Excel sheet column title.
CoordinatesToCellName converts [X, Y] coordinates to alpha-numeric cell name or returns an error.
Decrypt API decrypts the CFB file format with ECMA-376 agile encryption and standard encryption.
Encrypt API encrypt data with the password.
ExcelDateToTime converts a float-based Excel date representation to a time.Time.
HSLToRGB converts an HSL triple to an RGB triple.
JoinCellName joins cell name from column name and row number.
NewDataValidation return data validation struct.
NewFile provides a function to create new file by default template.
NewStack create a new stack.
OpenFile take the name of a spreadsheet file and returns a populated spreadsheet file struct for it.
OpenReader read data stream from io.Reader and return a populated spreadsheet file.
RGBToHSL converts an RGB triple to an HSL triple.
SplitCellName splits cell name to column name and row number.
ThemeColor applied the color with tint value.

# Constants

This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
Formula argument types enumeration.
Formula argument types enumeration.
Formula argument types enumeration.
Formula argument types enumeration.
Formula argument types enumeration.
Formula argument types enumeration.
Formula argument types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
Cell value types enumeration.
Cell value types enumeration.
Cell value types enumeration.
Cell value types enumeration.
Cell value types enumeration.
Cell value types enumeration.
Cell value types enumeration.
Cell value types enumeration.
Chart data labels positions types enumeration.
Chart data labels positions types enumeration.
Chart data labels positions types enumeration.
Chart data labels positions types enumeration.
Chart data labels positions types enumeration.
Chart data labels positions types enumeration.
Chart data labels positions types enumeration.
Chart data labels positions types enumeration.
Chart data labels positions types enumeration.
Chart data labels positions types enumeration.
This section defines the currently supported chart line types enumeration.
This section defines the currently supported chart line types enumeration.
This section defines the currently supported chart line types enumeration.
This section defines the currently supported chart line types enumeration.
This section defines the supported chart tick label position types enumeration.
This section defines the supported chart tick label position types enumeration.
This section defines the supported chart tick label position types enumeration.
This section defines the supported chart tick label position types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
Color transformation types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
This section defines the currently supported chart types enumeration.
This section defines the currently supported country code types enumeration for apply number format.
This section defines the currently supported country code types enumeration for apply number format.
This section defines the currently supported country code types enumeration for apply number format.
Data validation error styles.
Data validation error styles.
Data validation error styles.
Data validation operators.
Data validation operators.
Data validation operators.
Data validation operators.
Data validation operators.
Data validation operators.
Data validation operators.
Data validation operators.
Data validation types.
Data validation types.
Data validation types.
Data validation types.
Data validation types.
Data validation types.
Data validation types.
Data validation types.
This section defines the currently supported chart types enumeration.
Define the default cell size and EMU unit of measurement.
The following constants defined the extLst child element ([ISO/IEC29500-1:2016] section 18.2.10) of the workbook and worksheet elements extended by the addition of new child ext elements.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
This section defines the currently supported form control types enumeration.
This section defines the currently supported form control types enumeration.
This section defines the currently supported form control types enumeration.
This section defines the currently supported form control types enumeration.
This section defines the currently supported form control types enumeration.
This section defines the currently supported form control types enumeration.
This section defines the currently supported form control types enumeration.
This section defines the currently supported form control types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Insert picture types.
Insert picture types.
Insert picture types.
Insert picture types.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
STCellFormulaTypeArray defined the formula is an array formula.
STCellFormulaTypeDataTable defined the formula is a data table formula.
STCellFormulaTypeNormal defined the formula is a regular cell formula.
STCellFormulaTypeShared defined the formula is part of a shared formula.
Excel specifications and limits.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
Source relationship and namespace.
This section defines the currently supported chart types enumeration.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
Excel specifications and limits.
This section defines the currently supported chart types enumeration.
This section defines the currently supported chart types enumeration.

# Variables

ErrAddVBAProject defined the error message on add the VBA project in the workbook.
ErrAttrValBool defined the error message on marshal and unmarshal boolean type XML attribute.
ErrCellCharsLength defined the error message for receiving a cell characters length that exceeds the limit.
ErrCellStyles defined the error message on cell styles exceeds the limit.
ErrColumnNumber defined the error message on receive an invalid column number.
ErrColumnWidth defined the error message on receive an invalid column width.
ErrCoordinates defined the error message on invalid coordinates tuples length.
ErrCustomNumFmt defined the error message on receive the empty custom number format.
ErrDataValidationFormulaLength defined the error message for receiving a data validation formula length that exceeds the limit.
ErrDataValidationRange defined the error message on set decimal range exceeds limit.
ErrDefinedNameDuplicate defined the error message on the same name already exists on the scope.
ErrDefinedNameScope defined the error message on not found defined name in the given scope.
ErrExistsSheet defined the error message on given sheet already exists.
ErrExistsTableName defined the error message on given table already exists.
ErrFontLength defined the error message on the length of the font family name overflow.
ErrFontSize defined the error message on the size of the font is invalid.
ErrFormControlValue defined the error message for receiving a scroll value exceeds limit.
ErrGroupSheets defined the error message on group sheets.
ErrImgExt defined the error message on receive an unsupported image extension.
ErrInvalidFormula defined the error message on receive an invalid formula.
ErrMaxFilePathLength defined the error message on receive the file path length overflow.
ErrMaxRowHeight defined the error message on receive an invalid row height.
ErrMaxRows defined the error message on receive a row number exceeds maximum limit.
ErrNameLength defined the error message on receiving the defined name or table name length exceeds the limit.
ErrOptionsUnzipSizeLimit defined the error message for receiving invalid UnzipSizeLimit and UnzipXMLSizeLimit.
ErrOutlineLevel defined the error message on receive an invalid outline level number.
ErrParameterInvalid defined the error message on receive the invalid parameter.
ErrParameterRequired defined the error message on receive the empty parameter.
ErrPasswordLengthInvalid defined the error message on invalid password length.
ErrPivotTableClassicLayout defined the error message on enable ClassicLayout and CompactData in the same time.
ErrSave defined the error message for saving file.
ErrSheetIdx defined the error message on receive the invalid worksheet index.
ErrSheetNameBlank defined the error message on receive the blank sheet name.
ErrSheetNameInvalid defined the error message on receive the sheet name contains invalid characters.
ErrSheetNameLength defined the error message on receiving the sheet name length exceeds the limit.
ErrSheetNameSingleQuote defined the error message on the first or last character of the sheet name was a single quote.
ErrSparkline defined the error message on receive the invalid sparkline parameters.
ErrSparklineLocation defined the error message on missing Location parameters.
ErrSparklineRange defined the error message on missing sparkline Range parameters.
ErrSparklineStyle defined the error message on receive the invalid sparkline Style parameters.
ErrSparklineType defined the error message on receive the invalid sparkline Type parameters.
ErrStreamSetColWidth defined the error message on set column width in stream writing mode.
ErrStreamSetPanes defined the error message on set panes in stream writing mode.
ErrTotalSheetHyperlinks defined the error message on hyperlinks count overflow.
ErrUnknownEncryptMechanism defined the error message on unsupported encryption mechanism.
ErrUnprotectSheet defined the error message on worksheet has set no protection.
ErrUnprotectSheetPassword defined the error message on remove sheet protection with password verification failed.
ErrUnprotectWorkbook defined the error message on workbook has set no protection.
ErrUnprotectWorkbookPassword defined the error message on remove workbook protection with password verification failed.
ErrUnsupportedEncryptMechanism defined the error message on unsupported encryption mechanism.
ErrUnsupportedHashAlgorithm defined the error message on unsupported hash algorithm.
ErrUnsupportedNumberFormat defined the error message on unsupported number format expression.
ErrWorkbookFileFormat defined the error message on receive an unsupported workbook file format.
ErrWorkbookPassword defined the error message on receiving the incorrect workbook password.
HSLModel converts any color.Color to a HSL color.
IndexedColorMapping is the table of default mappings from indexed color value to RGB value.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.
Source relationship and namespace list, associated prefixes and schema in which it was introduced.

# Structs

Alignment directly maps the alignment settings of the cells.
AppProperties directly maps the document application properties.
AutoFilterOptions directly maps the auto filter settings.
Border directly maps the border settings of the cells.
Cell can be used directly in StreamWriter.SetRow to specify a style and a value.
Chart directly maps the format settings of the chart.
ChartAxis directly maps the format settings of the chart axis.
ChartDimension directly maps the dimension of the chart.
ChartLegend directly maps the format settings of the chart legend.
ChartLine directly maps the format settings of the chart line.
ChartMarker directly maps the format settings of the chart marker.
ChartNumFmt directly maps the number format settings of the chart.
ChartPlotArea directly maps the format settings of the plot area.
ChartSeries directly maps the format settings of the chart series.
Cols defines an iterator to a sheet.
Comment directly maps the comment information.
ConditionalFormatOptions directly maps the conditional format settings of the cells.
DataIntegrity specifies the encrypted copies of the salt and hash values used to help ensure that the integrity of the encrypted data has not been compromised.
DataValidation directly maps the settings of the data validation rule.
DefinedName directly maps the name for a cell or cell range on a worksheet.
DocProperties directly maps the document core properties.
EncryptedKey used to generate the encrypting key.
Encryption specifies the encryption structure, streams, and storages are required when encrypting ECMA-376 documents.
ErrSheetNotExist defined an error of sheet that does not exist.
File define a populated spreadsheet file struct.
Fill directly maps the fill settings of the cells.
Font directly maps the font settings of the fonts.
FormControl directly maps the form controls information.
FormulaOpts can be passed to SetCellFormula to use other formula types.
GraphicOptions directly maps the format settings of the picture.
HeaderFooterOptions directly maps the settings of header and footer.
HSL represents a cylindrical coordinate of points in an RGB color model.
HyperlinkOpts can be passed to SetCellHyperlink to set optional hyperlink attributes (e.g.
KeyData specifies the cryptographic attributes used to encrypt the data.
KeyEncryptor specifies that the schema used by this encryptor is the schema specified for password-based encryptors.
KeyEncryptors specifies the key encryptors used to encrypt the data.
Options define the options for opening and reading the spreadsheet.
PageLayoutMarginsOptions directly maps the settings of page layout margins.
PageLayoutOptions directly maps the settings of page layout.
Panes directly maps the settings of the panes.
Picture maps the format settings of the picture.
PivotTableField directly maps the field settings of the pivot table.
PivotTableOptions directly maps the format settings of the pivot table.
Protection directly maps the protection settings of the cells.
RichTextRun directly maps the settings of the rich text run.
RowOpts define the options for the set row, it can be used directly in StreamWriter.SetRow to specify the style and properties of the row.
Rows defines an iterator to a sheet.
Selection directly maps the settings of the worksheet selection.
Shape directly maps the format settings of the shape.
ShapeLine directly maps the line settings of the shape.
SheetPropsOptions directly maps the settings of sheet view.
SheetProtectionOptions directly maps the settings of worksheet protection.
SlicerOptions represents the settings of the slicer.
SparklineOptions directly maps the settings of the sparkline.
Stack defined an abstract data type that serves as a collection of elements.
StandardEncryptionHeader structure is used by ECMA-376 document encryption [ECMA-376] and Office binary document RC4 CryptoAPI encryption, to specify encryption properties for an encrypted stream.
StandardEncryptionVerifier structure is used by Office Binary Document RC4 CryptoAPI Encryption and ECMA-376 Document Encryption.
StreamWriter defined the type of stream writer.
Style directly maps the style settings of the cells.
Table directly maps the format settings of the table.
ViewOptions directly maps the settings of sheet view.
WorkbookPropsOptions directly maps the settings of workbook proprieties.
WorkbookProtectionOptions directly maps the settings of workbook protection.

# Type aliases

ArgType is the type of formula argument type.
CellType is the type of cell value type.
ChartDataLabelPositionType is the type of chart data labels position.
ChartLineType is the type of supported chart line types.
ChartTickLabelPositionType is the type of supported chart tick label position types.
ChartType is the type of supported chart types.
ColorMappingType is the type of color transformation.
CultureName is the type of supported language country codes types for apply number format.
DataValidationErrorStyle defined the style of data validation error alert.
DataValidationOperator operator enum.
DataValidationType defined the type of data validation.
FormControlType is the type of supported form controls.
MergeCell define a merged cell data.
PictureInsertType defines the type of the picture has been inserted into the worksheet.