Safe Haskell | None |
---|---|
Language | Haskell2010 |
Codec.Xlsx.Types.Cell
- data CellFormula = CellFormula {}
- data FormulaExpression
- simpleCellFormula :: Text -> CellFormula
- sharedFormulaByIndex :: SharedFormulaIndex -> CellFormula
- newtype SharedFormulaIndex = SharedFormulaIndex Int
- data SharedFormulaOptions = SharedFormulaOptions {}
- formulaDataFromCursor :: Cursor -> [(CellFormula, Maybe (SharedFormulaIndex, SharedFormulaOptions))]
- applySharedFormulaOpts :: SharedFormulaOptions -> Element -> Element
- data Cell = Cell {}
- cellStyle :: Lens' Cell (Maybe Int)
- cellValue :: Lens' Cell (Maybe CellValue)
- cellComment :: Lens' Cell (Maybe Comment)
- cellFormula :: Lens' Cell (Maybe CellFormula)
- type CellMap = Map (Int, Int) Cell
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
data FormulaExpression #
formula type with type-specific options
Constructors
NormalFormula Formula | |
SharedFormula SharedFormulaIndex |
Instances
simpleCellFormula :: Text -> CellFormula #
newtype SharedFormulaIndex #
index of shared formula in worksheet's wsSharedFormulas
property
Constructors
SharedFormulaIndex Int |
data SharedFormulaOptions #
Constructors
SharedFormulaOptions | |
Fields
|
formulaDataFromCursor :: Cursor -> [(CellFormula, Maybe (SharedFormulaIndex, SharedFormulaOptions))] #
Currently cell details include cell values, style ids and cell
formulas (inline strings from <is>
subelements are ignored)
Constructors
Cell | |
Fields |
cellFormula :: Lens' Cell (Maybe CellFormula) #