excel

package module
v0.0.0-...-5744f8b Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2017 License: MIT Imports: 2 Imported by: 0

README

go-excel

Excel API Wrappings Over OLE

Documentation

Index

Constants

View Source
const (
	ContentTypeXLS  = "application/vnd.ms-excel"
	ContentTypeXLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell ole.IDispatch

func (*Cell) Set

func (c *Cell) Set(src interface{}) error

type Excel

type Excel ole.IDispatch

func NewExcel

func NewExcel() (*Excel, error)

func (*Excel) Quit

func (e *Excel) Quit() error

func (*Excel) Version

func (e *Excel) Version() (int, error)

func (*Excel) Workbooks

func (e *Excel) Workbooks() (*Workbooks, error)

type Workbook

type Workbook ole.IDispatch

func (*Workbook) SaveAs

func (w *Workbook) SaveAs(filename string, version int) error

func (*Workbook) Saved

func (w *Workbook) Saved(saved bool) error

func (*Workbook) Worksheet

func (w *Workbook) Worksheet(id int) (*Worksheet, error)

type Workbooks

type Workbooks ole.IDispatch

func (*Workbooks) Close

func (w *Workbooks) Close() error

func (*Workbooks) Workbook

func (w *Workbooks) Workbook(filename string) (*Workbook, error)

type Worksheet

type Worksheet ole.IDispatch

func (*Worksheet) Cell

func (w *Worksheet) Cell(x, y int) (*Cell, error)

Jump to

Keyboard shortcuts

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