xlsx

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(wb *sheet.Workbook) ([]byte, error)

Export renders a workbook to .xlsx bytes. Cells whose raw starts with '=' become formulas; numeric-looking raw is written as a number, the rest as a string. Cell styles, column widths / row heights, merged ranges and freeze panes are carried over.

func Import

func Import(r io.Reader) (sheet.WorkbookSnapshot, error)

Import parses an .xlsx into a WorkbookSnapshot. Sheet id == sheet name. Cells carry their raw value, or "=<formula>" when a formula is present. Cell styles (allowlisted props only), column widths / row heights, merged ranges and freeze panes are imported.

Types

This section is empty.

Jump to

Keyboard shortcuts

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