| Safe Haskell | Safe-Infered |
|---|
Codec.Xlsx
- data Xlsx = Xlsx {}
- data WorksheetFile = WorksheetFile {}
- data Styles = Styles ByteString
- data ColumnsWidth = ColumnsWidth {}
- type RowHeights = Map Int Double
- data Worksheet = Worksheet {}
- data CellValue
- data Cell = Cell {}
- data CellData = CellData {}
- int2col :: Int -> Text
- col2int :: Text -> Int
- foldRows :: (Int -> Int -> Maybe CellData -> a -> a) -> a -> Worksheet -> a
- toList :: Worksheet -> [[Maybe CellData]]
- fromList :: Text -> [ColumnsWidth] -> RowHeights -> [[Maybe CellData]] -> Worksheet
Documentation
Constructors
| Xlsx | |
Fields
| |
type RowHeights = Map Int DoubleSource
Constructors
| Worksheet | |
Fields
| |
Constructors
| CellText Text | |
| CellDouble Double | |
| CellLocalTime LocalTime |
convert column number (starting from 1) to its textual form (e.g. 3 -> C)
foldRows :: (Int -> Int -> Maybe CellData -> a -> a) -> a -> Worksheet -> aSource
fold worksheet by row, then by column, so for region A1:B2 you'll get fold order like A1, A2, B1, B2
fromList :: Text -> [ColumnsWidth] -> RowHeights -> [[Maybe CellData]] -> WorksheetSource