Page 1 of 1

Report word doc output different than pdf / screen output

Posted: Tue Jun 07, 2016 12:36 pm
by dan79
I have a report that has three bands. Each band has a subreport, which I'm conditionally hiding (through the events options) depending on whether they have data or not. Everything works fine there.

The issue comes when I export to word. For some reason, it no longer looks it's responding to the new page after property. I set that to true, so that each report shows on a new page. But it doesn't work in word, while it does in PDF and on the screen.

Any suggestions? Thanks.

[Solved]

Posted: Tue Jun 07, 2016 2:04 pm
by dan79
Just noticed this post: http://forum.stimulsoft.com/viewtopic.p ... 95&p=61804

Unfortunately, that still doesn't solve my problem. How do I set the "Remove empty space at bottom of the page property" programmatically? Asking the user to deselect that every time is a non-starter.

*Edit* Figured out there's a static StiOptions class that has RemoveEmptySpaceAtBottom in each of the Export classes (ala StiOptions.Export.Excel.RemoveEmptySpaceAtBottom = false).

Re: Report word doc output different than pdf / screen outpu

Posted: Wed Jun 08, 2016 11:33 am
by HighAley
Hello.

It's great, that you solved your issue.
Please, let us know if you need our help.

Thank you.