Export to Word - Fixed Row Heights

Stimulsoft Reports.Silverlight discussion
Locked
mriggall
Posts: 57
Joined: Mon May 07, 2012 7:41 pm
Location: Melbourne

Export to Word - Fixed Row Heights

Post 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
Attachments
MS Word table properties - Row Height
MS Word table properties - Row Height
Capture.PNG (19.79 KiB) Viewed 2657 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to Word - Fixed Row Heights

Post by HighAley »

Hello.

Please, try to set next static option:

Code: Select all

StiOptions.Export.Word2007.LineHeightExactly = false;
Thank you.
mriggall
Posts: 57
Joined: Mon May 07, 2012 7:41 pm
Location: Melbourne

Re: Export to Word - Fixed Row Heights

Post 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
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to Word - Fixed Row Heights

Post by HighAley »

Hello, Matt.

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

Thank you.
Locked