2016-05-25 03:26:43 +00:00
|
|
|
var X = require('../');
|
2015-08-11 21:23:56 +00:00
|
|
|
var opts = { cellNF: true,
|
|
|
|
type: 'file',
|
|
|
|
cellHTML: true,
|
|
|
|
cellFormula: true,
|
|
|
|
cellStyles: false,
|
|
|
|
cellDates: false,
|
|
|
|
sheetStubs: false,
|
|
|
|
sheetRows: 0,
|
|
|
|
bookDeps: false,
|
|
|
|
bookSheets: false,
|
|
|
|
bookProps: false,
|
|
|
|
bookFiles: false,
|
|
|
|
bookVBA: false,
|
|
|
|
WTF: false }
|
|
|
|
;
|
|
|
|
var FILENAME = './test_files/number_format_entities-2.xlsx';
|
|
|
|
wb = X.read(X.write(X.readFile(FILENAME,opts), {type:"buffer", bookType:'xlsx'}), {WTF:true, cellNF: true})
|
|
|
|
|
|
|
|
X.writeFile(wb,'/tmp/wb3.xlsx');
|