From e7b06d7a62130414011b02c9e4c7da937a1b6b21 Mon Sep 17 00:00:00 2001 From: Pieter Sheth-Voss Date: Fri, 26 Jun 2015 13:07:56 -0400 Subject: [PATCH] Remove lab, .idea, test-csv, test-acid, etc. from repo --- .DS_Store | Bin 12292 -> 0 bytes .idea/scopes/scope_settings.xml | 5 ---- lab/wb/xl/styles-1.xml | 0 test-acid.js | 20 --------------- test-csv.js | 43 -------------------------------- test-open.js | 8 ------ 6 files changed, 76 deletions(-) delete mode 100644 .DS_Store delete mode 100644 .idea/scopes/scope_settings.xml delete mode 100644 lab/wb/xl/styles-1.xml delete mode 100644 test-acid.js delete mode 100644 test-csv.js delete mode 100644 test-open.js diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 575a0499c1a6fd68f1bdb95de98723abddd8e212..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12292 zcmeHMTWl3Y7@n^!WtZ-uTPWC8OO7^y8cRIfp%{C5L9BpOPfJ@U)N{@*?aFqyp54?4s)5!f;qia zgJM82pcqgLCA|XY-^Lxc8-1<%$8t!2gl~{(gwl!!a4*ghcV`piG1SgggWg ziOLiQ2%mU_$p|MT3RfCaMh}Qw5rr6#?qrYi?u5w*CnQRD2IvHfva9K;^aT6XWCNTe?=g zVolSwjDPsZ(PNJvf8xYRxn)GJ4OTIWf>VX|?*=0sa{ooAr}lqwdjAW`jM&00cWtdS z+IyU=@1>kWcE4F35CQE}?a0|9VzU+5w42Sl>CkR=UEV3^&iZbC$P0MyY|eMx4nJ^0 z$M<@BLi=DiHP8%G&+fp_g{{J|-!$`qeZNg(IwN))jZ8x=;=EDTL>|8)tmrTg5 z>e|Wjs@j{E-CQ>BV$tHtC5Ew^DE2~UzhmdRMmf*D=^$%+mg5a{k2ryoaqUho zJ!Ds)LDz*>bxq9ZvuM5@zQz44^Q1fovnjVUO*q_A7c)8o+OwICIyqC!COJ=a$$Cjwodm{olix|TY&qM= zwzE$9vgNZ!*m3qUJHy^*=hz4AGxim`#C~8uv&-x^_B;Cn3_6yg3e~7V9d1VgtI&uh zG@}Kr*pB;kn3BJI2T);(q zkDu@hF3aT=P3ifbspU$&B+m zX>H6B#FerXT9jfFBAgPL(D@8yPgd95cvI~%k|t@@K3GUd=6rrSG|`*H9y2weKkmGu zo~lK3LZr1}Wy~;(#W~;WmI~?fYH}G_8J!niX{)D! zpy_|5+rLrmm+WiyBUdbdQY^$`#BnQWbsgz+E80n=J8&<$(ThFk!(P(qARfd4xX5Fa z)Ov{Y`Y5UO2#(?yp22f?9xvcUyn-~X?5c;%-UPz?MF7(hu|s;z|LS575IC?>8Y)xKJj-aY7M}6HfobkjioD%6*a%PDrE{O8@wW0RG3Oy8qSvFVv?p k#eiZ!F`yVw3@8Q^1BwB~fMP%~pcqgLC - - - \ No newline at end of file diff --git a/lab/wb/xl/styles-1.xml b/lab/wb/xl/styles-1.xml deleted file mode 100644 index e69de29..0000000 diff --git a/test-acid.js b/test-acid.js deleted file mode 100644 index 4ac7f48..0000000 --- a/test-acid.js +++ /dev/null @@ -1,20 +0,0 @@ -var X = require('./'); -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'); diff --git a/test-csv.js b/test-csv.js deleted file mode 100644 index 44f862f..0000000 --- a/test-csv.js +++ /dev/null @@ -1,43 +0,0 @@ -var argv = require('minimist')(process.argv.slice(2)); - -var XLSX = require('./'); -var fs = require('fs') -var INFILE = './test_files/pivot_table_test.xlsm'; -var TESTFILE = './test_files/pivot_table_test.xlsm.'; -//var INFILE = './test_files/formula_stress_test.xlsb'; -//var TESTFILE = './test_files/formula_stress_test.xls.'; -var INFILE ='./test_files/apachepoi_Tables.xlsx'; -var TESTFILE='./test_files/apachepoi_Tables.xlsx.'; -var INFILE = './test_files/apachepoi_45540_classic_Footer.xlsx'; -var TESTFILE = './test_files/apachepoi_45540_classic_Footer.xlsx.'; -var SHEET=argv.p || 0; - -function stripbom(x) { return x.replace(/^\ufeff/,""); } -function fixcsv(x) { return stripbom(x).replace(/\t/g,",").replace(/#{255}/g,"").replace(/"/g,"").replace(/[\n\r]+/g,"\n").replace(/\n*$/,""); } - - -wb = XLSX.readFile(INFILE, {cellNF: true}); - -//XLSX.writeFile(wb, '/tmp/test-csv.xlsx'); -//var wb = XLSX.readFile('/tmp/test-csv.xlsx', {cellNF: true}); - -wb = XLSX.read(XLSX.write(wb, {type:"buffer", bookType:'xlsx'}), {cellNF: true}) - - -var csv = fixcsv(XLSX.utils.make_csv(wb.Sheets[wb.SheetNames[SHEET]])) -console.log('==================') -console.log( csv); -console.log('------------') -var exp = fixcsv(fs.readFileSync(TESTFILE + SHEET+ '.csv','utf8')) -console.log(exp) -console.log('.............') -console.log(csv==exp); - -console.log(csv.length, exp.length) -if (argv.d) { -for (var i=0; i