Current section
Files
Jump to
Current section
Files
lib/xlsx_reader/cell.ex
defmodule XlsxReader.Cell do
@moduledoc """
Cell structure.
This structure contains the information of a cell in a sheet.
- `value` - The value of the cell
- `formula` - The formula used in the cell, if any
- `ref` - The cell reference, like 'A1', 'B2', etc.
This structure is used when the `cell_data_format` option is set to `:cell`.
"""
defstruct [:value, :formula, :ref]
@typedoc """
XLSX cell data
"""
@type t :: %__MODULE__{
value: term(),
formula: String.t() | nil,
ref: String.t()
}
end