Page 1 of 1

issue with export to word 2007/2010

Posted: Thu Feb 23, 2012 8:11 am
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.


issue with export to word 2007/2010

Posted: Fri Feb 24, 2012 12:16 am
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

issue with export to word 2007/2010

Posted: Fri Feb 24, 2012 4:14 am
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.

issue with export to word 2007/2010

Posted: Mon Feb 27, 2012 2:38 am
by pdt1704
Thanks, My issue was resolved.

issue with export to word 2007/2010

Posted: Mon Feb 27, 2012 3:52 am
by Alex K.
Hello,

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

Thank you.