解决方法
对于编写/导出xlsx文件的任务,Axlsx是我发现的功能最完整的库.不过,它不支持读取/导入xlsx文件.
https://github.com/randym/axlsx
以下是作者的描述:
xlsx generation with charts,images,automated column width,customizable styles and full schema validation. Axlsx excels at helping you generate beautiful Office Open XML Spreadsheet documents without having to understand the entire ECMA specification. Check out the README for some examples of how easy it is. Best of all,you can validate your xlsx file before serialization so you know for sure that anything generated is going to load on your client’s machine.