excel

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExcelStreamParser

type ExcelStreamParser struct {
	// contains filtered or unexported fields
}

ExcelStreamParser implements an Excel parser

func DefaultExcelStreamParser added in v1.1.3

func DefaultExcelStreamParser() *ExcelStreamParser

DefaultExcelStreamParser creates a new Excel parser

func (*ExcelStreamParser) GetSupportedTypes

func (p *ExcelStreamParser) GetSupportedTypes() []string

GetSupportedTypes returns supported formats

func (*ExcelStreamParser) Parse

func (p *ExcelStreamParser) Parse(ctx context.Context, content []byte, metadata map[string]any) (*core.Document, error)

Parse implements core.Parser interface.

func (*ExcelStreamParser) ParseStream

func (p *ExcelStreamParser) ParseStream(ctx context.Context, r io.Reader, metadata map[string]any) (<-chan *core.Document, error)

ParseStream reads the incoming io.Reader and yields chunks of the document via a channel

func (*ExcelStreamParser) Supports

func (p *ExcelStreamParser) Supports(contentType string) bool

Jump to

Keyboard shortcuts

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