xlsx-0.7.0: 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

newtype SharedFormulaIndex Source #

index of shared formula in worksheet's wsSharedFormulas property

Constructors

SharedFormulaIndex Int 

Instances

Eq SharedFormulaIndex Source # 
Ord SharedFormulaIndex Source # 
Show SharedFormulaIndex Source # 
Generic SharedFormulaIndex Source # 
NFData SharedFormulaIndex Source # 

Methods

rnf :: SharedFormulaIndex -> () #

FromAttrBs SharedFormulaIndex Source # 
FromAttrVal SharedFormulaIndex Source # 
ToAttrVal SharedFormulaIndex Source # 
type Rep SharedFormulaIndex Source # 
type Rep SharedFormulaIndex = D1 * (MetaData "SharedFormulaIndex" "Codec.Xlsx.Types.Cell" "xlsx-0.7.0-67d30z0rd5vGH8ecLQYdXm" True) (C1 * (MetaCons "SharedFormulaIndex" PrefixI False) (S1 * (MetaSel (Nothing 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

Eq Cell Source # 

Methods

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

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

Show Cell Source # 

Methods

showsPrec :: Int -> Cell -> ShowS #

show :: Cell -> String #

showList :: [Cell] -> ShowS #

Generic Cell Source # 

Associated Types

type Rep Cell :: * -> * #

Methods

from :: Cell -> Rep Cell x #

to :: Rep Cell x -> Cell #

Default Cell Source # 

Methods

def :: Cell #

NFData Cell Source # 

Methods

rnf :: Cell -> () #

type Rep Cell Source # 

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'