xls

package
v0.0.0-...-02bc413 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package xls implements the bounded OLE2 primitives needed to read BIFF8 workbooks. It is intentionally internal and is not a general OLE library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell struct {
	Value string
	Error string
}

Cell is a decoded BIFF cell value. Error is non-empty for Excel error cells.

type Sheet

type Sheet struct {
	Name     string
	Rows     [][]Cell
	Presence [][]bool
}

Sheet is one materialized BIFF worksheet.

type Workbook

type Workbook struct {
	Sheets []Sheet
}

Workbook is a bounded, materialized BIFF8 workbook.

func Open

func Open(data []byte) (*Workbook, error)

Open parses the Workbook stream from an OLE2 compound file.

func OpenWithPresence

func OpenWithPresence(data []byte) (*Workbook, error)

OpenWithPresence parses the workbook and records stored cell positions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL