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

Safe Haskell | None
Language | Haskell2010

Codec.Xlsx.Parser.Internal

Synopsis

- data ParseException = ParseException String
- n_ :: Text -> Name
- nodeElNameIs :: Node -> Name -> Bool
- class FromCursor a where
  - fromCursor :: Cursor -> [a]
- class FromAttrVal a where
  - fromAttrVal :: Reader a
- fromAttribute :: FromAttrVal a => Name -> Cursor -> [a]
- fromAttributeDef :: FromAttrVal a => Name -> a -> Cursor -> [a]
- maybeAttribute :: FromAttrVal a => Name -> Cursor -> [Maybe a]
- fromElementValue :: FromAttrVal a => Name -> Cursor -> [a]
- maybeElementValue :: FromAttrVal a => Name -> Cursor -> [Maybe a]
- maybeElementValueDef :: FromAttrVal a => Name -> a -> Cursor -> [Maybe a]
- maybeBoolElementValue :: Name -> Cursor -> [Maybe Bool]
- maybeFromElement :: FromCursor a => Name -> Cursor -> [Maybe a]
- attrValIs :: (Eq a, FromAttrVal a) => Name -> a -> Axis
- contentOrEmpty :: Cursor -> [Text]
- readSuccess :: a -> Either String (a, Text)
- readFailure :: Text -> Either String (a, Text)
- invalidText :: Text -> Text -> Either String (a, Text)
- defaultReadFailure :: Either String (a, Text)
- module Codec.Xlsx.Parser.Internal.Util
- module Codec.Xlsx.Parser.Internal.Fast

# Documentation

data ParseException Source #

Constructors

ParseException String |

#### Instances

Instances details

Exception ParseException Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal Methods toException :: ParseException -> SomeException Source # fromException :: SomeException -> Maybe ParseException Source # displayException :: ParseException -> String Source # backtraceDesired :: ParseException -> Bool Source #
Generic ParseException Source # |

Instance details

Defined in Codec.Xlsx.Parser.Internal

Associated Types

type Rep ParseException |
Instance details Defined in Codec.Xlsx.Parser.Internal type Rep ParseException = D1 ('MetaData "ParseException" "Codec.Xlsx.Parser.Internal" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "ParseException" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))

Methods

from :: ParseException -> Rep ParseException x Source #

to :: Rep ParseException x -> ParseException Source #

Show ParseException Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal Methods showsPrec :: Int -> ParseException -> ShowS Source # show :: ParseException -> String Source # showList :: [ParseException] -> ShowS Source #
type Rep ParseException Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal type Rep ParseException = D1 ('MetaData "ParseException" "Codec.Xlsx.Parser.Internal" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "ParseException" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))

n_ :: Text -> Name Source #

Add sml namespace to name

nodeElNameIs :: Node -> Name -> Bool Source #

class FromCursor a where Source #

Methods

fromCursor :: Cursor -> [a] Source #

#### Instances

Instances details

FromCursor ColumnsProperties Source # |
Instance details Defined in Codec.Xlsx.Types Methods fromCursor :: Cursor -> [ColumnsProperties] Source #
FromCursor AutoFilter Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromCursor :: Cursor -> [AutoFilter] Source #
FromCursor FilterCriterion Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromCursor :: Cursor -> [FilterCriterion] Source #
FromCursor Formula Source # | See `ST_Formula`, p. 3873
Instance details Defined in Codec.Xlsx.Types.Common Methods fromCursor :: Cursor -> [Formula] Source #
FromCursor XlsxText Source # | See `CT_Rst`, p. 3903
Instance details Defined in Codec.Xlsx.Types.Common Methods fromCursor :: Cursor -> [XlsxText] Source #
FromCursor CfRule Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromCursor :: Cursor -> [CfRule] Source #
FromCursor CfValue Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromCursor :: Cursor -> [CfValue] Source #
FromCursor DataBarOptions Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromCursor :: Cursor -> [DataBarOptions] Source #
FromCursor IconSetOptions Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromCursor :: Cursor -> [IconSetOptions] Source #
FromCursor MaxCfValue Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromCursor :: Cursor -> [MaxCfValue] Source #
FromCursor MinCfValue Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromCursor :: Cursor -> [MinCfValue] Source #
FromCursor DataValidation Source # |
Instance details Defined in Codec.Xlsx.Types.DataValidation Methods fromCursor :: Cursor -> [DataValidation] Source #
FromCursor Anchoring Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [Anchoring] Source #
FromCursor ClientData Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [ClientData] Source #
FromCursor FillMode Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [FillMode] Source #
FromCursor GraphNonVisual Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [GraphNonVisual] Source #
FromCursor Marker Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [Marker] Source #
FromCursor NonVisualDrawingProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [NonVisualDrawingProperties] Source #
FromCursor PicNonVisual Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [PicNonVisual] Source #
FromCursor UnresolvedDrawing Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [UnresolvedDrawing] Source #
FromCursor AreaSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [AreaSeries] Source #
FromCursor BarSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [BarSeries] Source #
FromCursor ChartSpace Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [ChartSpace] Source #
FromCursor ChartTitle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [ChartTitle] Source #
FromCursor DataLblProps Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [DataLblProps] Source #
FromCursor DataMarker Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [DataMarker] Source #
FromCursor DataPoint Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [DataPoint] Source #
FromCursor Legend Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [Legend] Source #
FromCursor LineSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [LineSeries] Source #
FromCursor PieSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [PieSeries] Source #
FromCursor ScatterSeries Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [ScatterSeries] Source #
FromCursor Series Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromCursor :: Cursor -> [Series] Source #
FromCursor FillProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [FillProperties] Source #
FromCursor Geometry Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [Geometry] Source #
FromCursor LineProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [LineProperties] Source #
FromCursor Point2D Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [Point2D] Source #
FromCursor PositiveSize2D Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [PositiveSize2D] Source #
FromCursor ShapeProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [ShapeProperties] Source #
FromCursor TextBody Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [TextBody] Source #
FromCursor TextCharacterProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [TextCharacterProperties] Source #
FromCursor TextParagraph Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [TextParagraph] Source #
FromCursor TextRun Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [TextRun] Source #
FromCursor Transform2D Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromCursor :: Cursor -> [Transform2D] Source #
FromCursor CfPair Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CfPair Methods fromCursor :: Cursor -> [CfPair] Source #
FromCursor CommentTable Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CommentTable Methods fromCursor :: Cursor -> [CommentTable] Source #
FromCursor ContentTypes Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.ContentTypes Methods fromCursor :: Cursor -> [ContentTypes] Source #
FromCursor CtDefault Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.ContentTypes Methods fromCursor :: Cursor -> [CtDefault] Source #
FromCursor Override Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.ContentTypes Methods fromCursor :: Cursor -> [Override] Source #
FromCursor CustomProperties Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.CustomProperties Methods fromCursor :: Cursor -> [CustomProperties] Source #
FromCursor DvPair Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.DvPair Methods fromCursor :: Cursor -> [DvPair] Source #
FromCursor Relationship Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.Relationships Methods fromCursor :: Cursor -> [Relationship] Source #
FromCursor Relationships Source # |
Instance details Defined in Codec.Xlsx.Types.Internal.Relationships Methods fromCursor :: Cursor -> [Relationships] Source #
FromCursor SharedStringTable Source # | See `CT_Sst`, p. 3902 The optional attributes `count` and `uniqCount` are being ignored at least currently
Instance details Defined in Codec.Xlsx.Types.Internal.SharedStringTable Methods fromCursor :: Cursor -> [SharedStringTable] Source #
FromCursor PageSetup Source # | See `CT_PageSetup`, p. 3922
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromCursor :: Cursor -> [PageSetup] Source #
FromCursor CacheField Source # |
Instance details Defined in Codec.Xlsx.Types.PivotTable.Internal Methods fromCursor :: Cursor -> [CacheField] Source #
FromCursor SheetProtection Source # |
Instance details Defined in Codec.Xlsx.Types.Protection Methods fromCursor :: Cursor -> [SheetProtection] Source #
FromCursor RichTextRun Source # | See `CT_RElt`, p. 3903
Instance details Defined in Codec.Xlsx.Types.RichText Methods fromCursor :: Cursor -> [RichTextRun] Source #
FromCursor RunProperties Source # | See `CT_RPrElt`, p. 3903
Instance details Defined in Codec.Xlsx.Types.RichText Methods fromCursor :: Cursor -> [RunProperties] Source #
FromCursor Pane Source # | See `CT_Pane`, p. 3913
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromCursor :: Cursor -> [Pane] Source #
FromCursor Selection Source # | See `CT_Selection`, p. 3914
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromCursor :: Cursor -> [Selection] Source #
FromCursor SheetView Source # | See `CT_SheetView`, p. 3913
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromCursor :: Cursor -> [SheetView] Source #
FromCursor Alignment Source # | See `CT_CellAlignment`, p. 4482
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [Alignment] Source #
FromCursor Border Source # | See `CT_Border`, p. 4483
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [Border] Source #
FromCursor BorderStyle Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [BorderStyle] Source #
FromCursor CellXf Source # | See `CT_Xf`, p. 4486
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [CellXf] Source #
FromCursor Color Source # | See `CT_Color`, p. 4484
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [Color] Source #
FromCursor Dxf Source # | See `CT_Dxf`, p. 3937
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [Dxf] Source #
FromCursor Fill Source # | See `CT_Fill`, p. 4484
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [Fill] Source #
FromCursor FillPattern Source # | See `CT_PatternFill`, p. 4484
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [FillPattern] Source #
FromCursor Font Source # | See `CT_Font`, p. 4489
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [Font] Source #
FromCursor NumFmt Source # | See `CT_NumFmt`, p. 3936
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [NumFmt] Source #
FromCursor Protection Source # | See `CT_CellProtection`, p. 4484
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [Protection] Source #
FromCursor StyleSheet Source # | See `CT_Stylesheet`, p. 4482
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromCursor :: Cursor -> [StyleSheet] Source #
FromCursor Table Source # |
Instance details Defined in Codec.Xlsx.Types.Table Methods fromCursor :: Cursor -> [Table] Source #
FromCursor Variant Source # |
Instance details Defined in Codec.Xlsx.Types.Variant Methods fromCursor :: Cursor -> [Variant] Source #
FromCursor (BlipFillProperties RefId) Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [BlipFillProperties RefId] Source #
FromCursor (Anchor RefId RefId) Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [Anchor RefId RefId] Source #
FromCursor (DrawingObject RefId RefId) Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromCursor :: Cursor -> [DrawingObject RefId RefId] Source #

class FromAttrVal a where Source #

Methods

fromAttrVal :: Reader a Source #

#### Instances

Instances details

FromAttrVal Text Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal Methods fromAttrVal :: Reader Text Source #
FromAttrVal SheetState Source # |
Instance details Defined in Codec.Xlsx.Types Methods fromAttrVal :: Reader SheetState Source #
FromAttrVal CustomFilterOperator Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromAttrVal :: Reader CustomFilterOperator Source #
FromAttrVal DynFilterType Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromAttrVal :: Reader DynFilterType Source #
FromAttrVal FilterByBlank Source # |
Instance details Defined in Codec.Xlsx.Types.AutoFilter Methods fromAttrVal :: Reader FilterByBlank Source #
FromAttrVal SharedFormulaIndex Source # |
Instance details Defined in Codec.Xlsx.Types.Cell Methods fromAttrVal :: Reader SharedFormulaIndex Source #
FromAttrVal CellRef Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromAttrVal :: Reader CellRef Source #
FromAttrVal ErrorType Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromAttrVal :: Reader ErrorType Source #
FromAttrVal Formula Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromAttrVal :: Reader Formula Source #
FromAttrVal SqRef Source # |
Instance details Defined in Codec.Xlsx.Types.Common Methods fromAttrVal :: Reader SqRef Source #
FromAttrVal IconSetType Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromAttrVal :: Reader IconSetType Source #
FromAttrVal Inclusion Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromAttrVal :: Reader Inclusion Source #
FromAttrVal NStdDev Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromAttrVal :: Reader NStdDev Source #
FromAttrVal TimePeriod Source # |
Instance details Defined in Codec.Xlsx.Types.ConditionalFormatting Methods fromAttrVal :: Reader TimePeriod Source #
FromAttrVal ErrorStyle Source # |
Instance details Defined in Codec.Xlsx.Types.DataValidation Methods fromAttrVal :: Reader ErrorStyle Source #
FromAttrVal DrawingElementId Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromAttrVal :: Reader DrawingElementId Source #
FromAttrVal EditAs Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing Methods fromAttrVal :: Reader EditAs Source #
FromAttrVal BarChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader BarChartGrouping Source #
FromAttrVal BarDirection Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader BarDirection Source #
FromAttrVal ChartGrouping Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader ChartGrouping Source #
FromAttrVal DataMarkerSymbol Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader DataMarkerSymbol Source #
FromAttrVal DispBlanksAs Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader DispBlanksAs Source #
FromAttrVal LegendPos Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader LegendPos Source #
FromAttrVal ScatterStyle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Chart Methods fromAttrVal :: Reader ScatterStyle Source #
FromAttrVal Angle Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromAttrVal :: Reader Angle Source #
FromAttrVal TextAnchoring Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromAttrVal :: Reader TextAnchoring Source #
FromAttrVal TextVertOverflow Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromAttrVal :: Reader TextVertOverflow Source #
FromAttrVal TextVertical Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromAttrVal :: Reader TextVertical Source #
FromAttrVal TextWrap Source # |
Instance details Defined in Codec.Xlsx.Types.Drawing.Common Methods fromAttrVal :: Reader TextWrap Source #
FromAttrVal RefId Source # |
Instance details Defined in Codec.Xlsx.Types.Internal Methods fromAttrVal :: Reader RefId Source #
FromAttrVal CellComments Source # | See `ST_CellComments`, p. 3923
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrVal :: Reader CellComments Source #
FromAttrVal Orientation Source # | See `ST_Orientation`, p. 3923
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrVal :: Reader Orientation Source #
FromAttrVal PageOrder Source # | See `ST_PageOrder`, p. 3923
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrVal :: Reader PageOrder Source #
FromAttrVal PaperSize Source # | See `paperSize` (attribute of `pageSetup`), p. 1659
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrVal :: Reader PaperSize Source #
FromAttrVal PrintErrors Source # | See `ST_PrintError`, p. 3923
Instance details Defined in Codec.Xlsx.Types.PageSetup Methods fromAttrVal :: Reader PrintErrors Source #
FromAttrVal ConsolidateFunction Source # |
Instance details Defined in Codec.Xlsx.Types.PivotTable Methods fromAttrVal :: Reader ConsolidateFunction Source #
FromAttrVal FieldSortType Source # |
Instance details Defined in Codec.Xlsx.Types.PivotTable Methods fromAttrVal :: Reader FieldSortType Source #
FromAttrVal PivotFieldName Source # |
Instance details Defined in Codec.Xlsx.Types.PivotTable Methods fromAttrVal :: Reader PivotFieldName Source #
FromAttrVal CacheId Source # |
Instance details Defined in Codec.Xlsx.Types.PivotTable.Internal Methods fromAttrVal :: Reader CacheId Source #
FromAttrVal LegacyPassword Source # |
Instance details Defined in Codec.Xlsx.Types.Protection Methods fromAttrVal :: Reader LegacyPassword Source #
FromAttrVal PaneState Source # | See `ST_PaneState`, p. 3929
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromAttrVal :: Reader PaneState Source #
FromAttrVal PaneType Source # | See `ST_Pane`, p. 3914
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromAttrVal :: Reader PaneType Source #
FromAttrVal SheetViewType Source # | See `ST_SheetViewType`, p. 3913
Instance details Defined in Codec.Xlsx.Types.SheetViews Methods fromAttrVal :: Reader SheetViewType Source #
FromAttrVal CellHorizontalAlignment Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrVal :: Reader CellHorizontalAlignment Source #
FromAttrVal CellVerticalAlignment Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrVal :: Reader CellVerticalAlignment Source #
FromAttrVal FontFamily Source # | See 18.18.94 "ST_FontFamily (Font Family)" (p. 2517)
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrVal :: Reader FontFamily Source #
FromAttrVal FontScheme Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrVal :: Reader FontScheme Source #
FromAttrVal FontUnderline Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrVal :: Reader FontUnderline Source #
FromAttrVal FontVerticalAlignment Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrVal :: Reader FontVerticalAlignment Source #
FromAttrVal LineStyle Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrVal :: Reader LineStyle Source #
FromAttrVal PatternType Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrVal :: Reader PatternType Source #
FromAttrVal ReadingOrder Source # |
Instance details Defined in Codec.Xlsx.Types.StyleSheet Methods fromAttrVal :: Reader ReadingOrder Source #
FromAttrVal Integer Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal Methods fromAttrVal :: Reader Integer Source #
FromAttrVal Bool Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal Methods fromAttrVal :: Reader Bool Source #
FromAttrVal Double Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal Methods fromAttrVal :: Reader Double Source #
FromAttrVal Int Source # |
Instance details Defined in Codec.Xlsx.Parser.Internal Methods fromAttrVal :: Reader Int Source #

fromAttribute :: FromAttrVal a => Name -> Cursor -> [a] Source #

required attribute parsing

fromAttributeDef :: FromAttrVal a => Name -> a -> Cursor -> [a] Source #

parsing optional attributes with defaults

maybeAttribute :: FromAttrVal a => Name -> Cursor -> [Maybe a] Source #

parsing optional attributes

fromElementValue :: FromAttrVal a => Name -> Cursor -> [a] Source #

maybeElementValue :: FromAttrVal a => Name -> Cursor -> [Maybe a] Source #

maybeElementValueDef :: FromAttrVal a => Name -> a -> Cursor -> [Maybe a] Source #

maybeBoolElementValue :: Name -> Cursor -> [Maybe Bool] Source #

maybeFromElement :: FromCursor a => Name -> Cursor -> [Maybe a] Source #

attrValIs :: (Eq a, FromAttrVal a) => Name -> a -> Axis Source #

contentOrEmpty :: Cursor -> [Text] Source #

readSuccess :: a -> Either String (a, Text) Source #

readFailure :: Text -> Either String (a, Text) Source #

invalidText :: Text -> Text -> Either String (a, Text) Source #

defaultReadFailure :: Either String (a, Text) Source #

module Codec.Xlsx.Parser.Internal.Util

module Codec.Xlsx.Parser.Internal.Fast