https://bz.apache.org/bugzilla/show_bug.cgi?id=69833
Bug ID: 69833
Summary: [POI 5.4.1] AutoSizeColumn is not working in Docker
Image Debian Slim edition
Product: POI
Version: 5.4.1-FINAL
Hardware: PC
OS: other
Status: NEW
Severity: regression
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
We are using the Apache POI library 5.4.1 version to convert an XML context to
an Excel file, in which the conversion is happening. But, the method
"sheet.autoSizeColumn(i, true)" is not working in the Groovy script when the
execution happens on a Docker image "Debian Slim" edition.
We have checked the source code of the POI library, and it does the calculation
of the column width based on the values present in the cell of each row of a
column. With these analyses, we are unsure why the output Excel contains
columns of different sizes.
We have also tried setting column size with a fixed value using the method
"sheet.setColumnWidth(i, 20*256)", and that works fine.
It looks like the issue is only with the method "autoSizeColumn".
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]