Elixlsx.Compiler.StringDB (elixlsx v0.6.0) View Source

Strings in XLSX can be stored in a sharedStrings.xml file and be looked up by ID. This module handles collection of the data in the preprocessing phase.

Link to this section Summary

Link to this section Types

Specs

t() :: %Elixlsx.Compiler.StringDB{
  element_count: non_neg_integer(),
  strings: %{required(String.t()) => non_neg_integer()}
}

Link to this section Functions

Link to this function

register_string(stringdb, s)

View Source

Specs

register_string(t(), String.t()) :: t()
Link to this function

sorted_id_string_tuples(stringdb)

View Source