| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codec.Xlsx.Parser.Internal
- data ParseException = ParseException String
- n :: Text -> Name
- class FromCursor a where
- class FromAttrVal a where
- fromAttribute :: FromAttrVal a => Name -> Cursor -> [a]
- maybeAttribute :: FromAttrVal a => Name -> Cursor -> [Maybe a]
- maybeElementValue :: FromAttrVal a => Name -> Cursor -> [Maybe a]
- maybeFromElement :: FromCursor a => Name -> Cursor -> [Maybe a]
- readSuccess :: a -> Either String (a, Text)
- readFailure :: Text -> Either String (a, Text)
- invalidText :: Text -> Text -> Either String (a, Text)
- defaultReadFailure :: Either String (a, Text)
- decimal :: Monad m => Text -> m Int
- rational :: Monad m => Text -> m Double
Documentation
class FromCursor a where Source #
Minimal complete definition
Methods
fromCursor :: Cursor -> [a] Source #
Instances
| FromCursor PageSetup Source # | See |
| FromCursor Pane Source # | See |
| FromCursor Selection Source # | See |
| FromCursor SheetView Source # | See |
| FromCursor Protection Source # | See |
| FromCursor Font Source # | See |
| FromCursor FillPattern Source # | See |
| FromCursor Fill Source # | See |
| FromCursor Color Source # | See |
| FromCursor BorderStyle Source # | |
| FromCursor Border Source # | See |
| FromCursor Alignment Source # | See |
| FromCursor CellXf Source # | See |
| FromCursor StyleSheet Source # | See |
| FromCursor RunProperties Source # | See |
| FromCursor RichTextRun Source # | See |
| FromCursor ColumnsWidth Source # | |
| FromCursor StringItem Source # | See |
| FromCursor SharedStringTable Source # | See The optional attributes |
class FromAttrVal a where Source #
Minimal complete definition
Methods
fromAttrVal :: Reader a Source #
Instances
| FromAttrVal Bool Source # | |
| FromAttrVal Double Source # | |
| FromAttrVal Int Source # | |
| FromAttrVal Text Source # | |
| FromAttrVal PaperSize Source # | See |
| FromAttrVal PageOrder Source # | See |
| FromAttrVal Orientation Source # | See |
| FromAttrVal PrintErrors Source # | See |
| FromAttrVal CellComments Source # | See |
| FromAttrVal PaneState Source # | See |
| FromAttrVal PaneType Source # | See |
| FromAttrVal SheetViewType Source # | See |
| FromAttrVal ReadingOrder Source # | |
| FromAttrVal PatternType Source # | |
| FromAttrVal LineStyle Source # | |
| FromAttrVal FontVerticalAlignment Source # | |
| FromAttrVal FontUnderline Source # | |
| FromAttrVal FontScheme Source # | |
| FromAttrVal FontFamily Source # | |
| FromAttrVal CellVerticalAlignment Source # | |
| FromAttrVal CellHorizontalAlignment Source # | |
fromAttribute :: FromAttrVal a => Name -> Cursor -> [a] Source #
required attribute parsing
maybeAttribute :: FromAttrVal a => Name -> Cursor -> [Maybe a] Source #
parsing optional attributes
maybeElementValue :: FromAttrVal a => Name -> Cursor -> [Maybe a] Source #
maybeFromElement :: FromCursor a => Name -> Cursor -> [Maybe a] Source #