elixlsx v0.0.5 Elixlsx.Compiler.StringDB

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.

Summary

Types

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

Functions

get_id(stringdb, s)
register_string(stringdb, s)
sorted_id_string_tuples(stringdb)