ExVEx.Style (ExVEx v0.1.1)

Copy Markdown View Source

A resolved, flattened style for a single cell.

Cells in OOXML reference a style by an integer index into cellXfs; each <xf> there points at a font / fill / border / number format by further indices. ExVEx.get_style/3 walks those indirections and returns a single %ExVEx.Style{} record with the concrete sub-records inline.

Summary

Types

t()

@type t() :: %ExVEx.Style{
  alignment: ExVEx.Style.Alignment.t(),
  border: ExVEx.Style.Border.t(),
  fill: ExVEx.Style.Fill.t(),
  font: ExVEx.Style.Font.t(),
  number_format: String.t()
}