-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BIRT 4.14 XLSX column autofit worse than in 4.8 #1553
Comments
I have checked your case and yes there is a different behavior. For my it is a little bit strange the behavior at all because normally the auto-fit should be work only with configured Emitter-property also in the old versions. The default setting is deactivated auto-fit. The source-code wasn't changed there. Therefore I mean it is a little bit strange. The class where I do some testings are "AbstractRealTableHandler.endTable()" and I try to optimize it. |
Created PR for improve the column auto fit handling PR #1557 |
@reiner-killet |
Fix/Improvement is pushed to BIRT master. |
Hi,
in 4.8 there was a helpful autofit of columns in XLSX output.
The respective value had to be characterized as "Preformatted".
The table column hat to be without column width.
Under the above conditions it optimized column width and height.
In 4.14 the line height is adapted like in 4.8 according to the line breaks in the cells.
But the width is not adequately resized.
The workaround would be: working with static column sizes but actually it a a loss of functionality.
Enclosed please find a report of 4.8:
Output Price List 4.8.xlsx
Here is a report of 4.14:
Output Price List 4.14.xlsx
Here is the data with pictures:
PsaRptPli.zip
And last the template (still in 4.8 mode):
PSA_RPT_PLI_ENG.zip
Or is there another method to optimze column width which I did not know?
Thanks, Reiner
The text was updated successfully, but these errors were encountered: