I am writing a tool in Java using Apache POI API to convert an XML to MS Excel. In my XML input, I receive the column width in points. But the Apache POI API has a slightly
With Scala there is a nice Wrapper spoiwo
You can do it like this:
Workbook(mySheet.withColumns( Column(autoSized = true), Column(width = new Width(100, WidthUnit.Character)), Column(width = new Width(100, WidthUnit.Character))) )