issue with export to word 2007/2010

Stimulsoft Ultimate discussion
Post Reply
pdt1704
Posts: 60
Joined: Tue Nov 15, 2011 9:12 pm

issue with export to word 2007/2010

Post by pdt1704 »

I show report is OK (my report has 499 pages) , When I choose Save in menu and save to PDF, it run OK, export file (PDF) has 499 pages, but I save to Word 2007/2010, the total page was reduce (142 pages). I see it was merge page. Please help.

Attachments
1679.RPT_ThuCamOn.mrt
(9.5 KiB) Downloaded 197 times
1678.A3.jpg
1678.A3.jpg (81.95 KiB) Viewed 2403 times
1677.A2.jpg
1677.A2.jpg (65.97 KiB) Viewed 2403 times
1676.A1.jpg
1676.A1.jpg (54.51 KiB) Viewed 2403 times
pdt1704
Posts: 60
Joined: Tue Nov 15, 2011 9:12 pm

issue with export to word 2007/2010

Post by pdt1704 »

I see that, if I used tag html ( and in my report file) and export, I receive error, but I remove tag html and export, it run OK. Please help
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

issue with export to word 2007/2010

Post by Ivan »

Hello,

You need to add your own method, for example:

Code: Select all

        public void SetExportProperty(object sender, StiExportDataEventArgs args)
        {
            if (args.Settings is StiWord2007ExportSettings)
            {
                (args.Settings as StiWord2007ExportSettings).RemoveEmptySpaceAtBottom = false;
            }
        }
Then you can use this method in the PageLoad event:

Code: Select all

		StiWebViewer1.ReportExport += new Stimulsoft.Report.Web.StiExportDataEventHandler(SetExportProperty);
or add property for the StiWebViewer on the aspx-page:

Code: Select all

        
Thank you.
pdt1704
Posts: 60
Joined: Tue Nov 15, 2011 9:12 pm

issue with export to word 2007/2010

Post by pdt1704 »

Thanks, My issue was resolved.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

issue with export to word 2007/2010

Post by Alex K. »

Hello,

Ok.
Let us know if you need any additional help.

Thank you.
Post Reply