| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codec.Xlsx.Types.AutoFilter
Synopsis
- data FilterColumn
- = Filters FilterByBlank [FilterCriterion]
- | ColorFilter ColorFilterOptions
- | ACustomFilter CustomFilter
- | CustomFiltersOr CustomFilter CustomFilter
- | CustomFiltersAnd CustomFilter CustomFilter
- | DynamicFilter DynFilterOptions
- | IconFilter (Maybe Int) IconSetType
- | BottomNFilter EdgeFilterOptions
- | TopNFilter EdgeFilterOptions
- data FilterByBlank
- data FilterCriterion
- data DateGroup
- data CustomFilter = CustomFilter {}
- data CustomFilterOperator
- data EdgeFilterOptions = EdgeFilterOptions {}
- data ColorFilterOptions = ColorFilterOptions {
- _cfoCellColor :: Bool
- _cfoDxfId :: Maybe Int
- data DynFilterOptions = DynFilterOptions {}
- data DynFilterType
- = DynFilterAboveAverage
- | DynFilterBelowAverage
- | DynFilterLastMonth
- | DynFilterLastQuarter
- | DynFilterLastWeek
- | DynFilterLastYear
- | DynFilterM1
- | DynFilterM10
- | DynFilterM11
- | DynFilterM12
- | DynFilterM2
- | DynFilterM3
- | DynFilterM4
- | DynFilterM5
- | DynFilterM6
- | DynFilterM7
- | DynFilterM8
- | DynFilterM9
- | DynFilterNextMonth
- | DynFilterNextQuarter
- | DynFilterNextWeek
- | DynFilterNextYear
- | DynFilterNull
- | DynFilterQ1
- | DynFilterQ2
- | DynFilterQ3
- | DynFilterQ4
- | DynFilterThisMonth
- | DynFilterThisQuarter
- | DynFilterThisWeek
- | DynFilterThisYear
- | DynFilterToday
- | DynFilterTomorrow
- | DynFilterYearToDate
- | DynFilterYesterday
- data AutoFilter = AutoFilter {}
- afFilterColumns :: Lens' AutoFilter (Map Int FilterColumn)
- afRef :: Lens' AutoFilter (Maybe CellRef)
- fltColFromNode :: Node -> [FilterColumn]
- filterCriterionFromNode :: Node -> [FilterCriterion]
- fltColToElement :: FilterColumn -> Element
- edgeFilter :: Bool -> EdgeFilterOptions -> Element
- filterCriterionToElement :: FilterCriterion -> Element
Documentation
data FilterColumn Source #
The filterColumn collection identifies a particular column in the AutoFilter range and specifies filter information that has been applied to this column. If a column in the AutoFilter range has no criteria specified, then there is no corresponding filterColumn collection expressed for that column.
See 18.3.2.7 "filterColumn (AutoFilter Column)" (p. 1717)
Constructors
| Filters FilterByBlank [FilterCriterion] | |
| ColorFilter ColorFilterOptions | |
| ACustomFilter CustomFilter | |
| CustomFiltersOr CustomFilter CustomFilter | |
| CustomFiltersAnd CustomFilter CustomFilter | |
| DynamicFilter DynFilterOptions | |
| IconFilter (Maybe Int) IconSetType | Specifies the icon set and particular icon within that set to
filter by. Icon is specified using zero-based index of an icon in
an icon set. |
| BottomNFilter EdgeFilterOptions | Specifies the bottom N (percent or number of items) to filter by |
| TopNFilter EdgeFilterOptions | Specifies the top N (percent or number of items) to filter by |
Instances
data FilterByBlank Source #
Constructors
| FilterByBlank | |
| DontFilterByBlank |
Instances
| NFData FilterByBlank Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods rnf :: FilterByBlank -> () Source # | |||||
| Generic FilterByBlank Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
Methods from :: FilterByBlank -> Rep FilterByBlank x Source # to :: Rep FilterByBlank x -> FilterByBlank Source # | |||||
| Show FilterByBlank Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Eq FilterByBlank Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods (==) :: FilterByBlank -> FilterByBlank -> Bool Source # (/=) :: FilterByBlank -> FilterByBlank -> Bool Source # | |||||
| FromAttrVal FilterByBlank Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods | |||||
| FromAttrBs FilterByBlank Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods fromAttrBs :: ByteString -> Either Text FilterByBlank Source # | |||||
| ToAttrVal FilterByBlank Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods toAttrVal :: FilterByBlank -> Text Source # | |||||
| type Rep FilterByBlank Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
data FilterCriterion Source #
Constructors
| FilterValue Text | |
| FilterDateGroup DateGroup |
Instances
| NFData FilterCriterion Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods rnf :: FilterCriterion -> () Source # | |||||
| Generic FilterCriterion Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
Methods from :: FilterCriterion -> Rep FilterCriterion x Source # to :: Rep FilterCriterion x -> FilterCriterion Source # | |||||
| Show FilterCriterion Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Eq FilterCriterion Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods (==) :: FilterCriterion -> FilterCriterion -> Bool Source # (/=) :: FilterCriterion -> FilterCriterion -> Bool Source # | |||||
| FromCursor FilterCriterion Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods fromCursor :: Cursor -> [FilterCriterion] Source # | |||||
| FromXenoNode FilterCriterion Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods fromXenoNode :: Node -> Either Text FilterCriterion Source # | |||||
| type Rep FilterCriterion Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter type Rep FilterCriterion = D1 ('MetaData "FilterCriterion" "Codec.Xlsx.Types.AutoFilter" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "FilterValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "FilterDateGroup" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DateGroup))) | |||||
Used to express a group of dates or times which are used in an AutoFilter criteria
Section 18.3.2.4 "dateGroupItem (Date Grouping)" (p. 1714)
Constructors
| DateGroupByYear Int | |
| DateGroupByMonth Int Int | |
| DateGroupByDay Int Int Int | |
| DateGroupByHour Int Int Int Int | |
| DateGroupByMinute Int Int Int Int Int | |
| DateGroupBySecond Int Int Int Int Int Int |
Instances
| NFData DateGroup Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Generic DateGroup Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
| |||||
| Show DateGroup Source # | |||||
| Eq DateGroup Source # | |||||
| type Rep DateGroup Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter type Rep DateGroup = D1 ('MetaData "DateGroup" "Codec.Xlsx.Types.AutoFilter" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) ((C1 ('MetaCons "DateGroupByYear" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: (C1 ('MetaCons "DateGroupByMonth" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: C1 ('MetaCons "DateGroupByDay" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))) :+: (C1 ('MetaCons "DateGroupByHour" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: (C1 ('MetaCons "DateGroupByMinute" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))) :+: C1 ('MetaCons "DateGroupBySecond" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))))) | |||||
data CustomFilter Source #
Constructors
| CustomFilter | |
Fields | |
Instances
| NFData CustomFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods rnf :: CustomFilter -> () Source # | |||||
| Generic CustomFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
Methods from :: CustomFilter -> Rep CustomFilter x Source # to :: Rep CustomFilter x -> CustomFilter Source # | |||||
| Show CustomFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Eq CustomFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods (==) :: CustomFilter -> CustomFilter -> Bool Source # (/=) :: CustomFilter -> CustomFilter -> Bool Source # | |||||
| FromXenoNode CustomFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods fromXenoNode :: Node -> Either Text CustomFilter Source # | |||||
| ToElement CustomFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| type Rep CustomFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter type Rep CustomFilter = D1 ('MetaData "CustomFilter" "Codec.Xlsx.Types.AutoFilter" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "CustomFilter" 'PrefixI 'True) (S1 ('MetaSel ('Just "cfltOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CustomFilterOperator) :*: S1 ('MetaSel ('Just "cfltValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) | |||||
data CustomFilterOperator Source #
Constructors
| FltrEqual | Show results which are equal to criteria. |
| FltrGreaterThan | Show results which are greater than criteria. |
| FltrGreaterThanOrEqual | Show results which are greater than or equal to criteria. |
| FltrLessThan | Show results which are less than criteria. |
| FltrLessThanOrEqual | Show results which are less than or equal to criteria. |
| FltrNotEqual | Show results which are not equal to criteria. |
Instances
| NFData CustomFilterOperator Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods rnf :: CustomFilterOperator -> () Source # | |||||
| Generic CustomFilterOperator Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
Methods from :: CustomFilterOperator -> Rep CustomFilterOperator x Source # to :: Rep CustomFilterOperator x -> CustomFilterOperator Source # | |||||
| Show CustomFilterOperator Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Eq CustomFilterOperator Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods (==) :: CustomFilterOperator -> CustomFilterOperator -> Bool Source # (/=) :: CustomFilterOperator -> CustomFilterOperator -> Bool Source # | |||||
| FromAttrVal CustomFilterOperator Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods | |||||
| FromAttrBs CustomFilterOperator Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods fromAttrBs :: ByteString -> Either Text CustomFilterOperator Source # | |||||
| ToAttrVal CustomFilterOperator Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods toAttrVal :: CustomFilterOperator -> Text Source # | |||||
| type Rep CustomFilterOperator Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter type Rep CustomFilterOperator = D1 ('MetaData "CustomFilterOperator" "Codec.Xlsx.Types.AutoFilter" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) ((C1 ('MetaCons "FltrEqual" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FltrGreaterThan" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FltrGreaterThanOrEqual" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "FltrLessThan" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FltrLessThanOrEqual" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FltrNotEqual" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
data EdgeFilterOptions Source #
Constructors
| EdgeFilterOptions | |
Fields
| |
Instances
| NFData EdgeFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods rnf :: EdgeFilterOptions -> () Source # | |||||
| Generic EdgeFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
Methods from :: EdgeFilterOptions -> Rep EdgeFilterOptions x Source # to :: Rep EdgeFilterOptions x -> EdgeFilterOptions Source # | |||||
| Show EdgeFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Eq EdgeFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods (==) :: EdgeFilterOptions -> EdgeFilterOptions -> Bool Source # (/=) :: EdgeFilterOptions -> EdgeFilterOptions -> Bool Source # | |||||
| type Rep EdgeFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter type Rep EdgeFilterOptions = D1 ('MetaData "EdgeFilterOptions" "Codec.Xlsx.Types.AutoFilter" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "EdgeFilterOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_efoUsePercents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_efoVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "_efoFilterVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double))))) | |||||
data ColorFilterOptions Source #
Specifies the color to filter by and whether to use the cell's fill or font color in the filter criteria. If the cell's font or fill color does not match the color specified in the criteria, the rows corresponding to those cells are hidden from view.
See 18.3.2.1 "colorFilter (Color Filter Criteria)" (p. 1712)
Constructors
| ColorFilterOptions | |
Fields
| |
Instances
| NFData ColorFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods rnf :: ColorFilterOptions -> () Source # | |||||
| Generic ColorFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
Methods from :: ColorFilterOptions -> Rep ColorFilterOptions x Source # to :: Rep ColorFilterOptions x -> ColorFilterOptions Source # | |||||
| Show ColorFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Eq ColorFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods (==) :: ColorFilterOptions -> ColorFilterOptions -> Bool Source # (/=) :: ColorFilterOptions -> ColorFilterOptions -> Bool Source # | |||||
| ToElement ColorFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| type Rep ColorFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter type Rep ColorFilterOptions = D1 ('MetaData "ColorFilterOptions" "Codec.Xlsx.Types.AutoFilter" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "ColorFilterOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_cfoCellColor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_cfoDxfId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))) | |||||
data DynFilterOptions Source #
Specifies dynamic filter criteria. These criteria are considered dynamic because they can change, either with the data itself (e.g., "above average") or with the current system date (e.g., show values for "today"). For any cells whose values do not meet the specified criteria, the corresponding rows shall be hidden from view when the filter is applied.
_dfoMaxVal shall be required for DynFilterTday,
DynFilterYesterday, DynFilterTomorrow, DynFilterNextWeek,
DynFilterThisWeek, DynFilterLastWeek, DynFilterNextMonth,
DynFilterThisMonth, DynFilterLastMonth, DynFilterNextQuarter,
DynFilterThisQuarter, DynFilterLastQuarter,
DynFilterNextYear, DynFilterThisYear, DynFilterLastYear, and
'DynFilterYearToDate.
The above criteria are based on a value range; that is, if today's
date is September 22nd, then the range for thisWeek is the values
greater than or equal to September 17 and less than September
24. In the thisWeek range, the lower value is expressed
_dfoval. The higher value is expressed using _dfoMmaxVal.
These dynamic filters shall not require '_dfoVal or _dfoMaxVal:
DynFilterQ1, DynFilterQ2, DynFilterQ3, DynFilterQ4,
DynFilterM1, DynFilterM2, DynFilterM3, DynFilterM4,
DynFilterM5, DynFilterM6, DynFilterM7, DynFilterM8,
DynFilterM9, DynFilterM10, DynFilterM11 and DynFilterM12.
The above criteria shall not specify the range using valIso and maxValIso because Q1 always starts from M1 to M3, and M1 is always January.
These types of dynamic filters shall use valIso and shall not use
_dfoMaxVal: DynFilterAboveAverage and DynFilterBelowAverage
Note: Specification lists valIso and maxIso to store datetime
values but it appears that Excel doesn't use them and stored them
as numeric values (as it does for datetimes in cell values)
See 18.3.2.5 "dynamicFilter (Dynamic Filter)" (p. 1715)
Constructors
| DynFilterOptions | |
Fields
| |
Instances
| NFData DynFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods rnf :: DynFilterOptions -> () Source # | |||||
| Generic DynFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
Methods from :: DynFilterOptions -> Rep DynFilterOptions x Source # to :: Rep DynFilterOptions x -> DynFilterOptions Source # | |||||
| Show DynFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Eq DynFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods (==) :: DynFilterOptions -> DynFilterOptions -> Bool Source # (/=) :: DynFilterOptions -> DynFilterOptions -> Bool Source # | |||||
| ToElement DynFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| type Rep DynFilterOptions Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter type Rep DynFilterOptions = D1 ('MetaData "DynFilterOptions" "Codec.Xlsx.Types.AutoFilter" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "DynFilterOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dfoType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DynFilterType) :*: (S1 ('MetaSel ('Just "_dfoVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "_dfoMaxVal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double))))) | |||||
data DynFilterType Source #
Specifies concrete type of dynamic filter used
See 18.18.26 "ST_DynamicFilterType (Dynamic Filter)" (p. 2452)
Constructors
| DynFilterAboveAverage | Shows values that are above average. |
| DynFilterBelowAverage | Shows values that are below average. |
| DynFilterLastMonth | Shows last month's dates. |
| DynFilterLastQuarter | Shows last calendar quarter's dates. |
| DynFilterLastWeek | Shows last week's dates, using Sunday as the first weekday. |
| DynFilterLastYear | Shows last year's dates. |
| DynFilterM1 | Shows the dates that are in January, regardless of year. |
| DynFilterM10 | Shows the dates that are in October, regardless of year. |
| DynFilterM11 | Shows the dates that are in November, regardless of year. |
| DynFilterM12 | Shows the dates that are in December, regardless of year. |
| DynFilterM2 | Shows the dates that are in February, regardless of year. |
| DynFilterM3 | Shows the dates that are in March, regardless of year. |
| DynFilterM4 | Shows the dates that are in April, regardless of year. |
| DynFilterM5 | Shows the dates that are in May, regardless of year. |
| DynFilterM6 | Shows the dates that are in June, regardless of year. |
| DynFilterM7 | Shows the dates that are in July, regardless of year. |
| DynFilterM8 | Shows the dates that are in August, regardless of year. |
| DynFilterM9 | Shows the dates that are in September, regardless of year. |
| DynFilterNextMonth | Shows next month's dates. |
| DynFilterNextQuarter | Shows next calendar quarter's dates. |
| DynFilterNextWeek | Shows next week's dates, using Sunday as the first weekday. |
| DynFilterNextYear | Shows next year's dates. |
| DynFilterNull | Common filter type not available. |
| DynFilterQ1 | Shows the dates that are in the 1st calendar quarter, regardless of year. |
| DynFilterQ2 | Shows the dates that are in the 2nd calendar quarter, regardless of year. |
| DynFilterQ3 | Shows the dates that are in the 3rd calendar quarter, regardless of year. |
| DynFilterQ4 | Shows the dates that are in the 4th calendar quarter, regardless of year. |
| DynFilterThisMonth | Shows this month's dates. |
| DynFilterThisQuarter | Shows this calendar quarter's dates. |
| DynFilterThisWeek | Shows this week's dates, using Sunday as the first weekday. |
| DynFilterThisYear | Shows this year's dates. |
| DynFilterToday | Shows today's dates. |
| DynFilterTomorrow | Shows tomorrow's dates. |
| DynFilterYearToDate | Shows the dates between the beginning of the year and today, inclusive. |
| DynFilterYesterday | Shows yesterday's dates. |
Instances
| NFData DynFilterType Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods rnf :: DynFilterType -> () Source # | |||||
| Generic DynFilterType Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
Methods from :: DynFilterType -> Rep DynFilterType x Source # to :: Rep DynFilterType x -> DynFilterType Source # | |||||
| Show DynFilterType Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Eq DynFilterType Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods (==) :: DynFilterType -> DynFilterType -> Bool Source # (/=) :: DynFilterType -> DynFilterType -> Bool Source # | |||||
| FromAttrVal DynFilterType Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods | |||||
| FromAttrBs DynFilterType Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods fromAttrBs :: ByteString -> Either Text DynFilterType Source # | |||||
| ToAttrVal DynFilterType Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods toAttrVal :: DynFilterType -> Text Source # | |||||
| type Rep DynFilterType Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter type Rep DynFilterType = D1 ('MetaData "DynFilterType" "Codec.Xlsx.Types.AutoFilter" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (((((C1 ('MetaCons "DynFilterAboveAverage" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterBelowAverage" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DynFilterLastMonth" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterLastQuarter" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "DynFilterLastWeek" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterLastYear" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DynFilterM1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterM10" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "DynFilterM11" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterM12" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DynFilterM2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterM3" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "DynFilterM4" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterM5" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DynFilterM6" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DynFilterM7" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterM8" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "DynFilterM9" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterNextMonth" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DynFilterNextQuarter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterNextWeek" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "DynFilterNextYear" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterNull" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DynFilterQ1" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DynFilterQ2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterQ3" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "DynFilterQ4" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterThisMonth" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DynFilterThisQuarter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterThisWeek" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "DynFilterThisYear" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterToday" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DynFilterTomorrow" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DynFilterYearToDate" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DynFilterYesterday" 'PrefixI 'False) (U1 :: Type -> Type))))))) | |||||
data AutoFilter Source #
AutoFilter temporarily hides rows based on a filter criteria, which is applied column by column to a table of datain the worksheet.
TODO: sortState, extList
See 18.3.1.2 "autoFilter (AutoFilter Settings)" (p. 1596)
Constructors
| AutoFilter | |
Fields | |
Instances
| Default AutoFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods def :: AutoFilter # | |||||
| NFData AutoFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods rnf :: AutoFilter -> () Source # | |||||
| Generic AutoFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Associated Types
| |||||
| Show AutoFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| Eq AutoFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods (==) :: AutoFilter -> AutoFilter -> Bool Source # (/=) :: AutoFilter -> AutoFilter -> Bool Source # | |||||
| FromCursor AutoFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods fromCursor :: Cursor -> [AutoFilter] Source # | |||||
| FromXenoNode AutoFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter Methods fromXenoNode :: Node -> Either Text AutoFilter Source # | |||||
| ToElement AutoFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter | |||||
| type Rep AutoFilter Source # | |||||
Defined in Codec.Xlsx.Types.AutoFilter type Rep AutoFilter = D1 ('MetaData "AutoFilter" "Codec.Xlsx.Types.AutoFilter" "xlsx-1.1.4-G0KawmQS4mL8oRGRTaTy8Y" 'False) (C1 ('MetaCons "AutoFilter" 'PrefixI 'True) (S1 ('MetaSel ('Just "_afRef") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CellRef)) :*: S1 ('MetaSel ('Just "_afFilterColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Int FilterColumn)))) | |||||
fltColFromNode :: Node -> [FilterColumn] Source #
edgeFilter :: Bool -> EdgeFilterOptions -> Element Source #