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

Border styling properties

Link to this section Summary

Functions

Generate xml entry for border group

Link to this section Types

Specs

t() :: %Elixlsx.Style.BorderStyle{
  bottom: Elixlsx.Style.Border.t(),
  diagonal: Elixlsx.Style.Border.t(),
  diagonal_down: boolean(),
  diagonal_up: boolean(),
  left: Elixlsx.Style.Border.t(),
  right: Elixlsx.Style.Border.t(),
  top: Elixlsx.Style.Border.t()
}

Link to this section Functions

Link to this function

get_border_style_entry(border)

View Source

Specs

get_border_style_entry(t()) :: String.t()

Generate xml entry for border group

Examples

iex> Elixlsx.Style.BorderStyle.get_border_style_entry Elixlsx.Style.BorderStyle.from_props top: [style: :dash_dot, color: "#eeccaa"] "<border diagonalUp=\"false\" diagonalDown=\"false\">\n <left></left><right></right><top style=\"dashDot\"><color rgb=\"FFEECCAA\" /></top><bottom></bottom><diagonal></diagonal>\n</border>\n"