Thibaud430 opened a new issue, #892: URL: https://github.com/apache/poi/issues/892
Using XSSF Workbook (not tested with other types), autoSizeColumn(int column) method seems to behave differently since last version 5.4.1. No change in code results in columns not being resized properly since the update to the new apache-poi version. Before the update (version 5.4.0), columns were correctly resized with a few pixels missing. After the update, columns are not resized anymore and stay shrinked. **To be noted :** - Problem appears when opening .xlsx file with Excel (both offline and online versions) - Seems to work fine when opening the file with LibreOffice Browsing the changelog of the version, nothing seems to mention any change related to column sizing. Do you have any idea of what could have changed between the versions or how to handle the issue ? Please let me know if you need a minimalist version of code or any other information. So far, we were only following the guidance of populating the sheet first and only then, at the end of our treatment, iterate over all columns and apply autoSiteColumn() to each of them. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org