lucgrass Posted October 30 Posted October 30 I want to export a Jasper report with a simple table to Microsoft Word. I encountered a formatting issue with the table starting from MS Word version 2409, while in earlier versions, the layout appears correct. I tried different Jasper versions (6.20.1, 6.23.1, and 7.0.1), but the issue persists. Here are the details: In Jaspersoft Studio, the table displays correctly in the preview. When I export the table to Word (.docx) and open it in a Word version prior to 2409, the layout matches the preview in Jaspersoft Studio (first image attached). However, in Word version 2409, the result changes significantly: the column widths are altered, making the report less readable (second image attached). I would like to know if this is a known issue and if there are any solutions to resolve it. Thanks in advance.
Marek D. Posted November 23 Posted November 23 I have been facing the same issue since Microsoft released version 2409 of MS Office Word. Unfortunately, there doesn’t seem to be a workaround yet. I re-posted the issue on the forum, hoping it will be resolved soon, but unfortunately, I think it’s a bug on Microsoft’s side, not the Jasper team’s.
Bruno Guima Posted November 26 Posted November 26 Hello. I have been facing the same problem. I tried to set 2 property: <property name="net.sf.jasperreports.export.docx.frames.as.nested.tables" value="false"/> <property name="net.sf.jasperreports.export.docx.table.fitColumns" value="true"/> Try that to see if it helps you.
Teodor Danciu - Staff Posted Tuesday at 02:12 PM Posted Tuesday at 02:12 PM Hi, This has been addressed here: https://github.com/TIBCOSoftware/jasperreports/issues/494 Same topic as this one: I hope this helps. Teodor
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now