xlsx-0.7.2: Simple and incomplete Excel file parser/writer

Safe HaskellNone
LanguageHaskell2010

Codec.Xlsx.Types.Cell

Synopsis

Documentation

data CellFormula #

Formula for the cell.

TODO: array, dataTable formula types support

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

Constructors

CellFormula 

Fields

Instances

newtype SharedFormulaIndex #

index of shared formula in worksheet's wsSharedFormulas property

Constructors

SharedFormulaIndex Int 

Instances

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

Methods

rnf :: SharedFormulaIndex -> () #

FromAttrBs SharedFormulaIndex # 
FromAttrVal SharedFormulaIndex # 
ToAttrVal SharedFormulaIndex # 
type Rep SharedFormulaIndex # 
type Rep SharedFormulaIndex = D1 * (MetaData "SharedFormulaIndex" "Codec.Xlsx.Types.Cell" "xlsx-0.7.2-lPjfwcf8ew7uO9JhyAhCa" True) (C1 * (MetaCons "SharedFormulaIndex" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

data Cell #

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

Instances

Eq Cell # 

Methods

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

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

Show Cell # 

Methods

showsPrec :: Int -> Cell -> ShowS #

show :: Cell -> String #

showList :: [Cell] -> ShowS #

Generic Cell # 

Associated Types

type Rep Cell :: * -> * #

Methods

from :: Cell -> Rep Cell x #

to :: Rep Cell x -> Cell #

Default Cell # 

Methods

def :: Cell #

NFData Cell # 

Methods

rnf :: Cell -> () #

type Rep Cell # 

type CellMap = Map (Int, Int) Cell #

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'