xlsx-0.7.2: Simple and incomplete Excel file parser/writer

Safe HaskellNone
LanguageHaskell2010

Codec.Xlsx.Parser.Internal.Fast

Documentation

class FromXenoNode a where #

Minimal complete definition

fromXenoNode

Methods

fromXenoNode :: Node -> Either Text a #

Instances

FromXenoNode Color # 
FromXenoNode RunProperties # 
FromXenoNode RichTextRun # 
FromXenoNode SheetProtection # 
FromXenoNode PageSetup # 
FromXenoNode Formula # 
FromXenoNode XlsxText # 
FromXenoNode Pane # 
FromXenoNode Selection # 
FromXenoNode SheetView # 
FromXenoNode DataValidation # 
FromXenoNode DvPair # 
FromXenoNode CfRule # 
FromXenoNode DataBarOptions # 
FromXenoNode IconSetOptions # 
FromXenoNode MaxCfValue # 
FromXenoNode MinCfValue # 
FromXenoNode CfValue # 
FromXenoNode CfPair # 
FromXenoNode FormulaData # 
FromXenoNode AutoFilter # 
FromXenoNode CustomFilter # 
FromXenoNode FilterCriterion # 
FromXenoNode ColumnsProperties # 
FromXenoNode (Int, FilterColumn) # 

collectChildren :: Node -> ChildCollector a -> Either Text a #

maybeChild :: ByteString -> ChildCollector (Maybe Node) #

requireChild :: ByteString -> ChildCollector Node #

childList :: ByteString -> ChildCollector [Node] #

maybeFromChild :: FromXenoNode a => ByteString -> ChildCollector (Maybe a) #

fromChild :: FromXenoNode a => ByteString -> ChildCollector a #

fromChildList :: FromXenoNode a => ByteString -> ChildCollector [a] #

maybeParse :: ByteString -> (Node -> Either Text a) -> ChildCollector (Maybe a) #

requireAndParse :: ByteString -> (Node -> Either Text a) -> ChildCollector a #

maybeElementVal :: FromAttrBs a => ByteString -> ChildCollector (Maybe a) #

toAttrParser :: Either Text a -> AttrParser a #

parseAttributes :: Node -> AttrParser a -> Either Text a #

class FromAttrBs a where #

Minimal complete definition

fromAttrBs

Instances

FromAttrBs Bool # 
FromAttrBs Double # 
FromAttrBs Int # 
FromAttrBs ByteString # 
FromAttrBs Text # 
FromAttrBs FontVerticalAlignment # 
FromAttrBs FontUnderline # 
FromAttrBs FontScheme # 
FromAttrBs FontFamily # 
FromAttrBs LegacyPassword # 
FromAttrBs PaperSize # 
FromAttrBs PageOrder # 
FromAttrBs Orientation # 
FromAttrBs PrintErrors # 
FromAttrBs CellComments # 
FromAttrBs RefId # 
FromAttrBs ErrorType # 
FromAttrBs Formula # 
FromAttrBs SqRef # 
FromAttrBs CellRef # 
FromAttrBs PaneState # 
FromAttrBs PaneType # 
FromAttrBs SheetViewType # 
FromAttrBs ErrorStyle # 
FromAttrBs IconSetType # 
FromAttrBs NStdDev # 
FromAttrBs Inclusion # 
FromAttrBs TimePeriod # 
FromAttrBs SharedFormulaIndex # 
FromAttrBs DynFilterType # 
FromAttrBs CustomFilterOperator # 
FromAttrBs FilterByBlank # 

maybeAttr :: FromAttrBs a => ByteString -> AttrParser (Maybe a) #

fromAttr :: FromAttrBs a => ByteString -> AttrParser a #

fromAttrDef :: FromAttrBs a => ByteString -> a -> AttrParser a #

nsPrefixes :: Node -> NsPrefixes #

addPrefix :: NsPrefixes -> ByteString -> ByteString -> ByteString #