ReportTitleBand export wrong to word

Stimulsoft Reports.NET discussion
Post Reply
rksaskia
Posts: 58
Joined: Fri Apr 27, 2012 9:16 am

ReportTitleBand export wrong to word

Post by rksaskia »

Hallo,

our report has a ReportTitleBand with heigth = 0,0 (used for event trigger - before print).
Report is ok, but the export to word produce a 1 cm blank space at the top of the page. This is the reason, why the export 2 pages needed.
word1.JPG
word1.JPG (110.92 KiB) Viewed 1795 times
see sample report.

Do you have a solution?

Thank you.
Attachments
WordExport.zip
(7.87 KiB) Downloaded 182 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ReportTitleBand export wrong to word

Post by HighAley »

Hello.

This issue is connected with using Overlay band.
Did you make the report in 2014.3.0 build?
We see that the Overlay band has GUID.
If to create such report there is no GUID for Overlay.
Please, try to remove Overlay GUID from mrt-file manually.

Thank you.
rksaskia
Posts: 58
Joined: Fri Apr 27, 2012 9:16 am

Re: ReportTitleBand export wrong to word

Post by rksaskia »

Hello,

yes, we used 2014.3.
yes, we have a Overlay-band.
yes, the Overlayband have gui, because we used it to display a text at the left page border

I can confirm, that without overlay-band the export to word is correct.
I have removed the gui from the overlay-band. The empty overlay-band produced also the issue.

For all readers:
When the vertical Alignment of the overlay-band is set to Center, the issue don't occurs.
Set to bottom. the empty space is at the bottom of the page.

Bug or feature?

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ReportTitleBand export wrong to word

Post by Alex K. »

Hello,

GUID is the internal field of the component. It can be seen if you open an .mrt file in a text editor. For OverlayBand it is not filled but in your file it is somehow filled and the component is not considered an empty one and exported. If you create a new OverlayBand its GUID field will be empty (as it should be). So try to create a new OverlayBand and move the text box to it, and remove the old band.

Thank you.
rksaskia
Posts: 58
Joined: Fri Apr 27, 2012 9:16 am

Re: ReportTitleBand export wrong to word

Post by rksaskia »

Hello Aleksey,

with the new overlayBand it works correct.

Thanks a lot!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ReportTitleBand export wrong to word

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply