Copyright | (c) 2016 Harendra Kumar |
---|---|
License | BSD-style |
Maintainer | harendra.kumar@gmail.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Parse Microsoft excel spreadsheet xls file (format BIFF/Excel 97-2004).
Synopsis
- decodeXlsIO :: FilePath -> IO [[[String]]]
- decodeXls :: MonadResource m => FilePath -> ConduitM i [String] m ()
- data XlsException
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
data XlsException Source #
Instances
Show XlsException Source # | |
Defined in Data.Xls showsPrec :: Int -> XlsException -> ShowS # show :: XlsException -> String # showList :: [XlsException] -> ShowS # | |
Exception XlsException Source # | |
Defined in Data.Xls |