XLSXComposer.Section (xlsx_composer v0.1.0)

View Source

Elixir.XLSXComposer.Section allows to group cells into units that we can reason and test on that level.

WARNING! : Build limited number of Sections otherwise the process of the checks might hurt your performance! Soon, implementation of checking of Sections overlap will have to be done so use Section carefully.

Summary

Types

area_t()

name_t()

@type name_t() :: String.t()

t()

@type t() :: %XLSXComposer.Section{
  bottom_right: XLSXComposer.ExcelCoords.t(),
  cells: XLSXComposer.CellDef.section_cells(),
  name: name_t(),
  top_left: XLSXComposer.ExcelCoords.t()
}

Functions

build(args)

@spec build(map()) :: t()

overlap?(section_1, section_2)

@spec overlap?(t(), t()) :: any()

to_excel_cells(section)

@spec to_excel_cells(t()) :: XLSXComposer.CellDef.excel_cells()