Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ValidationExpression
- data ValidationType
- = ValidationTypeNone
- | ValidationTypeCustom Formula
- | ValidationTypeDate ValidationExpression
- | ValidationTypeDecimal ValidationExpression
- | ValidationTypeList ListOrRangeExpression
- | ValidationTypeTextLength ValidationExpression
- | ValidationTypeTime ValidationExpression
- | ValidationTypeWhole ValidationExpression
- dvAllowBlank :: Lens' DataValidation Bool
- dvError :: Lens' DataValidation (Maybe Text)
- dvErrorStyle :: Lens' DataValidation ErrorStyle
- dvErrorTitle :: Lens' DataValidation (Maybe Text)
- dvPrompt :: Lens' DataValidation (Maybe Text)
- dvPromptTitle :: Lens' DataValidation (Maybe Text)
- dvShowDropDown :: Lens' DataValidation Bool
- dvShowErrorMessage :: Lens' DataValidation Bool
- dvShowInputMessage :: Lens' DataValidation Bool
- dvValidationType :: Lens' DataValidation ValidationType
- data ErrorStyle
- data DataValidation = DataValidation {}
- data ListOrRangeExpression
- type ValidationList = [Text]
- maybePlainValidationList :: ValidationType -> Maybe ValidationList
- maybeValidationRange :: ValidationType -> Maybe Range
- readValidationType :: Text -> Text -> Cursor -> [ValidationType]
- readListFormulas :: Formula -> Maybe ListOrRangeExpression
- readOpExpression2 :: Text -> Cursor -> [ValidationExpression]
- readValidationTypeOpExp :: Text -> ValidationExpression -> [ValidationType]
- readValExpression :: Text -> [Formula] -> [ValidationExpression]
- viewValidationExpression :: ValidationExpression -> (Text, Formula, Maybe Formula)
Documentation
data ValidationExpression Source #
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
data ValidationType Source #
Instances
data ErrorStyle Source #
Instances
data DataValidation Source #
Instances
data ListOrRangeExpression Source #
ListExpression ValidationList | a plain list of elements |
RangeExpression Range | a cell or range reference |
Instances
type ValidationList = [Text] Source #
maybePlainValidationList :: ValidationType -> Maybe ValidationList Source #
Attempt to obtain a plain list expression
maybeValidationRange :: ValidationType -> Maybe Range Source #
Attempt to obtain a range expression
readValidationType :: Text -> Text -> Cursor -> [ValidationType] Source #
readOpExpression2 :: Text -> Cursor -> [ValidationExpression] Source #
readValExpression :: Text -> [Formula] -> [ValidationExpression] Source #