xlsx-1.0.0.1: Simple and incomplete Excel file parser/writer
Safe HaskellNone
LanguageHaskell2010

Codec.Xlsx.Types.Cell

Synopsis

Documentation

data CellFormula Source #

Formula for the cell.

TODO: array, dataTable formula types support

See 18.3.1.40 "f (Formula)" (p. 1636)

Constructors

CellFormula 

Fields

Instances

Instances details
Eq CellFormula Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Show CellFormula Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Generic CellFormula Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Associated Types

type Rep CellFormula :: Type -> Type #

NFData CellFormula Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Methods

rnf :: CellFormula -> () #

ToElement CellFormula Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Methods

toElement :: Name -> CellFormula -> Element Source #

type Rep CellFormula Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

type Rep CellFormula = D1 ('MetaData "CellFormula" "Codec.Xlsx.Types.Cell" "xlsx-1.0.0.1-inplace" 'False) (C1 ('MetaCons "CellFormula" 'PrefixI 'True) (S1 ('MetaSel ('Just "_cellfExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FormulaExpression) :*: (S1 ('MetaSel ('Just "_cellfAssignsToName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_cellfCalculate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))

data FormulaExpression Source #

formula type with type-specific options

newtype SharedFormulaIndex Source #

index of shared formula in worksheet's wsSharedFormulas property

Constructors

SharedFormulaIndex Int 

Instances

Instances details
Eq SharedFormulaIndex Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Ord SharedFormulaIndex Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Show SharedFormulaIndex Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Generic SharedFormulaIndex Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Associated Types

type Rep SharedFormulaIndex :: Type -> Type #

NFData SharedFormulaIndex Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Methods

rnf :: SharedFormulaIndex -> () #

FromAttrBs SharedFormulaIndex Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

FromAttrVal SharedFormulaIndex Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

ToAttrVal SharedFormulaIndex Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

type Rep SharedFormulaIndex Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

type Rep SharedFormulaIndex = D1 ('MetaData "SharedFormulaIndex" "Codec.Xlsx.Types.Cell" "xlsx-1.0.0.1-inplace" 'True) (C1 ('MetaCons "SharedFormulaIndex" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data Cell Source #

Currently cell details include cell values, style ids and cell formulas (inline strings from <is> subelements are ignored)

Instances

Instances details
Eq Cell Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Methods

(==) :: Cell -> Cell -> Bool #

(/=) :: Cell -> Cell -> Bool #

Show Cell Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Methods

showsPrec :: Int -> Cell -> ShowS #

show :: Cell -> String #

showList :: [Cell] -> ShowS #

Generic Cell Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Associated Types

type Rep Cell :: Type -> Type #

Methods

from :: Cell -> Rep Cell x #

to :: Rep Cell x -> Cell #

NFData Cell Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Methods

rnf :: Cell -> () #

Default Cell Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

Methods

def :: Cell #

type Rep Cell Source # 
Instance details

Defined in Codec.Xlsx.Types.Cell

type CellMap = Map (Int, Int) Cell Source #

Map containing cell values which are indexed by row and column if you need to use more traditional (x,y) indexing please you could use corresponding accessors from 'Lens'