xls-0.1.3: Parse Microsoft Excel xls files (BIFF/Excel 97-2004)

Copyright(c) 2016 Harendra Kumar
LicenseBSD-style
Maintainerharendra.kumar@gmail.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Data.Xls

Description

Parse Microsoft excel spreadsheet xls file (format BIFF/Excel 97-2004).

Synopsis

Documentation

decodeXlsIO :: FilePath -> IO [[[String]]] Source #

Parse a Microsoft excel xls workbook file into a list of worksheets, each worksheet consists of a list of rows and each row consists of a list of cells. Cells are plain String.

Throws XlsException

decodeXls :: MonadResource m => FilePath -> ConduitM i [String] m () Source #

Parse a Microsoft excel xls workbook file into a Conduit yielding rows in a worksheet. Each row represented by a list of Strings, each String representing an individual cell.

Important Note: This API concatenates rows from all worksheets into a single stream. Please use the non-streaming decodeXlsIO API to get individual worksheets.

Throws XlsException