xlsx-1.1.2.1: Simple and incomplete Excel file parser/writer
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.Xlsx.Types.DataValidation

Synopsis

Documentation

data ValidationExpression Source #

Constructors

ValBetween Formula Formula

Between operator

ValEqual Formula

"Equal to" operator

ValGreaterThan Formula

"Greater than" operator

ValGreaterThanOrEqual Formula

"Greater than or equal to" operator

ValLessThan Formula

"Less than" operator

ValLessThanOrEqual Formula

"Less than or equal to" operator

ValNotBetween Formula Formula

"Not between" operator

ValNotEqual Formula

"Not equal to" operator

Instances

Instances details
Generic ValidationExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Associated Types

type Rep ValidationExpression :: Type -> Type #

Show ValidationExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

NFData ValidationExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Methods

rnf :: ValidationExpression -> () #

Eq ValidationExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

type Rep ValidationExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

type Rep ValidationExpression = D1 ('MetaData "ValidationExpression" "Codec.Xlsx.Types.DataValidation" "xlsx-1.1.2.1-GdAjj0zF0PPpPuMGO3FJH" 'False) (((C1 ('MetaCons "ValBetween" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula)) :+: C1 ('MetaCons "ValEqual" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula))) :+: (C1 ('MetaCons "ValGreaterThan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula)) :+: C1 ('MetaCons "ValGreaterThanOrEqual" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula)))) :+: ((C1 ('MetaCons "ValLessThan" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula)) :+: C1 ('MetaCons "ValLessThanOrEqual" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula))) :+: (C1 ('MetaCons "ValNotBetween" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula)) :+: C1 ('MetaCons "ValNotEqual" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Formula)))))

data ValidationType Source #

Instances

Instances details
Generic ValidationType Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Associated Types

type Rep ValidationType :: Type -> Type #

Show ValidationType Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

NFData ValidationType Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Methods

rnf :: ValidationType -> () #

Eq ValidationType Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

ToAttrVal ValidationType Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

type Rep ValidationType Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

data ErrorStyle Source #

Instances

Instances details
Generic ErrorStyle Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Associated Types

type Rep ErrorStyle :: Type -> Type #

Show ErrorStyle Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

NFData ErrorStyle Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Methods

rnf :: ErrorStyle -> () #

Eq ErrorStyle Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

FromAttrVal ErrorStyle Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

FromAttrBs ErrorStyle Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

ToAttrVal ErrorStyle Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

type Rep ErrorStyle Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

type Rep ErrorStyle = D1 ('MetaData "ErrorStyle" "Codec.Xlsx.Types.DataValidation" "xlsx-1.1.2.1-GdAjj0zF0PPpPuMGO3FJH" 'False) (C1 ('MetaCons "ErrorStyleInformation" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ErrorStyleStop" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorStyleWarning" 'PrefixI 'False) (U1 :: Type -> Type)))

data DataValidation Source #

Instances

Instances details
Generic DataValidation Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Associated Types

type Rep DataValidation :: Type -> Type #

Show DataValidation Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Default DataValidation Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Methods

def :: DataValidation #

NFData DataValidation Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Methods

rnf :: DataValidation -> () #

Eq DataValidation Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

FromCursor DataValidation Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

FromXenoNode DataValidation Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

ToElement DataValidation Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

type Rep DataValidation Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

data ListOrRangeExpression Source #

Constructors

ListExpression ValidationList

a plain list of elements

RangeExpression Range

a cell or range reference

Instances

Instances details
Generic ListOrRangeExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Associated Types

type Rep ListOrRangeExpression :: Type -> Type #

Show ListOrRangeExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

NFData ListOrRangeExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

Methods

rnf :: ListOrRangeExpression -> () #

Eq ListOrRangeExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

type Rep ListOrRangeExpression Source # 
Instance details

Defined in Codec.Xlsx.Types.DataValidation

type Rep ListOrRangeExpression = D1 ('MetaData "ListOrRangeExpression" "Codec.Xlsx.Types.DataValidation" "xlsx-1.1.2.1-GdAjj0zF0PPpPuMGO3FJH" 'False) (C1 ('MetaCons "ListExpression" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidationList)) :+: C1 ('MetaCons "RangeExpression" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))

maybePlainValidationList :: ValidationType -> Maybe ValidationList Source #

Attempt to obtain a plain list expression

maybeValidationRange :: ValidationType -> Maybe Range Source #

Attempt to obtain a range expression