Page 1 of 1

Export to Word - Fixed Row Heights

Posted: Mon Mar 02, 2015 7:50 am
by mriggall
Hi there

When you export a report to MS Word, it sets the row heights as fixed height. This means that a user who wants to edit the exported MS Word document cannot enter more text without it disappearing off the bottom of the row.

You can see from the attachment that the Row Height is specified, where if the row height wasn't specified or if it was set to "At Least" then the user could modify the MS Word content without it getting cut off.

How can we set the properties of the text control so that it doesn't export with a fixed row height?

thanks

Matt

Re: Export to Word - Fixed Row Heights

Posted: Mon Mar 02, 2015 12:31 pm
by HighAley
Hello.

Please, try to set next static option:

Code: Select all

StiOptions.Export.Word2007.LineHeightExactly = false;
Thank you.

Re: Export to Word - Fixed Row Heights

Posted: Tue Mar 03, 2015 10:16 am
by mriggall
Thanks Aleksey for the quick reply!

Is this possible to write into the export events of the report, or it needs to be done in code?

thanks

Matt

Re: Export to Word - Fixed Row Heights

Posted: Tue Mar 03, 2015 11:52 am
by HighAley
Hello, Matt.

You can set this option in the Exporting event of the report.

Thank you.