xlsx format without the com server?
1 ビュー (過去 30 日間)
回答 (2 件)
Andrew Janke 2020 年 1 月 31 日
You need to use a third-party library like Apache POI to do this.
Coincidentally, I'm writing an Office IO API to support use cases like this. It runs on Apache POI, so it'll work on Linux and is suitable for server-side automation. It supports setting column widths and other sheet formatting.
This library is still in preview, but the basic Excel functionality, including column widths and row heights, is working.