30.11.2016, 08:34
LM packages:
https://dl.openrb.com/lm-16.09/pkg/luazlib_0.5_mxs.ipk
https://dl.openrb.com/lm-16.09/pkg/luast....4_mxs.ipk
https://dl.openrb.com/lm-16.09/pkg/luazi....5_mxs.ipk
https://dl.openrb.com/lm-16.09/pkg/luaxl....6_mxs.ipk
LB packages:
https://dl.openrb.com/lm-16.09/pkg-lb/lu....5_x86.ipk
https://dl.openrb.com/lm-16.09/pkg-lb/lu....4_x86.ipk
https://dl.openrb.com/lm-16.09/pkg-lb/lu....5_x86.ipk
https://dl.openrb.com/lm-16.09/pkg-lb/lu....6_x86.ipk
Demo code, will produce demo.xlsx in FTP root directory:
https://dl.openrb.com/lm-16.09/pkg/luazlib_0.5_mxs.ipk
https://dl.openrb.com/lm-16.09/pkg/luast....4_mxs.ipk
https://dl.openrb.com/lm-16.09/pkg/luazi....5_mxs.ipk
https://dl.openrb.com/lm-16.09/pkg/luaxl....6_mxs.ipk
LB packages:
https://dl.openrb.com/lm-16.09/pkg-lb/lu....5_x86.ipk
https://dl.openrb.com/lm-16.09/pkg-lb/lu....4_x86.ipk
https://dl.openrb.com/lm-16.09/pkg-lb/lu....5_x86.ipk
https://dl.openrb.com/lm-16.09/pkg-lb/lu....6_x86.ipk
Demo code, will produce demo.xlsx in FTP root directory:
Code:
writer = require('xlsxwriter.workbook')
workbook = writer:new('/home/ftp/demo.xlsx')
worksheet = workbook:add_worksheet()
worksheet:set_column('A:A', 20)
bold = workbook:add_format({bold = true})
worksheet:write('A1', 'Hello')
worksheet:write('A2', 'World', bold)
worksheet:write(2, 0, 123)
worksheet:write(3, 0, 123.456)
workbook:close()