Xlsxir v1.2.0 Xlsxir.Style
An Erlang Term Storage (ETS) process named :styles
which holds state for data parsed from styles.xml
. Provides functions to create the process, add and retreive data,
and ultimately kill the process. Also includes a temporary Agent process named NumFmtIds
which is utilized during the parsing of the styles.xml
file to temporarily
hold state of each NumFmtId
contained within the file.
Summary
Functions
Adds a numFmtId
to the NumFmtIds
Agent process
Stores a style type at a given index in the ETS process
Validates whether the ETS process is active, returning true or false
Deletes the ETS process from memory
Deletes NumFmtIds
Agent process
Returns a style type at a given index of the ETS process
Returns a list of numFmtId
s stored in the NumFmtIds
Agent process
Initializes new ETS process with [:set, :protected, :named_table]
options. Additionally, initiates an Agent process to temporarily hold numFmtId
s for Xlsxir.ParseStyle
Functions
Initializes new ETS process with [:set, :protected, :named_table]
options. Additionally, initiates an Agent process to temporarily hold numFmtId
s for Xlsxir.ParseStyle
.