Class: makeXlsx

makeXlsx

new makeXlsx(genobj, new_type, options, gen_private, type_info)

Extend officegen object with XLSX support. This method extending the given officegen object to create XLSX document.
Name Type Description
genobj object The object to extend.
new_type string The type of object to create.
options object The object's options.
gen_private object Access to the internals of this object.
type_info object Additional information about this type.

Methods

innercbCellToNumber(cell_string, ret_also_column)

Translate from the Excel displayed row name into index number.
Name Type Description
cell_string string Either the cell displayed position or the row displayed position.
ret_also_column boolean ???.
Returns:
The cell's row Id.

innercbMakeXlsApp(data)

???.
Name Type Description
data object Ignored by this callback function.
Returns:
Text string.

innercbMakeXlsSharedStrings(data)

Create the shared string resource. This resource holding all the text strings of any Excel document.
Name Type Description
data object Ignored by this callback function.
Returns:
Text string.

innercbMakeXlsSheet(data)

???.
Name Type Description
data object The main sheet object.
Returns:
Text string.

innercbMakeXlsStyles(data)

???.
Name Type Description
data object Ignored by this callback function.
Returns:
Text string.

innercbMakeXlsWorkbook(data)

???.
Name Type Description
data object Ignored by this callback function.
Returns:
Text string.

innercbNumberToCell(cell_number)

???.
Name Type Description
cell_number object ???.
Returns:
???.

innercbPrepareXlsxToGenerate()

Prepare everything to generate XLSX files. This method working on all the Excel cells to find out information needed by the generator engine.