On this page
Run use with the engine's formula text operations, in one engine
session. XLSX codecs can run before initSheetwrite(): an initialized
document lends its engine, and otherwise a temporary instance releases its
memory when use returns.
Declaration
function withXlsxFormulaEngine < T >(
Parameters
Called once with the formula operations; do not keep them after it returns.
Returns
Promise<T>
A promise of what use returned.
interface XlsxFormulaEngine {
convert(
formulas: string[],
direction: "import" | "export",
): string[];
arrayFormulas(formulas: string[]): Uint32Array;
lexes(formula: string): boolean;
copy(formula: string, rowDelta: number, colDelta: number): string;
} interface XlsxFormulaEngine {
convert (
formulas: string [],
direction: "import" | "export" ,
): string [];
arrayFormulas ( formulas: string []): Uint32Array ;
lexes ( formula: string ): boolean ;
copy ( formula: string , rowDelta: number , colDelta: number ): string ;
} interface XlsxFormulaEngine {
convert (
formulas: string [],
direction:
"import" | "export" ,
): string [];
arrayFormulas (
formulas: string [],
): Uint32Array ;
lexes ( formula: string ): boolean ;
copy (
formula: string ,
rowDelta: number ,
colDelta: number ,
): string ;
} The engine's formula text operations that one XLSX read or write uses. API reference On this page