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

Safe Haskell | None
Language | Haskell2010

Codec.Xlsx.Parser.Internal.Fast

# Documentation

class FromXenoNode a where Source #

Methods

fromXenoNode :: Node -> Either Text a Source #

#### Instances

Instances details

FromXenoNode ColumnsProperties Source # |
Instance details Defined in Codec.Xlsx.Types Methods fromXenoNode :: Node -> Either Text ColumnsProperties Source #
FromXenoNode AutoFilter Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromXenoNode :: Node -> Either Text AutoFilter Source #
FromXenoNode CustomFilter Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromXenoNode :: Node -> Either Text CustomFilter Source #
FromXenoNode FilterCriterion Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromXenoNode :: Node -> Either Text FilterCriterion Source #
FromXenoNode Formula Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromXenoNode :: Node -> Either Text Formula Source #
FromXenoNode XlsxText Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromXenoNode :: Node -> Either Text XlsxText Source #
FromXenoNode CfRule Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromXenoNode :: Node -> Either Text CfRule Source #
FromXenoNode CfValue Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromXenoNode :: Node -> Either Text CfValue Source #
FromXenoNode DataBarOptions Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromXenoNode :: Node -> Either Text DataBarOptions Source #
FromXenoNode IconSetOptions Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromXenoNode :: Node -> Either Text IconSetOptions Source #
FromXenoNode MaxCfValue Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromXenoNode :: Node -> Either Text MaxCfValue Source #
FromXenoNode MinCfValue Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromXenoNode :: Node -> Either Text MinCfValue Source #
FromXenoNode DataValidation Source # |
Instance details Defined in Codec.Xlsx.Types.DataValidation Methods fromXenoNode :: Node -> Either Text DataValidation Source #
FromXenoNode CfPair Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CfPair Methods fromXenoNode :: Node -> Either Text CfPair Source #
FromXenoNode DvPair Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.DvPair Methods fromXenoNode :: Node -> Either Text DvPair Source #
FromXenoNode FormulaData Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.FormulaData Methods fromXenoNode :: Node -> Either Text FormulaData Source #
FromXenoNode PageSetup Source # |
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromXenoNode :: Node -> Either Text PageSetup Source #
FromXenoNode SheetProtection Source # |
Instance details Defined in Codec.Xlsx.Types.Protection Methods fromXenoNode :: Node -> Either Text SheetProtection Source #
FromXenoNode RichTextRun Source # |
Instance details Defined in Codec.Xlsx.Types.RichText Methods fromXenoNode :: Node -> Either Text RichTextRun Source #
FromXenoNode RunProperties Source # |
Instance details Defined in Codec.Xlsx.Types.RichText Methods fromXenoNode :: Node -> Either Text RunProperties Source #
FromXenoNode Pane Source # |
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromXenoNode :: Node -> Either Text Pane Source #
FromXenoNode Selection Source # |
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromXenoNode :: Node -> Either Text Selection Source #
FromXenoNode SheetView Source # |
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromXenoNode :: Node -> Either Text SheetView Source #
FromXenoNode Color Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromXenoNode :: Node -> Either Text Color Source #
FromXenoNode (Int, FilterColumn) Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromXenoNode :: Node -> Either Text (Int, FilterColumn) Source #

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

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

requireChild :: ByteString -> ChildCollector Node Source #

childList :: ByteString -> ChildCollector [Node] Source #

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

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

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

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

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

childListAny :: FromXenoNode a => Node -> Either Text [a] Source #

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

toAttrParser :: Either Text a -> AttrParser a Source #

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

class FromAttrBs a where Source #

Methods

fromAttrBs :: ByteString -> Either Text a Source #

#### Instances

Instances details

FromAttrBs ByteString Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal.Fast Methods fromAttrBs :: ByteString -> Either Text ByteString Source #
FromAttrBs Text Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal.Fast Methods fromAttrBs :: ByteString -> Either Text Text Source #
FromAttrBs SheetState Source # |
Instance details Defined in Codec.Xlsx.Types Methods fromAttrBs :: ByteString -> Either Text SheetState Source #
FromAttrBs CustomFilterOperator Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromAttrBs :: ByteString -> Either Text CustomFilterOperator Source #
FromAttrBs DynFilterType Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromAttrBs :: ByteString -> Either Text DynFilterType Source #
FromAttrBs FilterByBlank Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromAttrBs :: ByteString -> Either Text FilterByBlank Source #
FromAttrBs SharedFormulaIndex Source # |
Instance details Defined in Codec.Xlsx.Types.Cell Methods fromAttrBs :: ByteString -> Either Text SharedFormulaIndex Source #
FromAttrBs CellRef Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromAttrBs :: ByteString -> Either Text CellRef Source #
FromAttrBs ErrorType Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromAttrBs :: ByteString -> Either Text ErrorType Source #
FromAttrBs Formula Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromAttrBs :: ByteString -> Either Text Formula Source #
FromAttrBs SqRef Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromAttrBs :: ByteString -> Either Text SqRef Source #
FromAttrBs IconSetType Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromAttrBs :: ByteString -> Either Text IconSetType Source #
FromAttrBs Inclusion Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromAttrBs :: ByteString -> Either Text Inclusion Source #
FromAttrBs NStdDev Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromAttrBs :: ByteString -> Either Text NStdDev Source #
FromAttrBs TimePeriod Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromAttrBs :: ByteString -> Either Text TimePeriod Source #
FromAttrBs ErrorStyle Source # |
Instance details Defined in Codec.Xlsx.Types.DataValidation Methods fromAttrBs :: ByteString -> Either Text ErrorStyle Source #
FromAttrBs RefId Source # |
Instance details Defined in Codec.Xlsx.Types.Internal Methods fromAttrBs :: ByteString -> Either Text RefId Source #
FromAttrBs CellComments Source # |
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrBs :: ByteString -> Either Text CellComments Source #
FromAttrBs Orientation Source # |
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrBs :: ByteString -> Either Text Orientation Source #
FromAttrBs PageOrder Source # |
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrBs :: ByteString -> Either Text PageOrder Source #
FromAttrBs PaperSize Source # |
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrBs :: ByteString -> Either Text PaperSize Source #
FromAttrBs PrintErrors Source # |
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrBs :: ByteString -> Either Text PrintErrors Source #
FromAttrBs LegacyPassword Source # |
Instance details Defined in Codec.Xlsx.Types.Protection Methods fromAttrBs :: ByteString -> Either Text LegacyPassword Source #
FromAttrBs PaneState Source # |
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromAttrBs :: ByteString -> Either Text PaneState Source #
FromAttrBs PaneType Source # |
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromAttrBs :: ByteString -> Either Text PaneType Source #
FromAttrBs SheetViewType Source # |
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromAttrBs :: ByteString -> Either Text SheetViewType Source #
FromAttrBs FontFamily Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrBs :: ByteString -> Either Text FontFamily Source #
FromAttrBs FontScheme Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrBs :: ByteString -> Either Text FontScheme Source #
FromAttrBs FontUnderline Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrBs :: ByteString -> Either Text FontUnderline Source #
FromAttrBs FontVerticalAlignment Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrBs :: ByteString -> Either Text FontVerticalAlignment Source #
FromAttrBs Bool Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal.Fast Methods fromAttrBs :: ByteString -> Either Text Bool Source #
FromAttrBs Double Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal.Fast Methods fromAttrBs :: ByteString -> Either Text Double Source #
FromAttrBs Int Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal.Fast Methods fromAttrBs :: ByteString -> Either Text Int Source #

unexpectedAttrBs :: Text -> ByteString -> Either Text a Source #

maybeAttrBs :: ByteString -> AttrParser (Maybe ByteString) Source #

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

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

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

contentBs :: Node -> ByteString Source #

contentX :: Node -> Either Text Text Source #

nsPrefixes :: Node -> NsPrefixes Source #

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