Report word doc output different than pdf / screen output

Stimulsoft Reports.WPF discussion
Post Reply
dan79
Posts: 3
Joined: Tue Jun 07, 2016 12:25 pm

Report word doc output different than pdf / screen output

Post 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.
dan79
Posts: 3
Joined: Tue Jun 07, 2016 12:25 pm

[Solved]

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

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

Post by HighAley »

Hello.

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

Thank you.
Post Reply