Elixlsx.Style.NumFmt (elixlsx v0.6.0) View Source

Link to this section Summary

Functions

Returns a standard semi-iso datetime format.

Returns a semi-ISP date format only month and year (YYYY-MM)

Returns a semi-ISO date format (YYYY-MM-DD).

Returns a style XML entry.

Link to this section Types

Specs

t() :: %Elixlsx.Style.NumFmt{format: String.t()}

Link to this section Functions

Returns a standard semi-iso datetime format.

Returns a semi-ISP date format only month and year (YYYY-MM)

Returns a semi-ISO date format (YYYY-MM-DD).

Link to this function

get_stylexml_entry(numfmt, idx)

View Source

Returns a style XML entry.

In contrast to most (all?) other entries in styles.xml, numFmts actually carry their index in each element; probably to avoid confusion with the built-in styles. Therefore, get_stylexml_entry requires a second parameter here.