Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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 Source #
Formula for the cell.
TODO: array, dataTable formula types support
See 18.3.1.40 "f (Formula)" (p. 1636)
CellFormula | |
|
Instances
data FormulaExpression Source #
formula type with type-specific options
Instances
simpleCellFormula :: Text -> CellFormula Source #
formulaDataFromCursor :: Cursor -> [(CellFormula, Maybe (SharedFormulaIndex, SharedFormulaOptions))] Source #
Currently cell details include cell values, style ids and cell
formulas (inline strings from <is>
subelements are ignored)
Instances
Eq Cell Source # | |
Show Cell Source # | |
Generic Cell Source # | |
Default Cell Source # | |
Defined in Codec.Xlsx.Types.Cell | |
NFData Cell Source # | |
Defined in Codec.Xlsx.Types.Cell | |
type Rep Cell Source # | |
Defined in Codec.Xlsx.Types.Cell type Rep Cell = D1 (MetaData "Cell" "Codec.Xlsx.Types.Cell" "xlsx-0.8.0-2XHhSBbWLYzIljpCRpkCYq" False) (C1 (MetaCons "Cell" PrefixI True) ((S1 (MetaSel (Just "_cellStyle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_cellValue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe CellValue))) :*: (S1 (MetaSel (Just "_cellComment") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Comment)) :*: S1 (MetaSel (Just "_cellFormula") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe CellFormula))))) |
cellFormula :: Lens' Cell (Maybe CellFormula) Source #