Overview
Problem
After you export a Word file with the default setting of FineReport, fixed row heights are applied to cells. In this case, when you perform secondary editing on the exported Word file, the row height in the table will not be adjusted automatically after line breaks, as shown in the following figure.
How to achieve automatic adjustment of row heights when performing secondary editing on an exported Word file?
Implementation Method
The Export at Unfixed Row Height function is added under Template > Export Attribute in FineReport 7.0.5 and later versions. allowing you to control whether the row height can be adjusted in an exported Word file.
Example
Open the template Details.cpt in %FR_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\Primary\DetailReport.
Select Pagination Preview, and choose Export > Word. When performing secondary editing on the exported Word file, you can see the effect shown in the above figure. The row heights of the exported table are not adjustable and remain consistent with those in the FineReport template.
Export Attribute Setting
Return to the template, choose Template > Export Attribute, and tick Export at Unfixed Row Height on the WordExport Attribute panel, as shown in the following figure.
Effect Display
PC
Save the template, select Pagination Preview, export the Word file from the browser, and perform secondary editing on the Word file. You can see that the row height of the table will automatically change after the line break, as shown in the following figure.

Mobile Terminal
The template cannot be previewed on mobile terminals currently.
Template Download
For details, you can download the template Auto Row Height Adjustment During Word Export.cpt.