在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jmcnamara/xlsxwriter.lua开源软件地址(OpenSource Url):https://github.com/jmcnamara/xlsxwriter.lua开源编程语言(OpenSource Language):Lua 78.5%开源软件介绍(OpenSource Introduction):Xlsxwriter for LuaA Lua module for creating Excel XLSX files. Note: this module is no longer maintained. It is functional and if it meets your requirements then please use it. However, no new features will be added. The xlsxwriter moduleXlsxwriter is a Lua module that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file. It supports features such as:
It works with Lua 5.1 and Lua 5.2. Here is an example: --
-- A simple example of some of the features of the xlsxwriter module.
--
local Workbook = require "xlsxwriter.workbook"
local workbook = Workbook:new("demo.xlsx")
local worksheet = workbook:add_worksheet()
-- Widen the first column to make the text clearer.
worksheet:set_column("A:A", 20)
-- Add a bold format to use to highlight cells.
local bold = workbook:add_format({bold = true})
-- Write some simple text.
worksheet:write("A1", "Hello")
-- Text with formatting.
worksheet:write("A2", "World", bold)
-- Write some numbers, with row/column notation.
worksheet:write(2, 0, 123)
worksheet:write(3, 0, 123.456)
workbook:close()
See the full documentation at: http://xlsxwriterlua.readthedocs.org Release notes: http://xlsxwriterlua.readthedocs.org/changes.html |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论